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

⚙️ Setup & Configuration

Platform-specific setup guides

📖 Usage & Examples

Practical guides and examples

🏗️ Architecture

Technical deep-dive

🎓 AI Training System

How the AI learns and improves

🎛️ Command Center

Real-time monitoring and control

🛠️ Development

For MCP system developers

🗺️ Roadmap

Future plans and enhancements


🎯 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


🚀 Quick Start

For New Users

  1. Choose your platform:

  2. Run setup (5 minutes):

    yarn setup:mcp                    # For Cursor
    yarn setup:claude-code-mcp        # For Claude Code
    
  3. Test it works:

    // In your AI chat
    preflight({ task: "test MCP integration" })
    
  4. Start using MCP:


🏗️ 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?

  1. Start: Getting Started (15 minutes)
  2. Setup: Choose your platform in Setup (5 minutes)
  3. Practice: Try Examples (15 minutes)
  4. Explore: Read Architecture (optional, deep-dive)

Ready to contribute?

  1. Read: Development Guide
  2. Understand: Architecture
  3. Review: Roadmap
  4. 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:


📝 Changelog

See CHANGELOG.md for version history and recent changes.


🆘 Need Help?


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)