diff --git a/docs/api/mcp/index.mdx b/docs/api/mcp/index.mdx index cfa418b0d..5c0a9a9fe 100644 --- a/docs/api/mcp/index.mdx +++ b/docs/api/mcp/index.mdx @@ -100,6 +100,7 @@ You can add the Sourcegraph MCP server to [Claude Code](https://claude.ai/code) { "mcpServers": { "sourcegraph": { + "type": "http", "url": "https://your-sourcegraph-instance.com/.api/mcp/v1", "headers": { "Authorization": "token YOUR_ACCESS_TOKEN" @@ -123,7 +124,7 @@ You can also add the Sourcegraph MCP server as a locally-scoped server, which is 1. Run the following command in your terminal: ```bash - claude mcp add sourcegraph -s local --url https://your-sourcegraph-instance.com/.api/mcp/v1 --header "Authorization: token YOUR_ACCESS_TOKEN" + claude mcp add sourcegraph -s local --transport http https://your-sourcegraph-instance.com/.api/mcp/v1 --header "Authorization: token YOUR_ACCESS_TOKEN" ```