Nats Mcp

@sinadarbouy Claim

Basic information

Runtime
Go
Category
License
Apache-2.0
Transports
stdio
Author
sinadarbouy
Submitted by
Community
Quality
25
Stars
53

About 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 standardized interface. It exposes a comprehensive set of tools for interacting with NATS servers, making it ideal for AI-po

Nats Mcp is a MCP server in the Other category listed in the AddMCP.net directory, published by sinadarbouy. Supported transport: stdio. Runtime: Go. License: Apache-2.0. The repository has 53 GitHub stars. Source code is hosted on github.com. Related topics: mcp-server, nats, nats-io, natscli.

Setup

{
    "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>"
            }
        }
    }
}

Nats Mcp config

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>"
            }
        }
    }
}

Nats Mcp tools

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.

Overview

What is Nats Mcp?

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.

How to use Nats Mcp?

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.

Key features of Nats Mcp

  • Supports both stdio and SSE transports
  • Base64‑encoded NATS credentials per account
  • Configurable logging (debug/info/warn/error, JSON output)
  • Docker‑ready deployment
  • VSCode and Cursor integration examples provided

Frequently asked questions

1 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).

2 What transport types are available?

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).

3 How do I configure logging?

Use --log-level to set level (debug, info, warn, error; default info) and --json-logs to output logs in JSON format (default false).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬