diff --git a/docs/docs/features/mcp-server.mdx b/docs/docs/features/mcp-server.mdx index b18781b7..adfb98ce 100644 --- a/docs/docs/features/mcp-server.mdx +++ b/docs/docs/features/mcp-server.mdx @@ -81,20 +81,18 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) [VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) - Add the following to your [settings.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers): + Add the following to your [.vscode/mcp.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-workspace) file: ```json { - "mcp": { - "servers": { - "sourcebot": { - "type": "stdio", - "command": "npx", - "args": ["-y", "@sourcebot/mcp@latest"], - "env": { - "SOURCEBOT_HOST": "http://localhost:3000", - "SOURCEBOT_API_KEY": "your-api-key" - } + "servers": { + "sourcebot": { + "type": "stdio", + "command": "npx", + "args": ["-y", "@sourcebot/mcp@latest"], + "env": { + "SOURCEBOT_HOST": "http://localhost:3000", + "SOURCEBOT_API_KEY": "your-api-key" } } } diff --git a/packages/mcp/README.md b/packages/mcp/README.md index 1b0a0771..08987076 100644 --- a/packages/mcp/README.md +++ b/packages/mcp/README.md @@ -87,20 +87,18 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context [VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) - Add the following to your [settings.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers): + Add the following to your [.vscode/mcp.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-workspace) file: ```json { - "mcp": { - "servers": { - "sourcebot": { - "type": "stdio", - "command": "npx", - "args": ["-y", "@sourcebot/mcp@latest"], - // Optional - if not specified, https://demo.sourcebot.dev is used - "env": { - "SOURCEBOT_HOST": "http://localhost:3000" - } + "servers": { + "sourcebot": { + "type": "stdio", + "command": "npx", + "args": ["-y", "@sourcebot/mcp@latest"], + // Optional - if not specified, https://demo.sourcebot.dev is used + "env": { + "SOURCEBOT_HOST": "http://localhost:3000" } } }