Loading...
Loading...
Loading...
> **Real $1M-level reasoning** through MCP protocol integration with Augment
# 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)**
```bash
# 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:
```json
{
"mcpServers": {
"wfgy": {
"command": "docker",
"args": ["exec", "wfgy-wfgy-1", "python", "-m", "wfgy_mcp.server"],
"env": {}
}
}
}
```
### **3. Test the Tools**
```python
# 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**
```bash
# 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](https://github.com/onestardao/WFGY) 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](https://github.com/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!** π
μ΄λ ν λ¬Έμλ μ€ν¬λ¦½νΈκ° λ€λ₯Έ **νλ‘ν μ½ / ν¬νΈ / νΈμ€νΈ** μ μλ 리μμ€ μ¬μ©νλ κ²μ μ ννλ μ μ± . μλ₯Ό λ€μ΄, λ€μκ³Ό κ°μ μ¬μ΄νΈμμ 리μμ€λ₯Ό λ€λ₯Έ κ³³μΌλ‘ μμ²νλ€κ³ νμ.
* **Production MDB**: updated monthly.
This document outlines the mandatory procedures for developing and verifying VCR elements (shaders, manifests, and assets) to ensure high-fidelity, centered, and non-clipping renders.
http://localhost:8000