Sourcegraph
by community
Cross-repo code search + navigation via Sourcegraph. Sourcegraph integrated MCP into their Cody AI coding assistant in 2026.
The base URL of your Sourcegraph instance, e.g., https://sourcegraph.example.com
API token from your Sourcegraph instance Settings > Access tokens
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/madhukarkumar/sourcegraph-mcp-ts # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y [email protected]