MCP.so
登录

MCP Tool Server Redis

@yhwang

基本信息

分类

数据库

传输方式

stdio

作者

yhwang

关于 MCP Tool Server Redis

A MCP server which provides tools function to get/set key-value pairs data backed by Redis

MCP Tool Server Redis 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-tool-server-redis": {
      "command": "docker",
      "args": [
        "compose",
        "up",
        "-d"
      ]
    }
  }
}

MCP Tool Server Redis 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

—

常见问题

1

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

2

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

3

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.

4

What transport does the server use?

The server uses streamable HTTP as its transport mechanism.

5

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 服务器