Last active
May 2, 2025 12:03
-
-
Save up1/a253439d720464c12c4e3b597cfe4c74 to your computer and use it in GitHub Desktop.
MCP Server with MongoDB and Redis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $git clone https://github.com/redis/mcp-redis.git | |
| $cd mcp-redis | |
| $docker image build -t mcp-redis . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "MongoDB": { | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "mongodb-mcp-server", | |
| "--connectionString", | |
| "mongodb://myuser:mypassword@localhost/demo-db" | |
| ] | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "MongoDB": { | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "mongodb-mcp-server", | |
| "--connectionString", | |
| "mongodb://myuser:mypassword@localhost/demo-db" | |
| ] | |
| }, | |
| "Redis": { | |
| "command": "docker", | |
| "args": [ | |
| "container", | |
| "run", | |
| "--rm", | |
| "--name", | |
| "redis-mcp-server", | |
| "-i", | |
| "-e", | |
| "REDIS_HOST=localhost", | |
| "-e", | |
| "REDIS_PORT=6379", | |
| "mcp-redis" | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment