Skip to main content

🦅 wpipe-mcp

Version License MCP

Transform your AI Agents into expert WPipe Architects.

wpipe-mcp is a professional Model Context Protocol (MCP) server that bridges the gap between AI Agents (Claude, Gemini, OpenCode) and the wisrovi SUITE. It empowers agents to search, design, validate, and deploy high-performance pipelines following strict industry-standard patterns.


✨ Key Features

  • 🔍 Expert Catalog Search: Query over 100+ production-ready steps from Official and Community registries.
  • 🏗️ Strict Architecture Enforcement: Guides AI to output clean code using mandatory dto/, states/, and main.py folder structures, including the new internal microservice app/ layout.
  • 🛡️ Project Architectural Validation: Verify that any existing code structure complies with the WPipe standards using validate_wpipe_project to check directories, step decorators, and context schemas.
  • ⚙️ Automated Monolith Refactoring: Automatically split monolithic Python scripts into modular class-based WPipe steps (@step) and shared contexts with refactor_monolith_to_wpipe.
  • 📊 Automatic Pipeline Documentation: Generate complete Mermaid DAG flowcharts and technical markdown specifications directly in the project's root README.md with document_wpipe_project.
  • 📘 Architect's Manual: Built-in expertise for Monolith-to-Pipeline refactoring, performance tracking, and resilient state management.
  • 💻 Unified CLI: Manage your MCP service with simple commands: run, start, stop, and config.
  • 🔒 Privacy First: 100% local execution via stdio or SSE.

🛠️ Key Technologies & Libraries

This MCP server relies on the following key tools and libraries:

  • Model Context Protocol (MCP): Server protocol implementation for agent interaction.
  • FastMCP (mcp-sdk-python): Framework to declare tools and resources cleanly.
  • Pydantic: Structural validation, schema checks, and context enforcement.
  • Pytest & Pytest-Cov: Automated unit testing and coverage report analysis.
  • Ruff: Modern linting and styling consistency.

🚀 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:

wpipe-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.


🧪 Running Tests

Unit tests are written with pytest. You can run them in three ways:

1. Locally (with development dependencies installed)

To execute tests locally with python path environment set up:

PYTHONPATH=src pytest tests/ -v

2. Inside a Docker Container (Recommended)

To run tests in a containerized environment to isolate dependencies:

./run_tests_docker.sh

3. Calculate Code Coverage

To run tests and get a detailed statement of code coverage:

./run_coverage.sh

This generates an HTML report in htmlcov/index.html.


📂 Project Structure

  • src/wpipe_mcp/: Core server logic and tools.
  • src/wpipe_mcp/catalog.py: Real-time GitHub catalog synchronization.
  • src/wpipe_mcp/templates.py: Professional boilerplate definitions.
  • examples/: Sample implementations and use cases.
  • tests/: Automated unit tests verifying blueprints, scaffolding, and validation.

📄 License

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

Release files for wpipe-mcp 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wpipe-mcp 0.3.2
File Size Uploaded
wpipe_mcp-0.3.2.tar.gz 22.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wpipe-mcp 0.3.2
File Interpreter ABI Platform
wpipe_mcp-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / wpipe_mcp-0.3.2.tar.gz

Download URL wpipe_mcp-0.3.2.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
49f7caa17df9b4327b4423ee9869a7c518a9aaeff3984659374dfc1f62c81112
BLAKE2b-256 checksum
How to use checksums
beea1378c5cd137d0506397e699ae25ae6994a6435806516747c39757781f62f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / wpipe_mcp-0.3.2-py3-none-any.whl

Download URL wpipe_mcp-0.3.2-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2edc63e53992f92615aefd69146372afbeaaf862b3978421f6d00cd1c9e96ae4
BLAKE2b-256 checksum
How to use checksums
8152c274faa2ceadc77134f19d55f774b7f25e7c6ee1c178e1f6a344e01e7623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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