MCP Nats MCP Server

This project provides a Model Context Protocol (MCP) server for NATS, enabling AI models and applications to interact with NATS messaging systems

Local serverstdioGo

What is the MCP Nats MCP Server?

This project provides a Model Context Protocol (MCP) server for NATS, enabling AI models and applications to interact with NATS messaging systems through a

The short version

  • Server Management (Read-only Operations)
  • List and inspect NATS servers
  • Server health monitoring and ping
  • Server information retrieval
  • Round-trip time (RTT) measurement
  • Stream Operations (Read-only Operations)

What it needs from you

  • Go 1.25 or later - NATS server (accessible via URL) - NATS credentials for authentication - MCP-compatible client (e.g., Claude Desktop, or other MCP clients)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Go 1.25 or later - NATS server (accessible via URL) - NATS credentials for authentication - MCP-compatible client (e.g., Claude Desktop, or other MCP clients)
VariableDescriptionRequired
NATS_URLEndpoint or connection string the server talks to.Yes
NATS_SYS_CREDSConfiguration value read at startup.Optional
NATS_A_CREDSConfiguration value read at startup.Optional
NATS_NO_AUTHENTICATIONConfiguration value read at startup.Optional
NATS_USERConfiguration value read at startup.Optional
NATS_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP Nats to Prerequisites.”

Frequently asked questions

This project provides a Model Context Protocol (MCP) server for NATS, enabling AI models and applications to interact with NATS messaging systems through a Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.