|
3 | 3 | [](https://pypi.org/project/redis-mcp-server/) |
4 | 4 | [](https://www.python.org/downloads/) |
5 | 5 | [](./LICENSE.txt) |
6 | | -[](https://smithery.ai/server/@redis/mcp-redis) |
7 | 6 | [](https://mseep.ai/app/70102150-efe0-4705-9f7d-87980109a279) |
8 | 7 | [](https://hub.docker.com/r/mcp/redis) |
9 | 8 | [](https://codecov.io/gh/redis/mcp-redis) |
@@ -102,7 +101,41 @@ The `uvx` command will download the server on the fly (if not cached already), c |
102 | 101 | } |
103 | 102 | ``` |
104 | 103 |
|
105 | | -You will find examples for different platforms along the README. |
| 104 | +#### URL specification |
| 105 | + |
| 106 | +The format to specify the `--url` argument follows the [redis](https://www.iana.org/assignments/uri-schemes/prov/redis) and [rediss](https://www.iana.org/assignments/uri-schemes/prov/rediss) schemes: |
| 107 | + |
| 108 | +```commandline |
| 109 | +redis://user:secret@localhost:6379/0?foo=bar&qux=baz |
| 110 | +``` |
| 111 | + |
| 112 | +As an example, you can easily connect to a localhost server with: |
| 113 | + |
| 114 | +```commandline |
| 115 | +redis://localhost:6379/0 |
| 116 | +``` |
| 117 | + |
| 118 | +Where `0` is the [logical database](https://redis.io/docs/latest/commands/select/) you'd like to connect to. |
| 119 | + |
| 120 | +For an encrypted connection to the database (e.g., connecting to a [Redis Cloud](https://redis.io/cloud/) database), you'd use the `rediss` scheme. |
| 121 | + |
| 122 | +```commandline |
| 123 | +rediss://user:secret@localhost:6379/0?foo=bar&qux=baz |
| 124 | +``` |
| 125 | + |
| 126 | +To verify the server's identity, specify `ssl_ca_certs`. |
| 127 | + |
| 128 | +```commandline |
| 129 | +rediss://user:secret@hostname:port?ssl_cert_reqs=required&ssl_ca_certs=path_to_the_certificate |
| 130 | +``` |
| 131 | + |
| 132 | +For an unverified connection, set `ssl_cert_reqs` to `none` |
| 133 | + |
| 134 | +```commandline |
| 135 | +rediss://user:secret@hostname:port?ssl_cert_reqs=none |
| 136 | +``` |
| 137 | + |
| 138 | +Configure your connection using the available options in the section "Available CLI Options". |
106 | 139 |
|
107 | 140 | ### Testing the PyPI package |
108 | 141 |
|
@@ -454,14 +487,6 @@ The simplest way to configure MCP clients is using `uvx`. Add the following JSON |
454 | 487 | } |
455 | 488 | ``` |
456 | 489 |
|
457 | | -If you'd like to test the [Redis MCP Server](https://smithery.ai/server/@redis/mcp-redis) via Smithery, you can configure Claude Desktop automatically: |
458 | | - |
459 | | -```bash |
460 | | -npx -y @smithery/cli install @redis/mcp-redis --client claude |
461 | | -``` |
462 | | - |
463 | | -Follow the prompt and provide the details to configure the server and connect to Redis (e.g. using a Redis Cloud database). |
464 | | -The procedure will create the proper configuration in the `claude_desktop_config.json` configuration file. |
465 | 490 |
|
466 | 491 | ### VS Code with GitHub Copilot |
467 | 492 |
|
|
0 commit comments