WFGY MCP Server
Enables real $1M-level reasoning through MCP protocol integration with Augment, providing tools for AI problem diagnosis, semantic analysis, and workflow optimization.
README
WFGY MCP Server - Augment Integration
Real $1M-level reasoning through MCP protocol integration with Augment
This repository contains an enhanced version of the WFGY (What's For Generating You) project with full Model Context Protocol (MCP) integration for Augment compatibility.
๐ What This Provides
11 Production-Ready WFGY Tools
- โ wfgy_engine_run - Core WFGY reasoning with variance reduction
- โ wfgy_bbmc_process - BBMC Semantic Residue computation
- โ wfgy_bbpf_analyze - BBPF Workflow stability analysis
- โ wfgy_bbcr_recover - BBCR System state recovery
- โ wfgy_bbam_modulate - BBAM Attention modulation
- โ wfgy_problem_search - WFGY-enhanced problem search
- โ wfgy_problemmap_index - Content indexing with WFGY
- ๐ wfgy_problemmap_search - Structured ProblemMap search
- ๐ wfgy_problemmap_get - Specific problem retrieval (1-16)
- ๐ wfgy_problemmap_diagnose - Symptom-based diagnosis
- โ wfgy_code_analyze - WFGY-enhanced code analysis
Enhanced ProblemMap Access
Access to 16 structured WFGY problems with specific fixes:
| # | Problem | Category | Modules | Status |
|---|---|---|---|---|
| 1 | Hallucination & Chunk Drift | IN | BBCR, BBMC | โ Stable |
| 2 | Interpretation Collapse | RE | BBCR | โ Stable |
| 3 | Long Reasoning Chains | RE | BBMC, Tree | โ Stable |
| 4 | Bluffing / Overconfidence | RE | BBCR, ฮป_observe | โ Stable |
| 5 | Semantic โ Embedding | IN | BBMC, BBAM | โ Stable |
| 6 | Logic Collapse & Recovery | RE | BBCR, BBPF | โ Stable |
| 7 | Memory Breaks Across Sessions | ST | Tree, BBMC | โ Stable |
| 8 | Multi-Agent Role Drift | ST | BBCR, BBPF | โ Stable |
๐ง Quick Start
1. Docker Deployment (Recommended)
# Clone your repository
git clone https://github.com/YOUR_USERNAME/WFGY-MCP.git
cd WFGY-MCP
# Start the MCP server
docker compose up -d
# Server runs on http://localhost:8052
2. Augment Integration
Add to your Augment MCP configuration:
{
"mcpServers": {
"wfgy": {
"command": "docker",
"args": ["exec", "wfgy-wfgy-1", "python", "-m", "wfgy_mcp.server"],
"env": {}
}
}
}
3. Test the Tools
# Example: Diagnose AI problems
wfgy_problemmap_diagnose(symptoms="hallucination and wrong content")
# Example: Analyze workflow stability
wfgy_bbpf_analyze(workflow="data input -> processing -> output")
# Example: Compute semantic residue
wfgy_bbmc_process(text="The universe is expanding", context="cosmology")
๐ Key Features
Real WFGY Processing
- โ Authentic variance reduction calculations
- โ Semantic residue computation with real BBMC
- โ Workflow stability analysis with BBPF
- โ System recovery protocols with BBCR
- โ Attention modulation with BBAM
Structured Knowledge Access
- ๐ฏ 16 documented problems with specific fixes
- ๐ Symptom-based diagnosis with pattern matching
- ๐ Category filtering (IN, RE, ST, OP)
- ๐ ๏ธ Module-specific solutions (BBMC, BBCR, BBPF, BBAM)
Production Ready
- ๐ณ Docker deployment with docker-compose
- ๐งช Comprehensive test suite with contract tests
- ๐ Full MCP compliance for Augment integration
- ๐ง Tool naming compatibility (fixed dots โ underscores)
๐ ๏ธ Development
Local Development
# Install dependencies
pip install -r requirements.txt
# Run tests
pytest tests/
# Start development server
python -m wfgy_mcp.server
Project Structure
wfgy_mcp/
โโโ server.py # Main MCP server
โโโ schemas.py # Pydantic schemas
โโโ wfgy_integration.py # WFGY SDK integration
โโโ problemmap.py # ProblemMap data access
docker/
โโโ run_uvicorn.sh # Docker startup script
โโโ Dockerfile.mcp # MCP server container
tests/
โโโ contract/ # MCP contract tests
โโโ test_*.py # Unit tests
๐ What's Enhanced
This repository builds on the original WFGY project with:
MCP Integration
- โ Full Model Context Protocol implementation
- โ Augment-compatible tool naming
- โ JSON-RPC 2.0 compliance
- โ Proper error handling and validation
Enhanced ProblemMap
- ๐ Structured access to 16 core problems
- ๐ Symptom-based diagnostic tools
- ๐ Category and module filtering
- ๐ Real-time problem recommendations
Production Deployment
- ๐ณ Docker containerization
- ๐ง Environment configuration
- ๐ Health checks and monitoring
- ๐งช Automated testing pipeline
๐ฏ Use Cases
- AI Debugging: Diagnose and fix AI reasoning problems
- Semantic Analysis: Compute semantic residue and variance
- Workflow Optimization: Analyze process stability
- Code Quality: WFGY-enhanced code analysis
- Problem Solving: Access structured AI problem solutions
๐ License
Based on the original WFGY project. Enhanced with MCP integration.
๐ Credits
- Original WFGY: onestardao/WFGY
- MCP Integration: Enhanced for Augment compatibility
- Enhanced ProblemMap: Structured access to WFGY knowledge base
Ready to unlock $1M-level AI reasoning in Augment! ๐
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.