File tree Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -195,9 +195,34 @@ To use the Redis MCP Server with VS Code, you need:
195
195
}
196
196
```
197
197
198
- 2 . Add the Redis MCP Server configuration to your ` settings.json ` :
198
+ 2 . Add the Redis MCP Server configuration to your ` mcp.json ` or ` settings.json ` :
199
199
200
200
``` commandline
201
+ // Example .vscode/mcp.json
202
+ {
203
+ "servers": {
204
+ "redis": {
205
+ "type": "stdio",
206
+ "command": "<full_path_uv_command>",
207
+ "args": [
208
+ "--directory",
209
+ "<your_mcp_server_directory>",
210
+ "run",
211
+ "src/main.py"
212
+ ],
213
+ "env": {
214
+ "REDIS_HOST": "<your_redis_database_hostname>",
215
+ "REDIS_PORT": "<your_redis_database_port>",
216
+ "REDIS_USERNAME": "<your_redis_database_username>",
217
+ "REDIS_PWD": "<your_redis_database_password>",
218
+ }
219
+ }
220
+ }
221
+ }
222
+ ```
223
+
224
+ ``` commandline
225
+ // Example settings.json
201
226
{
202
227
"mcp": {
203
228
"servers": {
@@ -215,9 +240,6 @@ To use the Redis MCP Server with VS Code, you need:
215
240
"REDIS_PORT": "<your_redis_database_port>",
216
241
"REDIS_USERNAME": "<your_redis_database_username>",
217
242
"REDIS_PWD": "<your_redis_database_password>",
218
- "REDIS_SSL": True|False,
219
- "REDIS_CA_PATH": "<your_redis_ca_path>",
220
- "REDIS_CLUSTER_MODE": True|False
221
243
}
222
244
}
223
245
}
You can’t perform that action at this time.
0 commit comments