Skip to content

Commit 0552364

Browse files
authored
feat: add Redis MCP server definition (#67)
* Add Redis MCP server definition Official Redis MCP server for database operations. Execute commands, manage keys, and work with data structures. Uses redis-mcp-server via uvx. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx * fix: update server definition (input type 'password' -> 'text' for REDIS_PWD) * fix: rename server files with transport suffix - com.redis-mcp.json -> com.redis-mcp-uvx.json (id: com.redis-mcp-uvx) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> * feat(redis): add Docker variant using mcp/redis image Add Docker transport variant using the official mcp/redis Docker Hub image. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> --------- Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent dd00251 commit 0552364

2 files changed

Lines changed: 175 additions & 0 deletions

File tree

servers/com.redis-mcp-docker.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.redis-mcp-docker",
4+
"name": "Redis (Docker)",
5+
"alias": "redis-docker",
6+
"description": "Interact with Redis databases via Docker. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.",
7+
"icon": "https://avatars.githubusercontent.com/u/1529926?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"database"
11+
],
12+
"tags": [
13+
"redis",
14+
"cache",
15+
"key-value",
16+
"database",
17+
"in-memory",
18+
"docker"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "docker",
23+
"args": [
24+
"run", "-i", "--rm",
25+
"-e", "REDIS_HOST",
26+
"-e", "REDIS_PORT",
27+
"-e", "REDIS_PWD",
28+
"mcp/redis"
29+
],
30+
"env": {
31+
"REDIS_HOST": "${input:REDIS_HOST}",
32+
"REDIS_PORT": "${input:REDIS_PORT}",
33+
"REDIS_PWD": "${input:REDIS_PWD}"
34+
},
35+
"metadata": {
36+
"inputs": [
37+
{
38+
"id": "REDIS_HOST",
39+
"label": "Redis Host",
40+
"description": "Hostname or IP of your Redis instance. Use host.docker.internal for local Redis.",
41+
"type": "text",
42+
"required": true,
43+
"secret": false,
44+
"placeholder": "host.docker.internal"
45+
},
46+
{
47+
"id": "REDIS_PORT",
48+
"label": "Redis Port",
49+
"description": "Port of your Redis instance.",
50+
"type": "text",
51+
"required": false,
52+
"secret": false,
53+
"placeholder": "6379"
54+
},
55+
{
56+
"id": "REDIS_PWD",
57+
"label": "Redis Password",
58+
"description": "Password for Redis authentication. Leave empty for local instances without auth.",
59+
"type": "text",
60+
"required": false,
61+
"secret": true
62+
}
63+
]
64+
}
65+
},
66+
"auth": {
67+
"type": "optional_api_key",
68+
"instructions": "Provide Redis connection details. Password is optional for local instances."
69+
},
70+
"contributor": {
71+
"name": "Redis",
72+
"github": "redis",
73+
"url": "https://redis.io"
74+
},
75+
"links": {
76+
"repository": "https://github.com/redis/mcp-redis",
77+
"homepage": "https://redis.io",
78+
"documentation": "https://github.com/redis/mcp-redis#readme"
79+
},
80+
"platforms": [
81+
"all"
82+
],
83+
"capabilities": {
84+
"tools": true,
85+
"resources": false,
86+
"prompts": false,
87+
"read_only_mode": false
88+
}
89+
}

servers/com.redis-mcp-uvx.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.redis-mcp-uvx",
4+
"name": "Redis (uvx)",
5+
"alias": "redis",
6+
"description": "Interact with Redis databases. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.",
7+
"icon": "https://avatars.githubusercontent.com/u/1529926?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"database"
11+
],
12+
"tags": [
13+
"redis",
14+
"cache",
15+
"key-value",
16+
"database",
17+
"in-memory",
18+
"data-structures"
19+
],
20+
"transport": {
21+
"type": "stdio",
22+
"command": "uvx",
23+
"args": [
24+
"redis-mcp-server"
25+
],
26+
"env": {
27+
"REDIS_HOST": "${input:REDIS_HOST}",
28+
"REDIS_PORT": "${input:REDIS_PORT}",
29+
"REDIS_PWD": "${input:REDIS_PWD}"
30+
},
31+
"metadata": {
32+
"inputs": [
33+
{
34+
"id": "REDIS_HOST",
35+
"label": "Redis Host",
36+
"description": "Hostname or IP of your Redis instance.",
37+
"type": "text",
38+
"required": true,
39+
"secret": false,
40+
"placeholder": "localhost"
41+
},
42+
{
43+
"id": "REDIS_PORT",
44+
"label": "Redis Port",
45+
"description": "Port of your Redis instance.",
46+
"type": "text",
47+
"required": false,
48+
"secret": false,
49+
"placeholder": "6379"
50+
},
51+
{
52+
"id": "REDIS_PWD",
53+
"label": "Redis Password",
54+
"description": "Password for Redis authentication. Leave empty for local instances without auth.",
55+
"type": "text",
56+
"required": false,
57+
"secret": true,
58+
"placeholder": ""
59+
}
60+
]
61+
}
62+
},
63+
"auth": {
64+
"type": "optional_api_key",
65+
"instructions": "Provide Redis connection details. Password is optional for local instances."
66+
},
67+
"contributor": {
68+
"name": "Redis",
69+
"github": "redis",
70+
"url": "https://redis.io"
71+
},
72+
"links": {
73+
"repository": "https://github.com/redis/mcp-redis",
74+
"homepage": "https://redis.io",
75+
"documentation": "https://github.com/redis/mcp-redis#readme"
76+
},
77+
"platforms": [
78+
"all"
79+
],
80+
"capabilities": {
81+
"tools": true,
82+
"resources": false,
83+
"prompts": false,
84+
"read_only_mode": false
85+
}
86+
}

0 commit comments

Comments
 (0)