@@ -90,7 +90,7 @@ export OPENAI_API_KEY="<openai_token>"
90
90
And run the [ application] ( ./examples/redis_assistant.py ) .
91
91
92
92
``` commandline
93
- python3.13 redis_assistant.py
93
+ python3.13 redis_assistant.py
94
94
```
95
95
96
96
You can troubleshoot your agent workflows using the [ OpenAI dashboard] ( https://platform.openai.com/traces/ ) .
@@ -105,7 +105,7 @@ If you'd like to test the [Redis MCP Server](https://smithery.ai/server/@redis/m
105
105
npx -y @smithery/cli install @redis/mcp-redis --client claude
106
106
```
107
107
108
- Follow the prompt and provide the details to configure the server and connect to Redis (e.g. using a Redis Cloud database).
108
+ Follow the prompt and provide the details to configure the server and connect to Redis (e.g. using a Redis Cloud database).
109
109
The procedure will create the proper configuration in the ` claude_desktop_config.json ` configuration file.
110
110
111
111
### Manual configuration
@@ -114,7 +114,7 @@ You can configure Claude Desktop to use this MCP Server.
114
114
115
115
1 . Specify your Redis credentials and TLS configuration
116
116
2 . Retrieve your ` uv ` command full path (e.g. ` which uv ` )
117
- 3 . Edit the ` claude_desktop_config.json ` configuration file
117
+ 3 . Edit the ` claude_desktop_config.json ` configuration file
118
118
- on a MacOS, at ` ~/Library/Application\ Support/Claude/ `
119
119
120
120
``` commandline
@@ -183,6 +183,51 @@ You can troubleshoot problems by tailing the log file.
183
183
tail -f ~/Library/Logs/Claude/mcp-server-redis.log
184
184
```
185
185
186
+ ## Integration with VS Code
187
+
188
+ To use the Redis MCP Server with VS Code, you need:
189
+
190
+ 1 . Enable the [ agent mode] ( https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode ) tools. Add the following to your ` settings.json ` :
191
+
192
+ ``` commandline
193
+ {
194
+ "chat.agent.enabled": true
195
+ }
196
+ ```
197
+
198
+ 2 . Add the Redis MCP Server configuration to your ` settings.json ` :
199
+
200
+ ``` commandline
201
+ {
202
+ "mcp": {
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
+ "REDIS_SSL": True|False,
219
+ "REDIS_CA_PATH": "<your_redis_ca_path>",
220
+ "REDIS_CLUSTER_MODE": True|False
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+ ```
227
+
228
+ For more information, see the [ VS Code documentation] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers ) .
229
+
230
+
186
231
## Testing
187
232
188
233
You can use the [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) for visual debugging of this MCP Server.
@@ -207,4 +252,4 @@ npx @modelcontextprotocol/inspector uv run src/main.py
207
252
This project is licensed under the ** MIT License** .
208
253
209
254
## Contact
210
- For questions or support, reach out via [ GitHub Issues] ( https://github.com/redis/mcp-redis/issues ) .
255
+ For questions or support, reach out via [ GitHub Issues] ( https://github.com/redis/mcp-redis/issues ) .
0 commit comments