MCP Development AI System
Comprehensive documentation for the Model Context Protocol AI learning system
🧠 MCP Development AI System
The most advanced AI learning platform ever built - A revolutionary three-tier AI memory system that makes agents progressively smarter at every level of our platform.
📚 Documentation Navigation
This documentation is organized into focused sections for easy navigation:
🚀 Getting Started
Start here if you're new to MCP
- Quick start guide (5 minutes)
- Core concepts explained
- Your first decision logged
- Common workflows
⚙️ Setup & Configuration
Platform-specific setup guides
- Cursor Setup - Configure MCP for Cursor IDE
- Claude Code Setup - Configure MCP for Claude Code extension ✅
- Claude Desktop Setup - Coming soon
- Troubleshooting - Common issues and fixes
📖 Usage & Examples
Practical guides and examples
- MCP Tools Reference - All 37 tools documented
- Common workflows and patterns
- Prompts library - Best practices for each tool
- Code examples
🏗️ Architecture
Technical deep-dive
- System Architecture - Complete technical architecture
- Multi-Platform Integration - Cursor, Claude Code, Claude Desktop
- Three-tier memory system (HOT/WARM/COLD)
- Agent specialization and training
- Data flow and decision lifecycle
🎓 AI Training System
How the AI learns and improves
- Platform AI Training - Training system integration
- Multi-Agent Learning - Agent orchestration roadmap
- Real-Time Learning - Live learning system
- Outcome-driven reinforcement learning
- Pattern mining and extraction
🎛️ Command Center
Real-time monitoring and control
- Current Implementation - Command Center features
- Future Enhancements - Planned improvements
- Live decision monitoring
- Agent performance analytics
🛠️ Development
For MCP system developers
- Contributing guidelines
- Testing procedures
- API reference
- Internal architecture
🗺️ Roadmap
Future plans and enhancements
- Roadmap - Complete enhancement roadmap
- Planned features
- Completed milestones
- Enhancement proposals
🎯 Quick Links
Most Common Tasks
| I want to... | Go to... |
|---|---|
| Set up MCP in Cursor | Cursor Setup |
| Set up MCP in Claude Code | Claude Code Setup ✅ |
| Log my first decision | Getting Started |
| Use MCP tools effectively | Usage Guide |
| Understand the architecture | Architecture |
| Troubleshoot issues | Troubleshooting |
| See what's coming next | Roadmap |
🎯 System Overview
Current Stats
| Metric | Value | Status |
|---|---|---|
| Version | 5.2.0 (Session 42.2) | ✅ Active |
| Current Session | 42 | ✅ Active |
| Platforms Supported | Cursor, Claude Code, Claude Desktop, API | 🌐 Multi-Platform |
| Total Decisions | 10,000+ | ✅ Growing |
| Active Agents | 6 | 🎯 Specialized |
| MCP Tools | 37 | ✅ Production |
Key Features
- 🧠 Intelligent Context - preflight() provides ~100 token context before tasks
- 📝 Decision Logging - Capture architectural decisions with log_decision()
- 🔍 Semantic Search - Find similar past decisions with find_similar()
- 🎯 Agent Specialization - 6 specialized agents with domain expertise
- 🌐 Multi-Platform - Works across Cursor, Claude Code, Claude Desktop
- 💾 Three-Tier Memory - HOT/WARM/COLD memory management for efficiency
- 📊 Real-Time Learning - Continuous improvement through outcome feedback
- 🎛️ Command Center - Live monitoring and analytics
🚀 Quick Start
For New Users
Choose your platform:
Run setup (5 minutes):
yarn setup:mcp # For Cursor yarn setup:claude-code-mcp # For Claude CodeTest it works:
// In your AI chat preflight({ task: "test MCP integration" })Start using MCP:
- Read Getting Started
- Check Usage Guide
- Browse Examples
🏗️ Three-Tier Learning Architecture
┌──────────────────────────────────────────────────────────────────────────────┐
│ THREE-TIER AI LEARNING SYSTEM │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ TIER 1: DEVELOPMENT AI (Cursor/Claude Code) │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ Purpose: Help developers build GoGrab Space better │ │
│ │ Learns: Codebase patterns, architecture decisions, what works here │ │
│ │ Storage: Local/workspace (JSON files or MongoDB) │ │
│ │ Beneficiary: YOU (the developer) + AI assistants (Claude, etc.) │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ TIER 2: PLATFORM AI (GoGrab Services) │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ Purpose: Power AI features in GoGrab Space platform │ │
│ │ Learns: User interaction patterns, successful generations, prompts │ │
│ │ Storage: ai-agents database (central) │ │
│ │ Beneficiary: All users of GoGrab Space platform │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ TIER 3: TENANT AI (Per-User Learning) │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ Purpose: Personalized AI for each tenant's users │ │
│ │ Learns: User preferences, style, history, individual patterns │ │
│ │ Storage: tenant-specific collections (isolated) │ │
│ │ Beneficiary: Individual users within each tenant │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
Learn more: Architecture Deep Dive
🛠️ Available MCP Tools
Core Tools (Everyday Use)
| Tool | Purpose | Status |
|---|---|---|
mcp_init |
🚀 Smart startup dashboard with mode selection | ✅ Active |
preflight |
🧠 Intelligent context (~100 tokens) before tasks | ✅ Active |
log_decision |
📝 Log development decisions for learning | ✅ Active |
find_similar |
🔍 Semantic search for past decisions | ✅ Active |
report_outcome |
📊 Report success/failure for reinforcement | ✅ Enhanced |
get_conventions |
📋 Retrieve learned codebase conventions | ✅ Active |
add_convention |
➕ Add new codebase conventions | ✅ Active |
get_stats |
📈 System statistics and agent performance | ✅ Active |
get_session_info |
📍 Current session tracking | ✅ Active |
set_session |
🔄 Enforce specific session number | ✅ Active |
Knowledge Graph (Session 42)
| Tool | Purpose | Status |
|---|---|---|
graph_create_entity |
📍 Create entities (file, module, pattern, etc.) | ✅ Active |
graph_get_entity |
🔍 Get entity with all relationships | ✅ Active |
graph_create_relation |
🔗 Create relationships between entities | ✅ Active |
graph_query |
🕸️ Natural language graph queries | ✅ Active |
graph_find_impact |
💥 Impact analysis for changes | ✅ Active |
graph_build_from_decisions |
🏗️ Auto-build graph from decisions | ✅ Active |
graph_stats |
📊 Graph statistics | ✅ Active |
Web & Documentation Search (Session 42)
| Tool | Purpose | Status |
|---|---|---|
web_search |
🌐 Search web via Tavily API | ✅ Active |
docs_search |
📚 Search library documentation | ✅ Active |
Code Generation (Session 42.2)
| Tool | Purpose | Status |
|---|---|---|
space_generate |
🎨 QuickGenerate-style code generation | ✅ New |
analyze_requirement |
📋 Analyze user requirements for modules | ✅ Active |
validate_module |
✅ Validate module against standards | ✅ Active |
Workflow & Session Recovery (Session 42.2)
| Tool | Purpose | Status |
|---|---|---|
workflow |
🔄 Session recovery and task continuity | ✅ New |
Advanced ML Tools
| Tool | Purpose | Status |
|---|---|---|
predict_outcome |
🔮 ML-based outcome prediction | ✅ Active |
mine_patterns |
⛏️ Extract patterns from decisions | ✅ Active |
transfer_intelligence |
🔄 Cross-tier learning transfer | ✅ Active |
Diagnostics & Analytics
| Tool | Purpose | Status |
|---|---|---|
get_enhanced_stats |
📊 Comprehensive system statistics | ✅ Active |
get_session_summary |
📝 Session summary with git activity | ✅ Active |
get_lifecycle_status |
📈 Decision lifecycle tracking | ✅ Active |
get_pending_outcomes |
⏳ Decisions awaiting feedback | ✅ Active |
run_outcome_validation |
🔍 Manual outcome validation | ✅ Active |
learn_from_outcomes |
🧠 Update anti-pattern detection | ✅ Active |
init_git_tracking |
🔀 Initialize git tracking | ✅ Active |
get_platform_info |
🖥️ Platform detection info | ✅ Active |
get_ai_generation_rules |
📚 AI generation documentation | ✅ Active |
Total: 37 MCP tools available (consolidated from 64 in Session 42)
🎓 Learning Path
New to MCP?
- Start: Getting Started (15 minutes)
- Setup: Choose your platform in Setup (5 minutes)
- Practice: Try Examples (15 minutes)
- Explore: Read Architecture (optional, deep-dive)
Ready to contribute?
- Read: Development Guide
- Understand: Architecture
- Review: Roadmap
- Build: Submit enhancement proposals
📊 Success Metrics
| Metric | Current | Target | Timeline |
|---|---|---|---|
| Success Rate | 50% | 95%+ | Q1 2026 |
| Token Efficiency | 20x | 100x | Q1 2026 |
| Outcome Coverage | 0% | 100% | Week 2 |
| Pattern Accuracy | N/A | 85%+ | Week 6 |
| Platforms Supported | 3 | 5+ | Q2 2026 |
🤝 Contributing
We welcome contributions! See Development Guide for:
- How to contribute
- Testing guidelines
- Code standards
- API documentation
📝 Changelog
See CHANGELOG.md for version history and recent changes.
🆘 Need Help?
- Troubleshooting: Common Issues
- Questions: Check Usage Guide
- Bugs: Log via MCP
log_decision()with details - Ideas: Submit to Enhancement Proposals
Last Updated: January 14, 2026 (Session 42.2) Status: ✅ Production Ready - Multi-Platform Major Updates: Session 42 (Tool Consolidation 64→37), Session 42.2 (workflow + space_generate)