This guide shows you how to configure the Sita MCP server in Claude Code, Anthropic’s official CLI.
You must configure the MCP server for each repository you want to work with. Each repository requires its own configuration with a unique repo ID.

Configuration Command

Run this command in your terminal to add the Sita MCP server:
claude mcp add \
  --transport http \
  code-qna \
  http://localhost:3000/api/mcp \
  --header "x-repo-id: YOUR_REPO_ID"
Replace YOUR_REPO_ID with your repository ID. The repo id can be copied from the repos tab.

Multiple Repository Setup

To add multiple repositories, run the command for each with different names and repo IDs:
# Frontend repository
claude mcp add \
  --transport http \
  frontend-qna \
  http://localhost:3000/api/mcp \
  --header "x-repo-id: frontend-app"

# Backend repository
claude mcp add \
  --transport http \
  backend-qna \
  http://localhost:3000/api/mcp \
  --header "x-repo-id: backend-api"

Verification

After adding the configuration:
  • Run claude mcp list to see your configured servers
  • The codebase-qna tool will be available in Claude Code

Management Commands

  • List servers: claude mcp list
  • Remove a server: claude mcp remove code-qna
  • View server details: claude mcp show code-qna

Next Steps

  • Configure Cursor with MCP support
  • Try Cline for VSCode integration