{"id":27234461,"url":"https://github.com/pottekkat/dicedb-mcp","last_synced_at":"2026-05-04T05:32:44.849Z","repository":{"id":286941348,"uuid":"963041293","full_name":"pottekkat/dicedb-mcp","owner":"pottekkat","description":"A Model Context Protocol (MCP) server implementation for DiceDB to enable AI applications to interact with DiceDB databases.","archived":false,"fork":false,"pushed_at":"2025-04-09T05:20:23.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T05:25:24.632Z","etag":null,"topics":["dicedb","mcp","mcp-server","model-context-protocol","model-context-protocol-servers"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pottekkat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-09T04:20:02.000Z","updated_at":"2025-04-09T05:20:26.000Z","dependencies_parsed_at":"2025-04-09T05:25:33.228Z","dependency_job_id":"25045bd7-dc0c-4daf-b0e9-26d5b601bbb8","html_url":"https://github.com/pottekkat/dicedb-mcp","commit_stats":null,"previous_names":["pottekkat/dicedb-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottekkat%2Fdicedb-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottekkat%2Fdicedb-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottekkat%2Fdicedb-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottekkat%2Fdicedb-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pottekkat","download_url":"https://codeload.github.com/pottekkat/dicedb-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248247224,"owners_count":21071884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dicedb","mcp","mcp-server","model-context-protocol","model-context-protocol-servers"],"created_at":"2025-04-10T15:56:41.322Z","updated_at":"2026-05-04T05:32:44.844Z","avatar_url":"https://github.com/pottekkat.png","language":"Go","funding_links":[],"categories":["Database \u0026 Messaging MCP Servers","Databases"],"sub_categories":["How to Submit"],"readme":"# DiceDB MCP\n\nA [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server implementation for DiceDB to enable interactions between AI applications (hosts/clients) and DiceDB database servers.\n\nThis implementation uses the [DiceDB Go SDK](https://github.com/DiceDB/dicedb-go) to communicate with DiceDB.\n\nCheck out the [demo video](./demo.mov) to see it in action!\n\n## Features\n\n- PING DiceDB to check connectivity.\n- ECHO a message through DiceDB.\n- GET a value from DiceDB by key.\n- SET a key-value pair in DiceDB.\n- DEL one or more keys from DiceDB.\n- INCR the integer value of a key by one.\n- DECR the integer value of a key by one.\n\n## Installation\n\n### Download Binary\n\nYou can [download](https://github.com/pottekkat/dicedb-mcp/releases) and use the appropriate binary for your operating system and processor archetecture from the \"Releases\" page.\n\n### Install via Go\n\nPrerequisites:\n\n- Go 1.24 or higher\n\n```bash\ngo install github.com/pottekkat/dicedb-mcp@latest\n```\n\nGet the path to the `dicedb-mcp` binary:\n\n```bash\nwhich dicedb-mcp\n```\n\n### Build from Source\n\nSee [Development](#development) section below.\n\n## Usage\n\n### With MCP Hosts/Clients\n\nAdd this to your `claude_desktop_config.json` for Claude Desktop or `mcp.json` for Cursor:\n\n```json\n{\n    \"mcpServers\": {\n        \"dicedb-mcp\": {\n            \"command\": \"path/to/dicedb-mcp\"\n        }\n    }\n}\n```\n\n### With OpenAI Agents SDK\n\nThe example below shows how to use the `dicedb-mcp` server with the [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/):\n\n```python\nfrom agents import Agent, Runner, trace\nfrom agents.mcp import MCPServer, MCPServerStdio\nfrom dotenv import load_dotenv\nimport os\nimport openai\nimport asyncio\n\nload_dotenv()\n\n\nasync def run(mcp_server: MCPServer, prompt: str, server_url: str):\n    agent = Agent(name=\"DiceDB MCP\",\n                  instructions=f\"\"\"You can interact with a DiceDB database\n                                  running at {server_url}, use\n                                  this for url.\"\"\",\n                  mcp_servers=[mcp_server],)\n    result = await Runner.run(starting_agent=agent, input=prompt)\n    print(result.final_output)\n\n\nasync def main():\n    openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n\n    prompt = \"Can you change the value of the 'name' key to 'Rachel Green'?\"\n    server_url = \"localhost:7379\"\n\n    async with MCPServerStdio(\n        cache_tools_list=True,\n        params={\"command\": \"path/to/dicedb-mcp\", \"args\": [\"\"]},\n    ) as server:\n        with trace(workflow_name=\"DiceDB MCP\"):\n            await run(server, prompt, server_url)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n## Available Tools\n\n### ping\n\nPings a DiceDB server to check connectivity.\n\n### echo\n\nEchoes a message through the DiceDB server.\n\n### get\n\nRetrieves a value from DiceDB by key.\n\n### set\n\nSets a key-value pair in DiceDB.\n\n### del\n\nDeletes one or more keys from DiceDB.\n\n### incr\n\nIncrements the integer value of a key by one.\n\n### decr\n\nDecrements the integer value of a key by one.\n\n## Development\n\nFork and clone the repository:\n\n```bash\ngit clone https://github.com/username/dicedb-mcp.git\n```\n\nChange into the directory:\n\n```bash\ncd dicedb-mcp\n```\n\nInstall dependencies:\n\n```bash\nmake deps\n```\n\nBuild the project:\n\n```bash\nmake build\n```\n\nUpdate your MCP servers configuration to point to the local build:\n\n```json\n{\n    \"mcpServers\": {\n        \"dicedb-mcp\": {\n            \"command\": \"/path/to/dicedb-mcp/dist/dicedb-mcp\"\n        }\n    }\n}\n```\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottekkat%2Fdicedb-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpottekkat%2Fdicedb-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottekkat%2Fdicedb-mcp/lists"}