@universal-mcp-toolkit/server-redis 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.well-known/mcp-server.json +35 -35
- package/LICENSE +21 -21
- package/README.md +43 -0
- package/package.json +4 -8
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/json",
|
|
3
|
-
"name": "redis",
|
|
4
|
-
"title": "Redis MCP Server",
|
|
5
|
-
"description": "Key inspection and cache diagnostics tools for Redis.",
|
|
6
|
-
"version": "0.1.0",
|
|
7
|
-
"transports": [
|
|
8
|
-
"stdio",
|
|
9
|
-
"http+sse"
|
|
10
|
-
],
|
|
11
|
-
"authentication": {
|
|
12
|
-
"mode": "environment-variables",
|
|
13
|
-
"required": [
|
|
14
|
-
"REDIS_URL"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"capabilities": {
|
|
18
|
-
"tools": true,
|
|
19
|
-
"resources": true,
|
|
20
|
-
"prompts": true
|
|
21
|
-
},
|
|
22
|
-
"packageName": "@universal-mcp-toolkit/server-redis",
|
|
23
|
-
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
24
|
-
"tools": [
|
|
25
|
-
"get-key",
|
|
26
|
-
"set-key",
|
|
27
|
-
"inspect-server-info"
|
|
28
|
-
],
|
|
29
|
-
"resources": [
|
|
30
|
-
"cache-overview"
|
|
31
|
-
],
|
|
32
|
-
"prompts": [
|
|
33
|
-
"cache-debug"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/json",
|
|
3
|
+
"name": "redis",
|
|
4
|
+
"title": "Redis MCP Server",
|
|
5
|
+
"description": "Key inspection and cache diagnostics tools for Redis.",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"transports": [
|
|
8
|
+
"stdio",
|
|
9
|
+
"http+sse"
|
|
10
|
+
],
|
|
11
|
+
"authentication": {
|
|
12
|
+
"mode": "environment-variables",
|
|
13
|
+
"required": [
|
|
14
|
+
"REDIS_URL"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"capabilities": {
|
|
18
|
+
"tools": true,
|
|
19
|
+
"resources": true,
|
|
20
|
+
"prompts": true
|
|
21
|
+
},
|
|
22
|
+
"packageName": "@universal-mcp-toolkit/server-redis",
|
|
23
|
+
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
24
|
+
"tools": [
|
|
25
|
+
"get-key",
|
|
26
|
+
"set-key",
|
|
27
|
+
"inspect-server-info"
|
|
28
|
+
],
|
|
29
|
+
"resources": [
|
|
30
|
+
"cache-overview"
|
|
31
|
+
],
|
|
32
|
+
"prompts": [
|
|
33
|
+
"cache-debug"
|
|
34
|
+
]
|
|
35
|
+
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 universal-mcp-toolkit
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 universal-mcp-toolkit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Redis MCP server for checking keys, TTLs, and basic cache health in Redis.
|
|
2
|
+
|
|
3
|
+
## What it can do
|
|
4
|
+
- `get-key` — read a key, show its type, TTL, size, and a decoded preview.
|
|
5
|
+
- `set-key` — write a key with JSON or string data, plus an optional TTL, when you explicitly opt in to writes.
|
|
6
|
+
- `inspect-server-info` — read Redis `INFO` and break it into easy-to-scan fields.
|
|
7
|
+
|
|
8
|
+
## Setup
|
|
9
|
+
You only need 1 env var:
|
|
10
|
+
- `REDIS_URL` — your Redis connection string. If you use Redis Cloud, open your database's Connect flow and copy the client connection details: https://redis.io/docs/latest/operate/rc/databases/connect/ . If you run Redis locally, `redis://localhost:6379` usually works.
|
|
11
|
+
|
|
12
|
+
## Claude Desktop config
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"mcpServers": {
|
|
16
|
+
"redis": {
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "@universal-mcp-toolkit/server-redis@latest"],
|
|
19
|
+
"env": {
|
|
20
|
+
"REDIS_URL": "redis://default:password@your-redis-host:6379"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Cursor config
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"mcpServers": {
|
|
31
|
+
"redis": {
|
|
32
|
+
"command": "npx",
|
|
33
|
+
"args": ["-y", "@universal-mcp-toolkit/server-redis@latest"],
|
|
34
|
+
"env": {
|
|
35
|
+
"REDIS_URL": "redis://default:password@your-redis-host:6379"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Quick example
|
|
43
|
+
"Check why `session:user:42` keeps vanishing from Redis. Use `get-key` to inspect it, then run `inspect-server-info` and look for eviction or memory clues before you suggest any write."
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@universal-mcp-toolkit/server-redis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Key inspection and cache diagnostics tools for Redis.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
|
-
"server-redis": "./dist/index.js",
|
|
9
8
|
"umt-redis": "./dist/index.js"
|
|
10
9
|
},
|
|
11
10
|
"repository": {
|
|
12
11
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/universal-mcp-toolkit/universal-mcp-toolkit.git"
|
|
14
13
|
},
|
|
15
|
-
"homepage": "https://github.com/
|
|
14
|
+
"homepage": "https://github.com/universal-mcp-toolkit/universal-mcp-toolkit#readme",
|
|
16
15
|
"exports": {
|
|
17
16
|
".": {
|
|
18
17
|
"types": "./dist/index.d.ts",
|
|
@@ -36,13 +35,10 @@
|
|
|
36
35
|
"diagnostics"
|
|
37
36
|
],
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@universal-mcp-toolkit/core": "0.
|
|
38
|
+
"@universal-mcp-toolkit/core": "0.2.0",
|
|
40
39
|
"redis": "^5.11.0",
|
|
41
40
|
"zod": "^4.3.6"
|
|
42
41
|
},
|
|
43
|
-
"publishConfig": {
|
|
44
|
-
"access": "public"
|
|
45
|
-
},
|
|
46
42
|
"scripts": {
|
|
47
43
|
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
48
44
|
"dev": "tsx watch src/index.ts",
|