ダイスDB MCP
AI アプリケーション (ホスト/クライアント) と DiceDB データベース サーバー間の相互作用を可能にする、DiceDB 用のモデル コンテキスト プロトコル (MCP)サーバー実装。
この実装では、DiceDB Go SDKを使用して DiceDB と通信します。
デモビデオをチェックして、実際に動作する様子をご覧ください。
特徴
- DiceDB に PING して接続を確認します。
- DiceDB を通じてメッセージを ECHO します。
- キーによって DiceDB から値を取得します。
- DiceDB でキーと値のペアを設定します。
- DiceDB から 1 つ以上のキーを削除します。
- キーの整数値を 1 増やします。
- キーの整数値を 1 減らします。
インストール
バイナリをダウンロード
「リリース」ページから、オペレーティング システムとプロセッサ アーキテクチャに適したバイナリをダウンロードして使用できます。
Go経由でインストール
前提条件:
- Go 1.24以上
dicedb-mcp
バイナリへのパスを取得します。
ソースからビルド
以下の開発セクションを参照してください。
使用法
MCPホスト/クライアント
Claude Desktop の場合はclaude_desktop_config.json
、Cursor の場合はmcp.json
に以下を追加します。
OpenAIエージェントSDKを使用
以下の例は、 OpenAI Agents SDKでdicedb-mcp
サーバーを使用する方法を示しています。
利用可能なツール
ピン
DiceDB サーバーに ping を送信して接続を確認します。
エコー
DiceDB サーバーを通じてメッセージをエコーします。
得る
キーによって DiceDB から値を取得します。
セット
DiceDB にキーと値のペアを設定します。
デル
DiceDB から 1 つ以上のキーを削除します。
増加
キーの整数値を 1 増やします。
減算
キーの整数値を 1 減らします。
発達
リポジトリをフォークしてクローンします。
次のディレクトリに移動します:
依存関係をインストールします:
プロジェクトをビルドします。
MCP サーバーの構成を更新して、ローカル ビルドを指すようにします。
ライセンス
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
AI アプリケーションが DiceDB データベースと対話できるようにする MCP サーバー。
Related MCP Servers
- -securityAlicense-qualityThe Multi DB MCP Server is a high-performance implementation of the Database Model Context Protocol designed to revolutionize how AI agents interact with databases. Currently supporting MySQL and PostgreSQL databases.Last updated -164GoMIT License
- -securityAlicense-qualityAn MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.Last updated -2PythonMIT License
- -securityAlicense-qualityMCP-Server from your Database optimized for LLMs and AI-Agents. Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle Database, SQLite, ElasticSearch, DuckDBLast updated -368GoApache 2.0
- AsecurityAlicenseAqualityAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.Last updated -1032PythonMIT License