Skip to content

Commit 38b2749

Browse files
chore: Update docs for vscode MCP GA
1 parent 5ea6922 commit 38b2749

File tree

2 files changed

+18
-22
lines changed

2 files changed

+18
-22
lines changed

docs/docs/features/mcp-server.mdx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,18 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP)
8181
<Accordion title="VS Code">
8282
[VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
8383

84-
Add the following to your [settings.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers):
84+
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:
8585

8686
```json
8787
{
88-
"mcp": {
89-
"servers": {
90-
"sourcebot": {
91-
"type": "stdio",
92-
"command": "npx",
93-
"args": ["-y", "@sourcebot/mcp@latest"],
94-
"env": {
95-
"SOURCEBOT_HOST": "http://localhost:3000",
96-
"SOURCEBOT_API_KEY": "your-api-key"
97-
}
88+
"servers": {
89+
"sourcebot": {
90+
"type": "stdio",
91+
"command": "npx",
92+
"args": ["-y", "@sourcebot/mcp@latest"],
93+
"env": {
94+
"SOURCEBOT_HOST": "http://localhost:3000",
95+
"SOURCEBOT_API_KEY": "your-api-key"
9896
}
9997
}
10098
}

packages/mcp/README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,18 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
8787

8888
[VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
8989

90-
Add the following to your [settings.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers):
90+
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:
9191

9292
```json
9393
{
94-
"mcp": {
95-
"servers": {
96-
"sourcebot": {
97-
"type": "stdio",
98-
"command": "npx",
99-
"args": ["-y", "@sourcebot/mcp@latest"],
100-
// Optional - if not specified, https://demo.sourcebot.dev is used
101-
"env": {
102-
"SOURCEBOT_HOST": "http://localhost:3000"
103-
}
94+
"servers": {
95+
"sourcebot": {
96+
"type": "stdio",
97+
"command": "npx",
98+
"args": ["-y", "@sourcebot/mcp@latest"],
99+
// Optional - if not specified, https://demo.sourcebot.dev is used
100+
"env": {
101+
"SOURCEBOT_HOST": "http://localhost:3000"
104102
}
105103
}
106104
}

0 commit comments

Comments
 (0)