Skip to main content

🔥 wredis-mcp

Version License MCP

Transform your AI Agents into expert WRedis Architects.

wredis-mcp is a professional Model Context Protocol (MCP) server that bridges the gap between AI Agents (Claude, Gemini, OpenCode) and WRedis. It empowers agents to search, design, and deploy high-performance Redis-backed services following strict industry-standard patterns.


✨ Key Features

  • 🔍 Expert Pattern Catalog: Query production-ready patterns across all WRedis data structures (Hash, Queue, Stream, Pub/Sub, SortedSet, Geo, Bitmap, HyperLogLog, Pipeline, Transaction, Cache, HA).
  • 🏗️ Strict Architecture Enforcement: Guides AI to output clean code using mandatory config/, cache/, repositories/, and main.py folder structures.
  • 📘 Architect's Manual: Built-in expertise for Monolith-to-Redis refactoring, TTL management, key naming, and atomicity patterns.
  • 💻 Unified CLI: Manage your MCP service with simple commands: run, start, stop, and config.
  • 🛡️ Privacy First: 100% local execution via stdio or SSE.

🚀 Quick Start

1. Installation

Clone the repository and run the automated installer, or install via pip:

pip install -e .

2. Integration

Get your agent-specific configuration block and installation commands by running:

wredis-mcp config

The CLI will dynamically detect your Python environment and provide exact copy-paste commands for Gemini CLI (e.g. gemini mcp add ...) and JSON blocks for Claude Desktop.


🛠️ CLI Usage

Command Description
wredis-mcp run Start the server in stdio mode (default for agents).
wredis-mcp start Start as an SSE server in the background.
wredis-mcp stop Stop the background server.
wredis-mcp config Generate and save JSON config to .agents/wredis-mcp.json.
wredis-mcp config --print Show JSON configuration in stdout (no file creation).
wredis-mcp help Show available tools and commands.

🛠️ MCP Tools

Tool Description
get_wredis_architect_blueprints Copy-pasteable expert code for caching, queues, streams, sessions and atomic transactions.
search_wredis_pattern Search the official/community catalog for production-ready Redis patterns.
deploy_wredis_scaffolding Deploy a professional WRedis project structure (config/, cache/, repositories/, main.py).
get_wredis_architect_manual Expert manual for building high-performance Redis-backed systems.

📂 Project Structure

  • src/wredis_mcp/: Core server logic and tools.
  • src/wredis_mcp/catalog.py: Pattern catalog synchronization with local fallbacks.
  • src/wredis_mcp/templates.py: Professional boilerplate definitions.
  • examples/: Sample implementations and use cases.

📄 License

MIT License - Crafted with ❤️ by William Rodriguez (wisrovi).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wredis_mcp-0.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wredis_mcp-0.1.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file wredis_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: wredis_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for wredis_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d689ef4e3f3dce6250d254159c71778d7a5c82d9274d0fa0c54363125cdc11a
MD5 2b172140b9d5768a1544402a284e52a8
BLAKE2b-256 8834ead26a1428860cc5c6cf99cd064108f1ba8f760f96231e1a9dcd50c81beb

See more details on using hashes here.

File details

Details for the file wredis_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wredis_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for wredis_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28b44f49663da06c3fa68c1a68a0b650e83de25be111c2280194bb85b8beb09d
MD5 a488352c6df124b93dcf7904bab85165
BLAKE2b-256 f3f902565b7016beef43741e5ea4b2bc5a4da6e95ad2e273b0172a58e4679868

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page