MCP'S
by Sourcegraph
MCP server for giving AI agents cross-repository code intelligence via Sourcegraph search, navigation, history, diffs, and Deep Search.
Sourcegraph MCP Server is Sourcegraph’s Model Context Protocol server for connecting AI agents to Sourcegraph code intelligence. The official Sourcegraph MCP page and documentation describe it as an MCP server that gives agents cross-repository code intelligence through Sourcegraph search, code navigation, history, diffs, and Deep Search. Sourcegraph’s changelog also notes a full MCP tool suite, including Deep Search and code navigation tools, available at the /.api/mcp/all endpoint. Sourcegraph documentation includes client integration guidance for connecting MCP-compatible tools, including Gemini Code Assist, and Sourcegraph Help Center material covers troubleshooting configuration with OpenAI Codex.
Use when an AI agent needs Sourcegraph-backed cross-repository code search navigation history diffs or Deep Search. Use when integrating Sourcegraph code intelligence into MCP-compatible clients or developer tools. Use when evaluating MCP servers for agentic software engineering workflows that need access to code context across repositories.
Last updated Jun 20, 2026