MCP Server Studio

Trail MCP server

Issue tracker and durable project memory for your coding agent, scoped to the folder you open.

Registry name: dev.usetrail/trail

Publisher
usetrail.dev
Runs
Runs locally
Package
npm
Version
1.29.1
Category
AI & agents
Updated
2026-09-17

Source code on GitHub

Set up Trail (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "trail": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TRAIL_API_URL": "<TRAIL_API_URL>",
        "TRAIL_PROJECT": "<TRAIL_PROJECT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add trail -e TRAIL_API_URL='<TRAIL_API_URL>' -e TRAIL_PROJECT='<TRAIL_PROJECT>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "trail": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TRAIL_API_URL": "<TRAIL_API_URL>",
        "TRAIL_PROJECT": "<TRAIL_PROJECT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "trail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TRAIL_API_URL": "<TRAIL_API_URL>",
        "TRAIL_PROJECT": "<TRAIL_PROJECT>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "trail": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TRAIL_API_URL": "<TRAIL_API_URL>",
        "TRAIL_PROJECT": "<TRAIL_PROJECT>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
TRAIL_API_URLNoOnly for a self-hosted Trail. Left unset, the connector points at the hosted service.
TRAIL_PROJECTNoOverrides the project name, which otherwise comes from the folder you have open.

More ai & agents MCP servers