@@ -473,25 +473,23 @@ To use the Redis MCP Server with VS Code, you must nable the [agent mode](https:
473
473
}
474
474
```
475
475
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 :
477
477
478
478
``` 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
+ }
492
490
```
493
491
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.
495
493
496
494
``` json
497
495
{
@@ -516,33 +514,10 @@ Alternatively, you can start the server using `uv` and configure your `mcp.json`
516
514
}
517
515
```
518
516
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
-
544
517
For more information, see the [ VS Code documentation] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers ) .
545
518
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 ` .
546
521
547
522
## Testing
548
523
0 commit comments