About 🧰 NATS MCP toolbox
NATS MCP toolbox provides CLI tools and a Go library for making functions or existing MCP servers available through NATS microservices. It is aimed at developers building NATS-connected tool access; the project is under active development and may have breaking changes.
Key features
- 01Expose existing MCP servers through NATS
- 02Publish Go functions as tools
- 03List tools available through NATS
- 04CLI commands for server and client use
- 05NATS_URL as a default URL
Use cases
- 01Expose a local MCP server through NATS
- 02Make Go functionality available as tools
- 03List NATS-exposed tools for a local agent
MCP support
Can expose existing MCP servers over NATS and provide a local MCP server command for an agent to use those tools. It can also be used as a Go library to expose functions as MCP tools.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README🧰 NATS MCP toolbox
This is a collection of cli tools to expose MCP tools via NATS microservices. It can be used either standalone (exposing local/existing MCP Servers via NATS) or as library in Go to expose functionality as tools.
Warning
🚨 🚧 This tool is under active development 🚧 🚨
This tool is very much work in progress. While the tools should all work, expect almost daily breaking changes.
Usage
Exposing an existing MCP Server via NATS:
./nats-mcp tool --url "nats://localhost:4222" --command="./whatever-mcp-server" arg1 arg2
To check what MCP tools are exposed via NATS use the following command:
./nats-mcp client list --url "nats://localhost:4222"
To then actually use the tool with your local agent, add the following command to your MCP config:
./nats-mcp server --url "nats://localhost:4222"
Given the --url parameter is used for allmost all arguments, the NATS_URL environment variable is used as a default.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.