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
docs: document Docker as zero-install MCP option (#647) (#659)
Add .mcp.json snippets for all three Docker approaches: environment
variables, mounted config, and --network host for local clusters.
Update README MCP section and MCP getting-started guide with
zero-install Docker examples.
See the [MCP Documentation](https://redis-field-engineering.github.io/redisctl-docs/mcp/) for full setup instructions including [Docker options](https://redis-field-engineering.github.io/redisctl-docs/getting-started/docker/#mcp-server-zero-install).
The Docker image also includes `redisctl-mcp` for AI assistant integration:
89
+
The Docker image includes `redisctl-mcp`, so you can use the MCP server with your AI assistant without installing anything. Copy one of the `.mcp.json` snippets below and start chatting.
90
90
91
-
```bash
92
-
# Run MCP server with environment credentials
93
-
docker run -i --rm \
94
-
-e REDIS_ENTERPRISE_URL \
95
-
-e REDIS_ENTERPRISE_USER \
96
-
-e REDIS_ENTERPRISE_PASSWORD \
97
-
ghcr.io/redis-developer/redisctl \
98
-
redisctl-mcp --read-only=false
91
+
### Option 1: Environment Variables (Simplest)
99
92
100
-
# Or mount config for profile-based auth
101
-
docker run -i --rm \
102
-
-v ~/.config/redisctl:/root/.config/redisctl:ro \
103
-
ghcr.io/redis-developer/redisctl \
104
-
redisctl-mcp --profile my-profile
93
+
Pass credentials as environment variables. The password is pulled from your host environment rather than hardcoded:
`--network host` is required on Linux. On macOS, Docker Desktop routes `host.docker.internal` to the host automatically, but `--network host` is the simplest cross-platform approach.
159
+
160
+
### Running from the CLI
161
+
162
+
You can also run the MCP server directly:
163
+
164
+
```bash
165
+
# With environment credentials
166
+
docker run -i --rm \
167
+
-e REDIS_ENTERPRISE_URL \
168
+
-e REDIS_ENTERPRISE_USER \
169
+
-e REDIS_ENTERPRISE_PASSWORD \
170
+
ghcr.io/redis-developer/redisctl \
171
+
redisctl-mcp
172
+
173
+
# With mounted config
174
+
docker run -i --rm \
175
+
-v ~/.config/redisctl:/root/.config/redisctl:ro \
176
+
ghcr.io/redis-developer/redisctl \
177
+
redisctl-mcp --profile my-profile
178
+
```
179
+
180
+
!!! tip
181
+
Native installation is recommended for regular MCP usage since Docker adds latency to each tool call. Docker is best for quick trials and CI environments.
0 commit comments