nats-mcp-server

nats-mcp-server

5

The NATS MCP Server is a project offering seamless connectivity to the NATS messaging system via MCP protocols. It enables messaging operations like publishing, subscribing, and handling requests with advanced configurations and error handling.

NATS MCP Server

An MCP server that provides access to NATS, a cloud native messaging system, through the NATS CLI.

Features

  • Publish messages with advanced options
  • Subscribe to subjects with configurable timeouts and message counts
  • Request-reply pattern support
  • Full NATS CLI integration
  • Error handling and cleanup

Requirements

  • Node.js >= 14.0.0
  • NATS CLI

Installation

  • Install from npm
  • Clone and build from source

Configuration

The server can be configured using environment variables.

Usage

Tools available include publish, subscribe, and request.