@@ -432,25 +432,23 @@ To use the Redis MCP Server with VS Code, you must nable the [agent mode](https:
432
432
}
433
433
```
434
434
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 :
436
436
437
437
``` 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
+ }
451
449
```
452
450
453
- Alternatively, you can start the server using ` uv ` and configure your ` mcp.json ` or ` settings.json ` . This is usually desired for development.
451
+ Alternatively, you can start the server using ` uv ` and configure your ` mcp.json ` . This is usually desired for development.
454
452
455
453
``` json
456
454
{
@@ -475,33 +473,10 @@ Alternatively, you can start the server using `uv` and configure your `mcp.json`
475
473
}
476
474
```
477
475
478
- ``` json
479
- {
480
- "mcp" : {
481
- "servers" : {
482
- "redis" : {
483
- "type" : " stdio" ,
484
- "command" : " <full_path_uv_command>" ,
485
- "args" : [
486
- " --directory" ,
487
- " <your_mcp_server_directory>" ,
488
- " run" ,
489
- " src/main.py"
490
- ],
491
- "env" : {
492
- "REDIS_HOST" : " <your_redis_database_hostname>" ,
493
- "REDIS_PORT" : " <your_redis_database_port>" ,
494
- "REDIS_USERNAME" : " <your_redis_database_username>" ,
495
- "REDIS_PWD" : " <your_redis_database_password>" ,
496
- }
497
- }
498
- }
499
- }
500
- }
501
- ```
502
-
503
476
For more information, see the [ VS Code documentation] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers ) .
504
477
478
+ > ** Note:** Starting with [ VS Code v1.102] ( https://code.visualstudio.com/updates/v1_102 ) ,
479
+ > MCP servers are now stored in a dedicated ` mcp.json ` file instead of ` settings.json ` .
505
480
506
481
## Testing
507
482
0 commit comments