Agent♥︎Age
Catalog

Sourcegraph MCP Server

Official

by sourcegraph-community

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

io.github.sourcegraph/mcp (Sourcegraph MCP Server)

The Sourcegraph MCP server (for a Sourcegraph instance) provides MCP-compatible access to Sourcegraph code search and code intelligence capabilities. It supports configuring against Sourcegraph Cloud or a private Sourcegraph deployment, allowing connected MCP clients to use workflows such as code search and navigation within the user’s own Sourcegraph server.

🛠️ Key Features

  • Code search and semantic search
  • Go-to-definition
  • Find-references
  • Diff search

🚀 Use Cases

  • Discover repositories
  • Read files
  • Run keyword and semantic searches
  • Navigate symbols and look up references
  • Search code changes via diffs

⚡ Developer Benefits

  • Standard MCP interface for Sourcegraph workflows
  • Access to repository discovery, search, and code intelligence through MCP clients

⚠️ Limitations

  • Capabilities described are specific to Sourcegraph code search and code intelligence workflows available in the connected Sourcegraph instance.