Skip to content

Commit e3a15a9

Browse files
committed
docs: fix MCP config examples to use mcp.json with top-level servers
1 parent 74c074c commit e3a15a9

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -432,22 +432,20 @@ To use the Redis MCP Server with VS Code, you must nable the [agent mode](https:
432432
}
433433
```
434434

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

437437
```json
438-
"mcp": {
439-
"servers": {
440-
"Redis MCP Server": {
441-
"type": "stdio",
442-
"command": "uvx",
443-
"args": [
444-
"--from", "redis-mcp-server@latest",
445-
"redis-mcp-server",
446-
"--url", "redis://localhost:6379/0"
447-
]
448-
},
449-
}
450-
},
438+
"servers": {
439+
"Redis MCP Server": {
440+
"type": "stdio",
441+
"command": "uvx",
442+
"args": [
443+
"--from", "redis-mcp-server@latest",
444+
"redis-mcp-server",
445+
"--url", "redis://localhost:6379/0"
446+
]
447+
},
448+
}
451449
```
452450

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

0 commit comments

Comments
 (0)