Skip to content

Commit 52ff690

Browse files
authored
Merge pull request #72 from redis/url_specs
connecting with --url: add URL schema spec & usage instructions, remove Smithery integration
2 parents 2ae7f45 + 016a455 commit 52ff690

File tree

2 files changed

+35
-89
lines changed

2 files changed

+35
-89
lines changed

README.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![PyPI - Version](https://img.shields.io/pypi/v/redis-mcp-server)](https://pypi.org/project/redis-mcp-server/)
44
[![Python Version](https://img.shields.io/badge/python-3.13%2B-blue&logo=redis)](https://www.python.org/downloads/)
55
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt)
6-
[![smithery badge](https://smithery.ai/badge/@redis/mcp-redis)](https://smithery.ai/server/@redis/mcp-redis)
76
[![Verified on MseeP](https://mseep.ai/badge.svg)](https://mseep.ai/app/70102150-efe0-4705-9f7d-87980109a279)
87
[![Docker Image Version](https://img.shields.io/docker/v/mcp/redis?sort=semver&logo=docker&label=Docker)](https://hub.docker.com/r/mcp/redis)
98
[![codecov](https://codecov.io/gh/redis/mcp-redis/branch/master/graph/badge.svg?token=yenl5fzxxr)](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
102101
}
103102
```
104103

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".
106139

107140
### Testing the PyPI package
108141

@@ -454,14 +487,6 @@ The simplest way to configure MCP clients is using `uvx`. Add the following JSON
454487
}
455488
```
456489

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.
465490

466491
### VS Code with GitHub Copilot
467492

smithery.yaml

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)