wredis-mcp
by wisrovi
README.md
<p align="center">
<a href="https://linkedin.com/in/wisrovi-rodriguez"><img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" alt="LinkedIn" /></a>
<a href="https://wisrovi.dev"><img src="https://img.shields.io/badge/Author-wisrovi.dev-111827?style=for-the-badge&logo=google-chrome&logoColor=white" alt="Portal" /></a>
<a href="https://orcid.org/0009-0005-0710-1861"><img src="https://img.shields.io/badge/ORCID-0009--0005--0710--1861-A6CE39?style=for-the-badge&logo=orcid&logoColor=white" alt="ORCID" /></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge" alt="License" /></a>
</p>
# π₯ wredis-mcp
[](https://github.com/wisrovi/wredis_mcp)
[](LICENSE)
[](https://modelcontextprotocol.io)
**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:
```bash
pip install -e .
```
### 2. Integration
Get your agent-specific configuration block and installation commands by running:
```bash
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).
---
## π€ Autor & AfiliaciΓ³n Oficial
* **William Steve Rodriguez Villamizar (Wisrovi)**
* **Cargo:** Principal AI Engineer & Applied AI Solutions Architect | Scientific Researcher
* π§ **Email:** [wisrovi.rodriguez@gmail.com](mailto:wisrovi.rodriguez@gmail.com)
* π **Portal Oficial:** [wisrovi.dev](https://wisrovi.dev)
* πΌ **LinkedIn:** [wisrovi-rodriguez](https://www.linkedin.com/in/wisrovi-rodriguez/)
* π **ORCID:** [0009-0005-0710-1861](https://orcid.org/0009-0005-0710-1861)
* π¦ **PyPI:** [pypi.org/user/wisrovi/](https://pypi.org/user/wisrovi/)
* π **GitHub:** [@wisrovi](https://github.com/wisrovi)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues