Skip to content

Docs

MCP server

Markdown version

Tarnpath runs a hosted Model Context Protocol server, so assistants can read and work in your workspace with your permissions.

  • Endpoint: https://api.tarnpath.com/mcp (Streamable HTTP, JSON responses; protocol versions 2025-06-18 and 2025-03-26).
  • OAuth sign-in. The server supports OAuth 2.1 with PKCE, and clients such as Claude, ChatGPT and Cursor register themselves (RFC 7591) and open the consent screen. Self-registered apps are marked "not verified", get capped scopes, and can't touch API keys, secrets, approvals or the audit log. Each person can disconnect the apps they've connected under Settings → Connected apps.
  • Or an API key. An owner creates one in Settings → API keys with the scopes it needs, and the client sends Authorization: Bearer tr_live_…. The key never has more access than the person who made it.

What it can do

  • Trails: the tools for finding trails and your saved lists arrive with the first release. See every tool.
  • Approvals and the audit log (read only).
  • tr_api calls any /v1 route with your credentials.
  • tr_propose runs a platform action the way an agent does: sends and outside changes wait in the approval inbox for a person.
  • Approving, API keys and secrets stay in the web app.

Connect

Claude Code:

export TR_API_KEY=tr_live_…
claude mcp add --transport http trailsapp https://api.tarnpath.com/mcp --header "Authorization: Bearer $TR_API_KEY"

Codex (~/.codex/config.toml):

[mcp_servers.trailsapp]
url = "https://api.tarnpath.com/mcp"
bearer_token_env_var = "TR_API_KEY"

Every call is recorded in the organization's audit log.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.