File tree Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Expand file tree Collapse file tree 2 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -81,20 +81,18 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP)
81
81
<Accordion title = " VS Code" >
82
82
[ VS Code MCP docs] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers )
83
83
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 :
85
85
86
86
```json
87
87
{
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"
98
96
}
99
97
}
100
98
}
Original file line number Diff line number Diff line change @@ -87,20 +87,18 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
87
87
88
88
[VS Code MCP docs ](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
89
89
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 :
91
91
92
92
```json
93
93
{
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"
104
102
}
105
103
}
106
104
}
You can’t perform that action at this time.
0 commit comments