Skip to content

Commit a81e24a

Browse files
committed
README: Improve configuration section about VS Code
1 parent 8a4b0fa commit a81e24a

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ CrateDB MCP Server:
7474
}
7575
```
7676

77-
#### VS Code Copilot Chat
78-
79-
Add the following configuration to your VS Code settings:
77+
#### VS Code
78+
[Add an MCP server to your VS Code user settings] to enable the MCP server
79+
across all workspaces in your `settings.json` file.
8080
```json
8181
{
8282
"mcp": {
@@ -94,6 +94,18 @@ Add the following configuration to your VS Code settings:
9494
"chat.mcp.enabled": true
9595
}
9696
```
97+
[Add an MCP server to your VS Code workspace] to configure an MCP server for a
98+
specific workspace per `.vscode/mcp.json` file. In this case, omit the
99+
top-level `mcp` element, and start from `servers` instead.
100+
101+
Alternatively, VS Code can automatically detect and reuse MCP servers that
102+
you defined in other tools, such as Claude Desktop.
103+
See also [Automatic discovery of MCP servers].
104+
```json
105+
{
106+
"chat.mcp.discovery.enabled": true
107+
}
108+
```
97109

98110
#### Goose
99111
Configure `extensions` in your `~/.config/goose/config.yaml`.
@@ -259,6 +271,9 @@ The software is in the alpha stage, so breaking changes may happen.
259271
Version pinning is strongly recommended, especially if you use it as a library.
260272

261273

274+
[Add an MCP server to your VS Code user settings]: https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-user-settings
275+
[Add an MCP server to your VS Code workspace]: https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-workspace
276+
[Automatic discovery of MCP servers]: https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_automatic-discovery-of-mcp-servers
262277
[CrateDB]: https://cratedb.com/database
263278
[cratedb-about]: https://pypi.org/project/cratedb-about/
264279
[cratedb-outline.yaml]: https://github.com/crate/about/blob/v0.0.4/src/cratedb_about/outline/cratedb-outline.yaml

0 commit comments

Comments
 (0)