NATS provides an MCP (Model Context Protocol) server that grants access to the NATS messaging system via the NATS CLI. This allows AI agents to publish messages with advanced options like headers, templates, and reply subjects; subscribe to subjects with configurable timeouts and message counts; and leverage the request-reply pattern, all while ensuring robust error handling and cleanup.