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.3.tar.gz (27.2 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.3-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wredis_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 27.2 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.3.tar.gz
Algorithm Hash digest
SHA256 7282e543baa92d60668ebd3674f89c104c6f15fe67a2731d86c444bc9ef75eef
MD5 43f351d00f9df991567ceb69cf5674aa
BLAKE2b-256 e44f2deb23e80daf502c1e0d678485c85585fe883d7164afd95535b42f260fef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wredis_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 290a69637a48ea612437237e14d387ca658cb6dad76a2a1f9b3d7965f12dbb0e
MD5 e3ad05f6f4d0d5448c0c349655eea29d
BLAKE2b-256 fe817eb92a79443797a4278a31c07b61874ce864e3c67a8002bcfc7d5bc7d448

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

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