MCP.so
登录

Nats MCP Server

@sinadarbouy

基本信息

分类

其他

传输方式

stdio

作者

sinadarbouy

提交者

Sina Darbouy

关于 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#natscli

Nats MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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 Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

Use cases of Nats Mcp

—

常见问题

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

评论

其他 分类下的更多 MCP 服务器