You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove environment variable logging and simplify configuration
- Remove set_redis_env_from_config function that was logging 'Setting REDIS_*' messages
- Simplify configuration by using REDIS_CFG dictionary directly instead of environment variables
- Remove MCP transport configuration options (MCP_TRANSPORT, MCP_HOST, MCP_PORT)
- Update CLI to use stdio transport only
- Refactor configuration management for better maintainability
|`MCP_TRANSPORT`| Use the `stdio`, `streamable-http` or `sse` transport |`stdio`|
144
-
|`MCP_HOST`| Server host when `streamable-http` or `sse` are set |`127.0.0.1`|
145
-
|`MCP_PORT`| Server port when `streamable-http` or `sse` are set |`8000`|
140
+
146
141
147
142
148
143
There are several ways to set environment variables:
@@ -170,71 +165,6 @@ OR,
170
165
```
171
166
This method is useful for temporary overrides or quick testing.
172
167
173
-
## Transports
174
-
175
-
This MCP server can be configured to handle requests locally, running as a process and communicating with the MCP client via `stdin` and `stdout`.
176
-
This is the default configuration, `stdio`. The `streamable-http` and `sse` (deprecated) transports are also configurable, which make the server available over the network.
177
-
Configure the `MCP_TRANSPORT` variable accordingly.
178
-
179
-
> Authentication has not yet been implemented, and [attackers could use DNS rebinding](https://modelcontextprotocol.io/docs/concepts/transports#security-considerations) to access the server.
180
-
181
-
### Streamable HTTP
182
-
183
-
```commandline
184
-
export MCP_TRANSPORT="streamable-http"
185
-
```
186
-
187
-
Then start the server.
188
-
189
-
```commandline
190
-
uv run src/main.py
191
-
```
192
-
193
-
Configure in GitHub Copilot
194
-
195
-
```commandline
196
-
"mcp": {
197
-
"servers": {
198
-
"redis-mcp": {
199
-
"type": "http",
200
-
"url": "http://127.0.0.1:8000/mcp/"
201
-
},
202
-
}
203
-
},
204
-
```
205
-
206
-
### SSE (deprecated)
207
-
208
-
```commandline
209
-
export MCP_TRANSPORT="sse"
210
-
```
211
-
212
-
Then start the server.
213
-
214
-
```commandline
215
-
uv run src/main.py
216
-
```
217
-
218
-
Test the server:
219
-
220
-
```commandline
221
-
curl -i http://127.0.0.1:8000/sse
222
-
HTTP/1.1 200 OK
223
-
```
224
-
225
-
Integrate with your favorite tool or client. The VS Code configuration for GitHub Copilot is:
0 commit comments