UNPKG

cns-mcp-server

Version:

Central Nervous System MCP Server for Autonomous Multi-Agent Orchestration with free local embeddings

117 lines (88 loc) • 2.84 kB
# CNS Installation & Setup Guide **CNS (Central Nervous System)** - Autonomous Multi-Agent Orchestration for Claude Code ## šŸš€ Quick Start (2 minutes) ### Step 1: Install CNS ```bash # Global installation (recommended) npm install -g cns-mcp-server # Verify installation cns-server --version ``` ### Step 2: Initialize CNS ```bash # Create configuration and directories cns-server init ``` **This automatically:** - āœ… Creates `~/.cns/` directory structure - āœ… Generates configuration files - āœ… Sets up free local embeddings (Transformers.js) - āœ… **Displays Claude Code configuration** (copy this!) ### Step 3: Configure Claude Code Copy the configuration shown after `cns-server init` and add it to Claude Code: **Desktop App:** `~/.claude/claude_desktop_config.json` **VS Code:** Claude Code extension settings Example configuration: ```json { "mcpServers": { "cns": { "command": "npx", "args": ["-y", "cns-mcp-server"] } } } ``` ### Step 4: Restart Claude Code **That's it!** CNS is now integrated and ready for autonomous orchestration. --- ## ✨ What You Get ### šŸ¤– Autonomous Agent Orchestration - **Manager agents** create specifications → **CNS detects patterns** → **Associates** implement → **Managers** review - **Zero manual intervention** - workflows happen automatically - **Pattern recognition** detects "Task Assignment", "Implementation Complete", "Approved for Integration" ### 🧠 Free Semantic Memory - **Zero API costs** - uses Transformers.js locally - **Hybrid search** - semantic + text matching - **384-dimensional embeddings** with automatic storage ### šŸ—ļø Workspace Isolation - **Git worktrees** for parallel development - **Branch-based isolation** per workflow - **Automatic cleanup** after completion ### šŸŽ›ļø Slash Commands Access CNS directly in conversations: - `/cns:status` - System overview - `/cns:health` - Health diagnostics - `/cns:workflows` - Active workflows - `/cns:search <query>` - Memory search - `/cns:memories` - Recent memories - `/cns:help` - Usage guide --- ## šŸ”§ System Requirements ### Minimum Requirements - **Node.js:** 18.0.0 or higher - **RAM:** 2GB available memory - **Storage:** 500MB for models and data - **OS:** Windows, macOS, or Linux ### Recommended Requirements - **Node.js:** 20.0.0 or higher - **RAM:** 4GB available memory - **Storage:** 2GB for models and workspace data - **Git:** For workspace isolation features --- ## šŸ„ Health Check Validate your installation: ```bash # Quick validation cns-server validate # Detailed health check cns-server validate --verbose ``` Expected output: ``` šŸ” Validating CNS MCP Server Configuration... āœ“ Configuration file exists āœ“ Using free local Transformers.js embeddings āœ… Validation complete! ``` **Happy orchestrating! šŸš€**