NATS

by daanrongen

Not rated
GitHub

About

MCP server for NATS — publish, request-reply, JetStream streams, KV store, and server diagnostics over stdio

Details

Author
daanrongen
Categories
Communication, Infrastructure

Setup

Install NATS in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/daanrongen/nats-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

MCP server forNATS— publish messages, request-reply, manage JetStream streams, use the KV store, and inspect server diagnostics over stdio.

Edit~/Library/Application Support/Claude/claude_desktop_config.json:

{ "mcpServers": { "nats": { "type": "stdio", "command": "bunx", "args": ["@daanrongen/nats-mcp"], "env": { "NATS_URL": "nats://localhost:4222" } } } }
claude mcp add nats -e NATS_URL=nats://localhost:4222 -- bunx @daanrongen/nats-mcp
bun install bun run dev # run with --watch bun test # run test suite bun run lint # lint and check formatting bun run typecheck # type check bun run build # bundle to dist/main.js bun run inspect # open MCP Inspector in browser

bun run inspectlaunches theMCP Inspectoragainst the local build:

bun run build && bun run inspect

This opens the Inspector UI in your browser where you can call any tool interactively and inspect request/response shapes.

src/ ├── config.ts # Effect Config — NATS_URL ├── main.ts # Entry point — ManagedRuntime + StdioServerTransport ├── domain/ │ ├── NatsClient.ts # Context.Tag service interface │ ├── errors.ts # NatsError, KvNotFoundError, StreamNotFoundError │ └── models.ts # Schema.Class models (NatsMessage, StreamInfo, KvEntry, …) ├── infra/ │ ├── NatsClientLive.ts # Layer.scoped — connects via nats.js, drains on shutdown │ └── NatsClientTest.ts # In-memory Ref-based test adapter └── mcp/ ├── server.ts # McpServer wired to ManagedRuntime ├── utils.ts # formatSuccess, formatError └── tools/ # core.ts, streams.ts, kv.ts, server.ts

An MCP server for integrating with the NATS messaging system.

Manage and interact with Microsoft Azure services.

The IBM Instana MCP server enables seamless interaction with the IBM Instana observability platform, allowing you to access real-time observability data directly within your development workflow.

Query and interact with kubernetes environments monitored by Metoro

Integrates with Alibaba Cloud APIs to manage resources like ECS, Cloud Monitor, and OOS.

Provides a unified interface to AWS services for security investigations and incident response.

Interact with your AWS environment using natural language to query and manage resources. Requires local AWS credentials.

Interact with your AWS environment using natural language. Requires local AWS credentials.

Execute AWS CLI commands through the Model Context Protocol (MCP). Requires AWS credentials configured on the host.

Interact with and manage Azure services using natural language.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.