Sourcegraph

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.

Developer platforms & DevOps System of intelligence Extensible SaaS
Sourcegraph as a system of intelligence, with documented access surfaces for API and first-party MCP.
System role System of intelligence
Access maturity Extensible SaaS
MCP support Official MCP server
Reference updated Not stated by publisher
BYO-UI reviewed Nov 25, 2026

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.

01 · Records and state owned

Repositories, files, branches and tags, commits, diffs, contributors, symbols and references, Deep Search conversations, and Code Finder results.

02 · Data you can retrieve

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.

03 · Actions and write paths

Read-oriented code and content tools. The deepsearch tool creates a new Deep Search conversation in the user's Sourcegraph account for each question.

04 · Authentication and permissions

OAuth via dynamic client registration or static clients; access tokens. Follows the user's repository permissions; site admins can disable dynamic client registration.

05 · Monitoring, approval, and recovery

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.

06 · Limits and caveats

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.

Agent access

MCP support

Official MCP server Sourcegraph instance-hosted code intelligence MCP Current documented service

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.

Protocol does not erase product boundaries.

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.

Data access5
Action access1
Event access1
Identity4
Governance4
Agent access4
UI extensibility2
Portability3
Observability3
Documentation4

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.

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
Homepage Source inventory
https://sourcegraph.com/ ↗

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.