Trail Code MCP Server

by trailhq• 11k•• Scanned•Claim this listing•Request removal
Coding Agentsai agentsanthropicclaude codeclicode graph

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

Trail Code is an open-source mcp server by trailhq, written mainly in TypeScript, with 10,998 GitHub stars and the MIT license. Its code was last updated Oct 31, 2026. The latest npm release is @trailhq/trail-code 0.29.0, published Nov 6, 2026, with 9,231 downloads last week.

Scan summary: scanned Nov 5, 2026 at commit ca20a67. Seen able to read environment and secrets. Scan policy

How to install Trail Code

Built from the start command in the project's README: npx -y @trailhq/trail-code mcp. Check the README for required keys or settings.

Claude Code · Terminal
claude mcp add trail-code -- npx -y @trailhq/trail-code mcp
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "trail-code": {
      "command": "npx",
      "args": [
        "-y",
        "@trailhq/trail-code",
        "mcp"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "trail-code": {
      "command": "npx",
      "args": [
        "-y",
        "@trailhq/trail-code",
        "mcp"
      ]
    }
  }
}
VS Code · Terminal
code --add-mcp '{"name":"trail-code","command":"npx","args":["-y","@trailhq/trail-code","mcp"]}'

What Trail Code can touch

  • Run shell commandsNot seen in this scan
  • Run dynamic codeNot seen in this scan
  • Read or write filesNot seen in this scan
  • Read environment and secretsFound in the code by our scan
  • Control a web browserNot seen in this scan
  • Connect to databasesNot seen in this scan
  • Read or send messagesNot seen in this scan
  • Touch money or tradingNot seen in this scan
  • Connect to the internetNot run in this scan

"Not seen" means our checks did not find it, and the tool may still do it. Covers commit ca20a67, Nov 5, 2026. See the scan policy.

Before you install Trail Code

AgenticMart scanned Trail Code on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What it can access

  • An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.

Before you install

  1. Pin the version you reviewed instead of always installing the latest release.
  2. Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
  • Maintained by trailhq on GitHub, 10,998 stars and 975 forks. Popularity is not proof of safety.
  • Last code change: Oct 31, 2026.
  • Open-source license: MIT.

Trail Code is an open-source mcp server by trailhq, written mainly in TypeScript. Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

At a glance

Stars
11k
Forks
975
Language
TypeScript
License
MIT
Created
Jul 2026
Last update
Oct 31, 2026
Type
MCP Server
Price
Free

Topics

ai-agentsanthropicclaude-codeclicode-graphcodexcontext-engineeringcursordeveloper-toolsgeminiknowledge-graphllmmcpmcp-serveropen-sourceopenaitree-sitter

Questions about Trail Code

What is Trail Code?

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

Who maintains Trail Code?

Trail Code is maintained by trailhq on GitHub (trailhq/Trail-Code). AgenticMart lists it from public repository data.

Is Trail Code safe to use?

AgenticMart scanned Trail Code on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What license does Trail Code use?

It is published under the MIT license.

Trail Code alternatives

View more →

Similar mcp servers in Coding Agents, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Trail Code (this page)
trailhq
11kMITOct 31, 2026Scanned, no flagged issues
Context Mode
mksglu
33kNone foundNov 1, 2026Not scanned yet
Serena
oraios
31kNone foundOct 28, 2026Not scanned yet
Fastmcp
PrefectHQ
28kApache-2.0Nov 1, 2026Scanned, no flagged issues
Nuclear
nukeop
19kAGPL-3.0Nov 1, 2026Scanned, no flagged issues
MCP For Beginners
microsoft
18kMITOct 30, 2026Scanned, no flagged issues