Agent Tools
Back to MCP servers
● down

Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.

Transport
streamable-http
Auth
Cost

How to connect

MCP endpoint (streamable-http)
https://{sourcegraph_hostname}/.api/mcp
JSON-RPC initialize probe
curl -X POST https://{sourcegraph_hostname}/.api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'
Source code
https://github.com/sourcegraph-community/mcpregistry