DocsWorking with AIMCP Server
Back
Working with AI

MCP Server

Exponential ships an MCP (Model Context Protocol) server so AI agents can manage issues with structured tool calls instead of shelling out to the CLI.

Setup

Create a .mcp.json at your repo root. This is checked into git, so every contributor gets the same tools:

{
  "mcpServers": {
    "xpo": {
      "command": "xpo",
      "args": ["mcp"]
    }
  }
}

User-level

Add it globally so it applies to every project:

claude mcp add xpo xpo mcp

Or manually add the snippet to ~/.claude/settings.json under mcpServers.

After any method, restart Claude Code (or run /mcp in-session).

Available tools

ToolDescription
listList issues with filters (status, label, assignee, parent, text match)
showFetch one issue with description, dependencies, comments
historyEvent audit trail for an issue
addCreate an issue with status, labels, parent, story points, links
updatePatch any subset of fields
commentAdd a markdown comment
linkCreate a dependency between two issues
startStart work (set to DOING + create branch)
mergeMerge an issue's branch and close the issue

Reduce permission prompts

Allow-list the xpo tools in .claude/settings.json:

{
  "permissions": {
    "allow": [
      "mcp__xpo__*"
    ]
  }
}

All xpo changes are git-tracked, so any mistake is recoverable with git.

Server mode

In distributed mode, the MCP endpoint is also available over HTTP at /mcp, authenticated with the same JWT as the REST API. This lets remote agents connect to a shared server.