> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trysita.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code MCP Setup

> Configure the Sita MCP server in Claude Code for intelligent codebase Q&A

This guide shows you how to configure the Sita MCP server in Claude Code, Anthropic's official CLI.

<Warning>
  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.
</Warning>

## Configuration Command

Run this command in your terminal to add the Sita MCP server:

```bash theme={null}
claude mcp add \
  --transport http \
  code-qna \
  http://localhost:3000/api/mcp \
  --header "x-repo-id: YOUR_REPO_ID"
```

<Note>
  Replace `YOUR_REPO_ID` with your repository ID. The repo id can be copied from
  the repos tab.
</Note>

## Multiple Repository Setup

To add multiple repositories, run the command for each with different names and repo IDs:

```bash theme={null}
# 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](/ai-tools/mcp-cursor) with MCP support
* Try [Cline](/ai-tools/mcp-cline) for VSCode integration
