Sourcegraph MCP Server for Grok
io.github.sourcegraph/mcp
Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.
client:Grok
transport:streamable-http
Install Sourcegraph MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://{sourcegraph_hostname}/.api/mcp"
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs