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.2.tar.gz (27.0 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.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wredis_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 27.0 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.2.tar.gz
Algorithm Hash digest
SHA256 2e5cd6a4999c4981e806668c09fc38da64c38994a49a4ea614bdb86a117db57a
MD5 c1231cb379f48a131d02e852621e69b5
BLAKE2b-256 9725d7601b7a6961879da41e60265a997e590becfd48ea5d676e60d82b0b305c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wredis_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd9182fb13944d7153a58b07e033e7408ce702b9d7389433a098c72f39224edf
MD5 5ecf2adddb9b847d4a13c71ead527455
BLAKE2b-256 e6ffbdf8f1f02f1fcdd378c12ffb783d6ee477941d6231ff4a9544965e2392cd

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

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