Repositories, files, branches and tags, commits, diffs, contributors, symbols and references, Deep Search conversations, and Code Finder results.
Sourcegraph
Sourcegraph is enterprise code search used across large codebases, with SAML SSO per its security page; its MCP server, available on Enterprise plans, runs on each instance at /.api/mcp with admin control over OAuth client registration.
Concrete capability record
Data, retrieval, actions, identity, and operating limits
A field-by-field summary of what the cited first-party references actually support. Publisher update dates and BYO-UI dates are shown separately below.
Search code by keyword or natural language, run sandboxed Lua scripts over search results, read files, list repositories, files, branches and tags, navigate definitions and references, search commits and diffs, compare revisions, find contributor repositories, run Code Finder, and run and read Deep Search.
Read-oriented code and content tools. The deepsearch tool creates a new Deep Search conversation in the user's Sourcegraph account for each question.
OAuth via dynamic client registration or static clients; access tokens. Follows the user's repository permissions; site admins can disable dynamic client registration.
Follows the user's repository permissions; site admins can disable dynamic client registration. No extra approval step is documented beyond that access for these read-only search tools.
The MCP server runs at /.api/mcp on each instance (also /.api/mcp/all and /.api/mcp/deepsearch). It is supported on Enterprise plans. Admins can enable or disable the endpoints (mcp.enabled), disable individual tools (mcp.tools.disabled) and restrict access to users holding the MCP > ACCESS permission, which the built-in User role has by default. Code Finder usage is metered against the instance's entitlement and returns an error when the quota is exhausted.
First-party access
Documented surfaces
Agent access
MCP support
Support: Official MCP server
Deployment and client compatibility: Hosted per instance: https://<instance>/.api/mcp (also /.api/mcp/all and /.api/mcp/deepsearch).
MCP reference: sourcegraph.com/docs/api/mcp ↗
Read scope: Search code by keyword or natural language, run sandboxed Lua scripts over search results, read files, list repositories, files, branches and tags, navigate definitions and references, search commits and diffs, compare revisions, find contributor repositories, run Code Finder, and run and read Deep Search.
Write scope: Read-oriented code and content tools. The deepsearch tool creates a new Deep Search conversation in the user's Sourcegraph account for each question.
Authentication: OAuth via dynamic client registration or static clients; access tokens.
Sign-in and permissions: Follows the user's repository permissions; site admins can disable dynamic client registration.
Approval boundary: No additional MCP approval step is documented for these read-only search tools.
Known limits: The MCP server runs at /.api/mcp on each instance (also /.api/mcp/all and /.api/mcp/deepsearch). It is supported on Enterprise plans. Admins can enable or disable the endpoints (mcp.enabled), disable individual tools (mcp.tools.disabled) and restrict access to users holding the MCP > ACCESS permission, which the built-in User role has by default. Code Finder usage is metered against the instance's entitlement and returns an error when the quota is exhausted.
Confirm the current tool catalog, plan, region, scopes, rate limits, terms, and write behavior before implementation.
Editorial assessment
Access-maturity dimensions
A comparative architecture lens—not a quality score, market ranking, or buying recommendation. Scale: 1–5.
Proposed customer-shaped experiences
What customers could create on top.
The output could be an export, report, graph, artifact, application, agent, workflow, or downstream feed. These proposals are derived from documented access—not claims that Sourcegraph ships them.
Single-platform patterns
- Codebase question desk
- Change impact finder
- Code ownership lookup
- Migration tracker
Multi-platform compositions
- Sourcegraph + issue tracker: impact analysis
- Sourcegraph + CI: failure root cause
Evidence and dates
First-party references, with publisher and BYO-UI dates separated
“Publisher updated” is shown only when the page exposes an update date. “BYO-UI reviewed” is the date recorded for that source. A missing publisher date is reported as missing—not replaced with the BYO-UI date.
3 recorded sources
Sourcegraph MCP server.
- Publisher updated
- Not stated by publisher
- BYO-UI reviewed
- Nov 19, 2026
Sourcegraph security.
- Publisher updated
- Not stated by publisher
- BYO-UI reviewed
- Nov 19, 2026
Sourcegraph homepage.
- Publisher updated
- Not stated by publisher
- BYO-UI reviewed
- Nov 19, 2026
Verified fact
Tied to cited first-party evidence for this profile.
Source inventory
Official links recorded for deeper research; confirm current reachability and scope when using them.
Editorial assessment
System role, maturity interpretation, and architectural boundary.
Proposed design
Interface patterns and compositions—not vendor product claims.