Skip to content
MCP server

Nats Trail

Read-only NATS and JetStream observability: trace a request across streams, rank what is…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.6.1
Listing updated
5 days ago

About Nats Trail

Nats Trail is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Read-only NATS and JetStream observability: trace a request across streams, rank what is broken.

Install

Run in a terminal

claude mcp add nats-trail --env NATS_TRAIL_TOKEN='<NATS_TRAIL_TOKEN>' -- npx -y @nats-trail/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "nats-trail": {
      "command": "npx",
      "args": [
        "-y",
        "@nats-trail/mcp"
      ],
      "env": {
        "NATS_TRAIL_TOKEN": "<NATS_TRAIL_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nats-trail": {
      "command": "npx",
      "args": [
        "-y",
        "@nats-trail/mcp"
      ],
      "env": {
        "NATS_TRAIL_TOKEN": "<NATS_TRAIL_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "nats-trail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nats-trail/mcp"
      ],
      "env": {
        "NATS_TRAIL_TOKEN": "<NATS_TRAIL_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nats-trail": {
      "command": "npx",
      "args": [
        "-y",
        "@nats-trail/mcp"
      ],
      "env": {
        "NATS_TRAIL_TOKEN": "<NATS_TRAIL_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nats-trail": {
      "command": "npx",
      "args": [
        "-y",
        "@nats-trail/mcp"
      ],
      "env": {
        "NATS_TRAIL_TOKEN": "<NATS_TRAIL_TOKEN>"
      }
    }
  }
}

Configuration

  • NATS_TRAIL_APIURL of the NATS Trail bridge, e.g. http://127.0.0.1:4000. Without it the server answers only from local state and cannot reach JetStream.
  • NATS_TRAIL_TOKENBearer token for the bridge, required when it has auth enabled. A read-scoped token is enough: this server never mutates.

Pricing

Open source

Nats Trail FAQ

Is Nats Trail free?

Yes. Nats Trail is open source, so you can use and self-host it for free.

How do I add Nats Trail to Claude Code?

Run this command in your terminal: claude mcp add nats-trail --env NATS_TRAIL_TOKEN='<NATS_TRAIL_TOKEN>' -- npx -y @nats-trail/mcp