MCP Server Setup Pro

Use PairCoder tools in Claude Desktop

Pro Feature

MCP integration requires Pro or Enterprise license.

Prerequisites

  • Python 3.10+
  • Claude Desktop installed

Installation

bash
pip install 'bpsai-pair[mcp]'

# Verify
bpsai-pair mcp tools

Configure Claude Desktop

macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
"paircoder": {
  "command": "bpsai-pair",
  "args": ["mcp", "serve"],
  "env": {
    "PAIRCODER_PROJECT": "/path/to/your/project"
  }
}
  }
}

Linux

Edit ~/.config/claude/claude_desktop_config.json

Windows

Edit %APPDATA%\Claude\claude_desktop_config.json

Verify Setup

  1. Restart Claude Desktop (quit and reopen)
  2. Start a new conversation
  3. Ask: "List my pending tasks using paircoder"
  4. Claude should call paircoder_task_list tool

Available MCP Tools

ToolDescription
Task Management
paircoder_task_listList tasks with optional filters (status, plan, sprint)
paircoder_task_nextGet the next recommended task to work on
paircoder_task_startStart a task and update status to in_progress
paircoder_task_completeComplete a task and update status to done
Planning
paircoder_plan_statusGet plan status with sprint/task breakdown
paircoder_plan_listList all available plans
Context
paircoder_context_readRead project context files (state, project, workflow, config, capabilities)
Orchestration
paircoder_orchestrate_analyzeAnalyze task complexity and get model/agent recommendation
paircoder_orchestrate_handoffCreate handoff package for agent transition
paircoder_orchestrate_planInvoke the planner agent for design and planning tasks
paircoder_orchestrate_reviewInvoke the reviewer agent for code review tasks
Metrics
paircoder_metrics_recordRecord token usage and cost metrics for an action
paircoder_metrics_summaryGet metrics summary (daily, weekly, monthly, or by task)
Integrations
paircoder_trello_sync_planSync plan tasks to Trello board as cards
paircoder_trello_update_cardUpdate Trello card on task state change
Support
paircoder_support_createCreate a support ticket with auto-attached system info

Testing Tools Locally

bash
# Test task listing
bpsai-pair mcp test paircoder_task_list

# Test with parameters
bpsai-pair mcp test paircoder_task_list --status pending

# Test plan status
bpsai-pair mcp test paircoder_plan_status

Troubleshooting

ProblemSolution
Server won't startRun which bpsai-pair to verify installation
Tools not appearingRestart Claude Desktop completely
Tools return errorsCheck PAIRCODER_PROJECT path exists
Python not foundUse full path in config (see below)

Python not found workaround

json
{
  "mcpServers": {
"paircoder": {
  "command": "/usr/bin/python3",
  "args": ["-m", "bpsai_pair.cli", "mcp", "serve"],
  "env": {
    "PAIRCODER_PROJECT": "/path/to/project"
  }
}
  }
}