add-mcp
Back to registry
Sourcegraph logo

Sourcegraph

v1.0.0

sourcegraph.com/mcp

Sourcegraph provides code search, code navigation, repository analysis, and related developer tooling for source code across many repositories. It is offered as Sourcegraph Cloud and self-hosted deployments, with separate analytics features for usage and performance data.


Install with add-mcp

Configure your installation and copy the command below. Uses add-mcp to install the server into your agent of choice.

Remote (HTTP)
Streamable HTTPhttps://sourcegraph.com/.api/mcp
npx add-mcp@latest https://sourcegraph.com/.api/mcp --transport http

API access

Access via API

Fetch this server's registry entry as JSON. See the OpenAPI spec for all endpoints.

curl "/registry/api/v1/servers?search=com.sourcegraph%2Fmcp"