Back to Home
Gooseus icon

mcp-nats

Verified Safe

by Gooseus

Overview

Exposes NATS messaging capabilities (publish, subscribe, JetStream, KV, Object Store) to LLMs, enabling AI assistants to interact with real-time and persistent data infrastructure.

Installation

Run Command
npx mcp-nats

Environment Variables

  • NATS_URL
  • NATS_USER
  • NATS_PASS
  • NATS_TOKEN
  • NATS_CREDS_PATH

Security Notes

The server uses Zod for input validation on all tool parameters, which significantly reduces the risk of injection attacks or unexpected input. NATS authentication details are handled via environment variables or a credentials file, avoiding hardcoded secrets. File system access for embedded documentation is restricted to a specific `docs/nats` directory, preventing arbitrary file reads. The SSE transport sets permissive CORS headers (`Access-Control-Allow-Origin: *`), which is common for tools intended for LLM integration but should be considered in a broader network deployment context.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-16

Tags

NATSJetStreamMessagingLLMMCPReal-timeData StorageAI