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

# MCP server

Sourcebot's MCP server connects your AI agents to your code. Add it to Claude Code, Cursor, or any other MCP client, and your agents can search, read, and navigate code across every repository Sourcebot indexes.

Through the same connection, your agents can also use your team's [connectors](https://docs.sourcebot.dev/docs/features/connectors/overview), such as Linear or Jira.

## Use cases

* **Context for local agents:** Plug the MCP into coding agents like Cursor, Claude Code, or Copilot to give them context across your entire codebase, not just the open workspace.
* **Building autonomous AI agents:** Use Sourcebot as a code context layer for multi-agent systems that review PRs, auto-fix bugs, and answer questions across the company.
* **One connection for your team's tools:** With the [MCP Gateway](https://docs.sourcebot.dev/docs/mcp/gateway.md), MCP clients can also use your connectors, such as Linear, through the same Sourcebot connection.

## What you can do

The Sourcebot MCP server exposes built-in tools for working with your code, plus your connectors' tools through the [MCP Gateway](https://docs.sourcebot.dev/docs/mcp/gateway.md).

> [card] [Call tools in other apps](https://docs.sourcebot.dev/docs/mcp/gateway.md)
>
> Use connectors such as Linear and Jira through the MCP Gateway.

> [card] [Search code](https://docs.sourcebot.dev/docs/mcp/tools/code-search.md)
>
> Match regular expressions, find files, and read them across every repository.

> [card] [Navigate code](https://docs.sourcebot.dev/docs/mcp/tools/code-navigation.md)
>
> Find where a symbol is defined and everywhere it's referenced.

> [card] [Explore repositories](https://docs.sourcebot.dev/docs/mcp/tools/repositories-and-git.md)
>
> List repositories, branches, and commits, and view diffs.

> [card] [Ask questions](https://docs.sourcebot.dev/docs/mcp/tools/ask-sourcebot.md)
>
> Get answers about your codebase, with references to the code.

> [card] [Manage skills](https://docs.sourcebot.dev/docs/mcp/tools/skills.md)
>
> Create, update, and list reusable instructions for your agents.

## Get started

> [card] [Connect a client](https://docs.sourcebot.dev/docs/mcp/setup.md)
>
> Connect Claude Code, Cursor, and other MCP clients to Sourcebot.

> [card] [MCP Gateway](https://docs.sourcebot.dev/docs/mcp/gateway.md)
>
> Use your team's connectors, such as Linear, from your MCP clients.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.