mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
chore: Update docs for vscode MCP GA
This commit is contained in:
parent
5ea6922509
commit
38b2749580
2 changed files with 18 additions and 22 deletions
|
|
@ -81,11 +81,10 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP)
|
|||
<Accordion title="VS Code">
|
||||
[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",
|
||||
|
|
@ -98,7 +97,6 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Replace `http://localhost:3000` with wherever your Sourcebot instance is hosted.
|
||||
|
|
|
|||
|
|
@ -87,11 +87,10 @@ 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",
|
||||
|
|
@ -104,7 +103,6 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
|
|
|||
Loading…
Reference in a new issue