What environment variables are required?
`NATS_URL` (e.g., `nats://localhost:4222`) is required. Optional `NATS_<ACCOUNT>_CREDS` variables hold base64‑encoded credentials for each account (e.g., `NATS_SYS_CREDS`).
@sinadarbouy
Basic information
This project provides a Model Context Protocol (MCP) server for NATS, enabling AI models and applications to interact with NATS messaging systems through a standardized interface. It exposes a comprehensive set of tools for interacting with NATS servers, making it ideal for AI-po
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"nats": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"NATS_URL",
"-e",
"NATS_SYS_CREDS",
"cnadb/mcp-nats",
"--transport",
"stdio"
],
"env": {
"NATS_SYS_CREDS": "<base64 of SYS account creds>",
"NATS_URL": "<nats url>"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Nats Mcp is an MCP server that connects AI assistants to the NATS messaging system. It is for developers who want to interact with NATS servers through Model Context Protocol clients.
Install via go install or build from source, then run with required environment variables (NATS_URL, optional NATS_<ACCOUNT>_CREDS). Configure transport (stdio or SSE), log level, and logging format via command line flags.
—
`NATS_URL` (e.g., `nats://localhost:4222`) is required. Optional `NATS_<ACCOUNT>_CREDS` variables hold base64‑encoded credentials for each account (e.g., `NATS_SYS_CREDS`).
The `--transport` flag accepts `stdio` (default) or `sse`. With SSE, the server listens on the address specified by `--sse-address` (default `0.0.0.0:8000`).
Use `--log-level` to set level (`debug`, `info`, `warn`, `error`; default `info`) and `--json-logs` to output logs in JSON format (default `false`).

Model Context Protocol Servers
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
🚀 The fast, Pythonic way to build MCP servers and clients.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments