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.

コメント

「データベース」の他のコンテンツ