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! 🚀
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。