-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgemini-extension.json
More file actions
28 lines (28 loc) · 892 Bytes
/
gemini-extension.json
File metadata and controls
28 lines (28 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "sourcegraph",
"version": "0.1.0",
"description": "Use Sourcegraph's official MCP server from Gemini CLI (search, navigation, file read)",
"contextFileName": "GEMINI.md",
"settings": [
{
"name": "Sourcegraph Endpoint",
"description": "Base URL of your Sourcegraph instance (e.g. https://sourcegraph.com or https://sourcegraph.mycompany.com).",
"envVar": "SOURCEGRAPH_ENDPOINT"
},
{
"name": "Sourcegraph Access Token",
"description": "Access token used to authenticate to the Sourcegraph MCP server (User settings → Access tokens).",
"envVar": "SOURCEGRAPH_ACCESS_TOKEN",
"sensitive": true
}
],
"mcpServers": {
"sourcegraph": {
"httpUrl": "${SOURCEGRAPH_ENDPOINT}/.api/mcp",
"headers": {
"Authorization": "token ${SOURCEGRAPH_ACCESS_TOKEN}"
},
"timeout": 60000
}
}
}