mcp-tool-server-redis
@yhwang
关于 mcp-tool-server-redis
A MCP server which provides tools function to get/set key-value pairs data backed by Redis
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-tool-server-redis": {
"command": "docker",
"args": [
"compose",
"up",
"-d"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcp-tool-server-redis?
mcp-tool-server-redis is a Model Context Protocol (MCP) server that provides tools to get, set, delete, and list key-value pairs backed by Redis. It is intended for developers who want to manage Redis data through the MCP tool interface.
How to use mcp-tool-server-redis?
Start the server using Docker Compose (docker compose up -d), which runs it at http://localhost:3000. Then interact with the server using either the streamable HTTP client from the MCP typescript‑sdk (e.g., npx tsx src/examples/client/simpleStreamableHttp.ts) or the mcp-cli tool (npx @wong2/mcp-cli --url http://localhost:3000/mcp). Use commands like list-tools to see available tools and call-tool set {"key": "...", "value": "..."} to perform operations.
Key features of mcp-tool-server-redis
- Provides four tools:
set,get,delete,list - Supports optional expiration when setting a key
- Runs via Docker Compose with a single command
- Exposes a streamable HTTP endpoint on port 3000
- Works with the MCP typescript‑sdk and
mcp-cli
Use cases of mcp-tool-server-redis
—
FAQ from mcp-tool-server-redis
What tools are available in mcp-tool-server-redis?
The server provides four tools: set (set a key-value pair with optional expiration), get (get value by key), delete (delete one or more keys), and list (list Redis keys matching a pattern).
How do I start the server?
Run docker compose up -d in the project directory. This starts the MCP server with Redis as the backend, available at http://localhost:3000.
How can I interact with the server?
You can use the MCP typescript‑sdk’s simple streamable HTTP client (e.g., npx tsx src/examples/client/simpleStreamableHttp.ts) or the mcp-cli tool (npx @wong2/mcp-cli --url http://localhost:3000/mcp). Both provide an interactive prompt to list and call tools.
What transport does the server use?
The server uses streamable HTTP as its transport mechanism.
Does the server support setting a key with expiration?
Yes, the set tool accepts an optional expiration parameter when setting a key-value pair.
数据库 分类下的更多 MCP 服务器
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.

PostgreSQL
modelcontextprotocolModel Context Protocol Servers
Chroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeroNeon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
评论