Skip to content

Commit 6a1a045

Browse files
authored
Merge branch 'main' into feat/logging-config
2 parents 3e2b64f + e45d5d3 commit 6a1a045

File tree

1 file changed

+15
-40
lines changed

1 file changed

+15
-40
lines changed

README.md

Lines changed: 15 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -473,25 +473,23 @@ To use the Redis MCP Server with VS Code, you must nable the [agent mode](https:
473473
}
474474
```
475475

476-
You can start the GitHub desired version of the Redis MCP server using `uvx` by adding the following JSON to your `settings.json`:
476+
You can start the GitHub desired version of the Redis MCP server using `uvx` by adding the following JSON to your `mcp.json` file:
477477

478478
```json
479-
"mcp": {
480-
"servers": {
481-
"Redis MCP Server": {
482-
"type": "stdio",
483-
"command": "uvx",
484-
"args": [
485-
"--from", "redis-mcp-server@latest",
486-
"redis-mcp-server",
487-
"--url", "redis://localhost:6379/0"
488-
]
489-
},
490-
}
491-
},
479+
"servers": {
480+
"Redis MCP Server": {
481+
"type": "stdio",
482+
"command": "uvx",
483+
"args": [
484+
"--from", "redis-mcp-server@latest",
485+
"redis-mcp-server",
486+
"--url", "redis://localhost:6379/0"
487+
]
488+
},
489+
}
492490
```
493491

494-
Alternatively, you can start the server using `uv` and configure your `mcp.json` or `settings.json`. This is usually desired for development.
492+
Alternatively, you can start the server using `uv` and configure your `mcp.json`. This is usually desired for development.
495493

496494
```json
497495
{
@@ -516,33 +514,10 @@ Alternatively, you can start the server using `uv` and configure your `mcp.json`
516514
}
517515
```
518516

519-
```json
520-
{
521-
"mcp": {
522-
"servers": {
523-
"redis": {
524-
"type": "stdio",
525-
"command": "<full_path_uv_command>",
526-
"args": [
527-
"--directory",
528-
"<your_mcp_server_directory>",
529-
"run",
530-
"src/main.py"
531-
],
532-
"env": {
533-
"REDIS_HOST": "<your_redis_database_hostname>",
534-
"REDIS_PORT": "<your_redis_database_port>",
535-
"REDIS_USERNAME": "<your_redis_database_username>",
536-
"REDIS_PWD": "<your_redis_database_password>",
537-
}
538-
}
539-
}
540-
}
541-
}
542-
```
543-
544517
For more information, see the [VS Code documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
545518

519+
> **Note:** Starting with [VS Code v1.102](https://code.visualstudio.com/updates/v1_102),
520+
> MCP servers are now stored in a dedicated `mcp.json` file instead of `settings.json`.
546521
547522
## Testing
548523

0 commit comments

Comments
 (0)