sourcegraph-mcp

divar-ir/sourcegraph-mcp

3.4

If you are the rightful owner of sourcegraph-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Sourcegraph MCP Server is a Model Context Protocol server that enhances code search capabilities using Sourcegraph.

Tools

Functions exposed to the LLM to take actions

search

Search across codebases using Sourcegraph's advanced query syntax with support for regex, language filters, and boolean operators.

search_prompt_guide

Generate a context-aware guide for constructing effective search queries based on your specific objective.

fetch_content

Retrieve file contents or explore directory structures from repositories.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources