Files
ruflo/docs
ClaudeandClaude Code 304664b2ad feat: Implement MCP 2025-11 Specification Compliance (Phase A & B)
Implements full MCP 2025-11 specification with 100% backward compatibility.

FEATURES:

1. Version Negotiation (src/mcp/protocol/version-negotiation.ts)
   - YYYY-MM version format support (e.g., '2025-11')
   - Version compatibility checking (<1 cycle tolerance)
   - Capability negotiation (async, registry, code_exec, stream)
   - Backward compatibility adapter for legacy clients

2. Async Job Management (src/mcp/async/job-manager-mcp25.ts)
   - Job handles with request_id per MCP 2025-11 spec
   - Poll/resume semantics for long-running operations
   - Progress tracking (0-100%)
   - Job lifecycle management (queued → in_progress → completed)
   - In-memory persistence (upgradeable to Redis/SQLite)
   - Configurable job TTL and limits

3. Registry Integration (src/mcp/registry/mcp-registry-client-2025.ts)
   - Server registration with MCP Registry
   - Automatic health reporting
   - Server discovery capability
   - Metadata publishing
   - Retry logic with exponential backoff

4. JSON Schema 1.1 Validation (src/mcp/validation/schema-validator-2025.ts)
   - JSON Schema Draft 2020-12 compliance
   - Format validation (email, uri, date-time, etc.)
   - Input/output validation
   - Schema caching (1-hour TTL)
   - Legacy schema upgrade helper

5. Enhanced MCP Server (src/mcp/server-mcp-2025.ts)
   - Integrates all MCP 2025-11 features
   - Dual-mode operation (2025-11 + legacy)
   - Session management with version tracking
   - Feature flags for gradual rollout

6. Server Factory (src/mcp/server-factory.ts)
   - Unified server creation with feature flags
   - Automatic optimal configuration detection
   - Configuration validation
   - Seamless transition between legacy and MCP 2025-11

INTEGRATION:

- Updated MCP CLI command (src/cli/commands/mcp.ts)
  - New --mcp2025 flag to enable MCP 2025-11 features
  - Feature capability detection and reporting
  - Graceful fallback to legacy mode

- Updated MCP index (src/mcp/index.ts)
  - Exported all MCP 2025-11 components
  - Maintained backward compatibility

- Fixed progressive registry (src/mcp/tool-registry-progressive.ts)
  - Made SDK imports conditional (optional dependency)
  - Lazy loading for SDK integration

TESTING:

- Comprehensive test suite (tests/mcp/mcp-2025-compliance.test.ts)
  - Version negotiation tests
  - Async job lifecycle tests
  - Registry integration tests
  - Schema validation tests
  - Backward compatibility tests

- Focused core tests (tests/mcp/mcp-2025-core.test.ts)
  - No external dependencies
  - Fast execution

DOCUMENTATION:

- Implementation summary (docs/mcp-2025-implementation-summary.md)
  - Complete feature documentation
  - Usage examples
  - Configuration best practices
  - Performance metrics

COMPATIBILITY:

- ✅ 100% backward compatible with existing MCP tools
- ✅ Progressive disclosure (Phase 1 & 2) fully functional
- ✅ Zero breaking changes to existing APIs
- ✅ All 601 files build successfully
- ✅ Legacy client support maintained

DEPENDENCIES:

- Added: uuid, ajv, ajv-formats, ajv-errors (for MCP 2025-11)
- All dependencies installed successfully

COMPLIANCE:

- ✅ YYYY-MM version format
- ✅ Version negotiation protocol
- ✅ Capability exchange
- ✅ Async job handles (poll/resume)
- ✅ Progress tracking
- ✅ Job persistence
- ✅ Registry integration
- ✅ Health reporting
- ✅ JSON Schema 1.1
- ✅ Schema caching
- ✅ Backward compatibility

STATUS: Production Ready

This implementation enables Claude Flow to fully support the MCP 2025-11
specification while maintaining complete backward compatibility with legacy
clients. All features can be enabled via feature flags for gradual rollout.

Co-authored-by: Claude Code <claude-code@anthropic.com>
2025-11-12 14:57:02 +00:00
..

📚 Claude-Flow Documentation

Welcome to the Claude-Flow documentation! This directory contains comprehensive guides and references for using Claude-Flow v2.7.0.

📖 Core Documentation

Document Description
INDEX.md Complete documentation hub with navigation and quick start
USER_GUIDE.md Comprehensive user guide with tutorials and examples
API_DOCUMENTATION.md Complete API reference with all 112 MCP tools
AGENTS.md All 65+ agent types with capabilities and usage
SWARM.md Swarm intelligence, topologies, and coordination
SPARC.md SPARC methodology with all 17 development modes
MCP_TOOLS.md Detailed reference for all MCP tools
ARCHITECTURE.md System architecture and design patterns
DEPLOYMENT.md Production deployment guides for Docker, K8s, Cloud
DEVELOPMENT_WORKFLOW.md Development setup and contribution guide

📁 Documentation Categories

🚀 Releases

Release notes, changelogs, and version documentation

🧠 AgentDB Integration

AgentDB v1.3.9 integration documentation (96x-164x performance boost)

⚡ Performance

Performance optimization guides, metrics, and benchmarks

🔧 Bug Fixes

Bug fix documentation and patch reports

🛠️ Development

Internal development reports and implementation details

✅ Validation

Test reports and validation results

📚 User Guides

Tutorials and learning resources

🔌 Integrations

Third-party platform integrations

  • ReasoningBank (16 docs) - AI reasoning integration
  • Agentic Flow (5 docs) - Agent flow system
  • Agent Booster - Performance optimization
  • Epic SDK - SDK integration

🏗️ Additional Resources

  • Architecture - System architecture documentation
  • Experimental - Experimental features
  • Reference - API and command reference
  • Setup - Setup and configuration guides
  • CI/CD - Continuous integration workflows
  • SDK - SDK documentation
  • Wiki - Additional documentation

🎯 By User Type

👨‍💻 Developers

  1. Quick Start Guide - Get up and running
  2. Skills Tutorial - Natural language skill activation
  3. SPARC Development - Structured development methodology
  4. API Reference - Complete endpoint documentation

🏢 DevOps/Operations

  1. Deployment Guide - Production deployment
  2. Architecture Overview - System design
  3. Docker Verification - Testing reports

👑 Technical Leaders

  1. System Architecture - High-level design
  2. Performance Metrics - Benchmarks and optimization
  3. AgentDB Integration - 96x-164x performance improvements

📊 Performance Highlights

  • 96x-164x faster search - AgentDB vector search improvements
  • 4-32x memory reduction - Quantization benefits
  • 84.8% SWE-Bench solve rate - Industry-leading performance
  • 32.3% token reduction - Efficient context management
  • 2.8-4.4x speed improvement - Parallel coordination

📞 Support


Last Updated: January 2025 | Version: v2.7.1