Skip to main content
Glama

Sourcegraph MCP Server

by divar-ir

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_SSE_PORTNoSSE server port8000
SRC_ENDPOINTYesSourcegraph instance URL (e.g., https://sourcegraph.com)
SRC_ACCESS_TOKENNoAuthentication token for private Sourcegraph instances
MCP_STREAMABLE_HTTP_PORTNoHTTP server port8080

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/divar-ir/sourcegraph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server