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,20 +81,18 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP)
|
||||||
<Accordion title="VS Code">
|
<Accordion title="VS Code">
|
||||||
[VS Code MCP docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
|
[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
|
```json
|
||||||
{
|
{
|
||||||
"mcp": {
|
"servers": {
|
||||||
"servers": {
|
"sourcebot": {
|
||||||
"sourcebot": {
|
"type": "stdio",
|
||||||
"type": "stdio",
|
"command": "npx",
|
||||||
"command": "npx",
|
"args": ["-y", "@sourcebot/mcp@latest"],
|
||||||
"args": ["-y", "@sourcebot/mcp@latest"],
|
"env": {
|
||||||
"env": {
|
"SOURCEBOT_HOST": "http://localhost:3000",
|
||||||
"SOURCEBOT_HOST": "http://localhost:3000",
|
"SOURCEBOT_API_KEY": "your-api-key"
|
||||||
"SOURCEBOT_API_KEY": "your-api-key"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
[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
|
```json
|
||||||
{
|
{
|
||||||
"mcp": {
|
"servers": {
|
||||||
"servers": {
|
"sourcebot": {
|
||||||
"sourcebot": {
|
"type": "stdio",
|
||||||
"type": "stdio",
|
"command": "npx",
|
||||||
"command": "npx",
|
"args": ["-y", "@sourcebot/mcp@latest"],
|
||||||
"args": ["-y", "@sourcebot/mcp@latest"],
|
// Optional - if not specified, https://demo.sourcebot.dev is used
|
||||||
// Optional - if not specified, https://demo.sourcebot.dev is used
|
"env": {
|
||||||
"env": {
|
"SOURCEBOT_HOST": "http://localhost:3000"
|
||||||
"SOURCEBOT_HOST": "http://localhost:3000"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue