๐ Flow-Nexus MCP Integration: Comprehensive End-User Documentation
- Dominant language
- TypeScript
- Stars
- 72.7k
- Forks
- 8.6k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 83
Description
# Flow-Nexus MCP Integration: Complete End-User Guide
## ๐ฏ Overview
Flow-Nexus is a comprehensive AI orchestration platform that integrates seamlessly with Claude Code through the MCP (Model Context Protocol). This issue documents the complete end-user experience and available features.
## ๐ Quick Start
### Installation
```bash
# Add Flow-Nexus MCP server to Claude Code
claude mcp add flow-nexus npx flow-nexus@latest mcp start
# Verify connection
claude mcp list
# Expected: flow-nexus: npx flow-nexus@latest mcp start - โ Connected
```
## ๐ Complete MCP Tools Reference
### Swarm Management
- `mcp__flow-nexus__swarm_init` - Initialize swarm with topology (hierarchical/mesh/ring/star)
- `mcp__flow-nexus__swarm_list` - List all active swarms
- `mcp__flow-nexus__swarm_status` - Get detailed swarm status
- `mcp__flow-nexus__swarm_scale` - Scale swarm agents up or down
- `mcp__flow-nexus__swarm_destroy` - Destroy swarm and clean up resources
- `mcp__flow-nexus__swarm_create_from_template` - Create swarm from template
- `mcp__flow-nexus__swarm_templates_list` - List available swarm templates
### Agent Management
- `mcp__flow-nexus__agent_spawn` - Create specialized agent
- `mcp__flow-nexus__task_orchestrate` - Orchestrate complex task across swarm
- `mcp__flow-nexus__daa_agent_create` - Create decentralized autonomous agent
- `mcp__flow-nexus__workflow_create` - Create custom automation workflow
### Templates & Apps
- `mcp__flow-nexus__template_list` - List available deployment templates
- `mcp__flow-nexus__template_get` - Get specific template details
- `mcp__flow-nexus__template_deploy` - Deploy template with variables
- `mcp__flow-nexus__app_store_list_templates` - List app store templates
- `mcp__flow-nexus__app_store_publish_app` - Publish app to store
- `mcp__flow-nexus__app_get` - Get specific app details
- `mcp__flow-nexus__app_update` - Update application information
- `mcp__flow-nexus__app_search` - Search applications with filters
- `mcp__flow-nexus__app_analytics` - Get application analytics
- `mcp__flow-nexus__app_installed` - Get user installed applications
### Sandbox Management
- `mcp__flow-nexus__sandbox_create` - Create code execution sandbox
- `mcp__flow-nexus__sandbox_execute` - Execute code in sandbox
- `mcp__flow-nexus__sandbox_list` - List all sandboxes
- `mcp__flow-nexus__sandbox_stop` - Stop running sandbox
- `mcp__flow-nexus__sandbox_configure` - Configure sandbox environment
- `mcp__flow-nexus__sandbox_delete` - Delete sandbox
- `mcp__flow-nexus__sandbox_status` - Get sandbox status
- `mcp__flow-nexus__sandbox_upload` - Upload file to sandbox
- `mcp__flow-nexus__sandbox_logs` - Get sandbox logs
### Neural & AI Features
- `mcp__flow-nexus__neural_train` - Train neural patterns with WASM
- `mcp__flow-nexus__neural_status` - Get neural agent status
- `mcp__flow-nexus__neural_patterns` - Get cognitive pattern information
- `mcp__flow-nexus__seraphina_chat` - Chat with Queen Seraphina AI
### GitHub Integration
- `mcp__flow-nexus__github_repo_analyze` - Analyze GitHub repository
- `mcp__flow-nexus__github_pr_manage` - Manage pull requests
### Authentication & Users
- `mcp__flow-nexus__auth_status` - Check authentication status
- `mcp__flow-nexus__auth_init` - Initialize secure authentication
- `mcp__flow-nexus__user_register` - Register new user account
- `mcp__flow-nexus__user_login` - Login user and create session
- `mcp__flow-nexus__user_logout` - Logout user and clear session
- `mcp__flow-nexus__user_verify_email` - Verify email with token
- `mcp__flow-nexus__user_reset_password` - Request password reset
- `mcp__flow-nexus__user_update_password` - Update password with reset token
- `mcp__flow-nexus__user_upgrade` - Upgrade user tier
- `mcp__flow-nexus__user_stats` - Get user statistics
- `mcp__flow-nexus__user_profile` - Get user profile
- `mcp__flow-nexus__user_update_profile` - Update user profile
### Challenges & Gamification
- `mcp__flow-nexus__challenges_list` - List available challenges
- `mcp__flow-nexus__challenge_get` - Get specific challenge details
- `mcp__flow-nexus__challenge_submit` - Submit solution for challenge
- `mcp__flow-nexus__app_store_complete_challenge` - Mark challenge as completed
- `mcp__flow-nexus__leaderboard_get` - Get leaderboard rankings
- `mcp__flow-nexus__achievements_list` - List user achievements and badges
- `mcp__flow-nexus__app_store_earn_ruv` - Award rUv credits to user
- `mcp__flow-nexus__ruv_balance` - Get user rUv credit balance
- `mcp__flow-nexus__ruv_history` - Get rUv transaction history
### Real-time Features
- `mcp__flow-nexus__execution_stream_subscribe` - Subscribe to execution stream
- `mcp__flow-nexus__execution_stream_status` - Get execution stream status
- `mcp__flow-nexus__execution_files_list` - List files created during execution
- `mcp__flow-nexus__execution_file_get` - Get specific file from execution
- `mcp__flow-nexus__realtime_subscribe` - Subscribe to real-time database changes
- `mcp__flow-nexus__realtime_unsubscribe` - Unsubscribe from real-time changes
- `mcp__flow-nexus__realtime_list` - List active subscriptions
### Storage Management
- `mcp__flow-nexus__storage_upload` - Upload file to storage
- `mcp__flow-nexus__storage_delete` - Delete file from storage
- `mcp__flow-nexus__storage_list` - List files in storage bucket
- `mcp__flow-nexus__storage_get_url` - Get public URL for file
### System & Monitoring
- `mcp__flow-nexus__system_health` - Check system health status
- `mcp__flow-nexus__audit_log` - Get audit log entries
- `mcp__flow-nexus__market_data` - Get market statistics and trends
## ๐ค User Registration & Authentication
### Registration
- **Tool**: `mcp__flow-nexus__user_register`
- **Required**: Email and password
- **Features**:
- Email verification
- Secure authentication
- Session persistence
### Login
- **Tool**: `mcp__flow-nexus__user_login`
- **Returns**: Access token and user profile
- **Session Features**:
- Persistent authentication
- Cross-session memory
- Secure token management
### User Features
- **rUv Credits**: Gamified reward system
- **Profile Management**: Track stats, apps, and downloads
- **Tier System**: Free, Pro, and Enterprise tiers available
## ๐ Queen Seraphina AI Assistant
### Overview
Queen Seraphina is an advanced AI assistant accessible through Flow-Nexus, offering guidance and wisdom for complex development tasks.
### Access
- **Tool**: `mcp__flow-nexus__seraphina_chat`
- **Features**:
- Conversational AI interface
- Context-aware responses
- Tool execution capability (when enabled)
- Development guidance and best practices
### Capabilities
- Strategic planning assistance
- Architecture recommendations
- Code review and optimization suggestions
- Swarm coordination guidance
## ๐ฆ Sandbox Execution Environment
### Available Templates
1. **Claude Code Deployment** - E2B sandbox with Claude Code
2. **Node.js Environment** - JavaScript/TypeScript development
3. **Python Environment** - Python development and ML tasks
4. **React Environment** - Frontend development
5. **Next.js Environment** - Full-stack applications
### Key Features
- **Tool**: `mcp__flow-nexus__sandbox_create`
- **Capabilities**:
- Real-time code execution
- File upload/download
- Environment variable management
- Package installation
- Streaming logs
- Up to 2-hour execution timeout
### Example Sandbox Creation
```javascript
mcp__flow-nexus__sandbox_create({
template: "claude-code",
name: "my-project",
env_vars: {
ANTHROPIC_API_KEY: "sk-..."
},
install_packages: ["express", "mongodb"]
})
```
## ๐ Swarm Orchestration
### Swarm Types
1. **Hierarchical** - Queen-led coordination
2. **Mesh** - Peer-to-peer collaboration
3. **Ring** - Circular task distribution
4. **Star** - Centralized hub model
### Agent Types Available
- **researcher** - Information gathering
- **coder** - Implementation
- **analyst** - Data analysis
- **optimizer** - Performance tuning
- **coordinator** - Task management
### Swarm Features
- Dynamic scaling (1-100 agents)
- Real-time monitoring
- Automatic load balancing
- Template-based deployment
- Cross-swarm communication
## ๐ฎ Challenges & Gamification
### Challenge System
- **Difficulty Levels**: Beginner โ Intermediate โ Advanced โ Expert
- **Categories**:
- Algorithm challenges
- System design
- AI/ML tasks
- Web development
- Security
### Rewards
- **rUv Credits**: Earn credits for completing challenges
- **Leaderboards**: Global and weekly rankings
- **Achievements**: Unlock badges and milestones
## ๐ Template Library
### Featured Templates
#### 1. GitHub + Claude Flow Integration
- Clone and analyze repositories
- Automatic Claude Flow initialization
- GitHub PAT authentication
- CI/CD workflow automation
#### 2. Claude Flow Swarm
- Multi-agent task execution
- Neural optimization
- Parallel execution
- Real-time coordination
#### 3. Claude Flow Hive Mind
- Queen-led coordination
- Collective memory (100MB default)
- Up to 12 agents
- Strategic, tactical, or adaptive queen types
### Template Deployment
```javascript
mcp__flow-nexus__template_deploy({
template_name: "claude-flow-swarm",
variables: {
anthropic_api_key: "sk-...",
objective: "Build REST API with authentication",
max_agents: 5
}
})
```
## ๐ Real-Time Features
### Execution Streaming
- Monitor live execution progress
- Stream types: claude-code, swarm, hive-mind, github
- Real-time file creation tracking
- Execution status monitoring
### Database Subscriptions
- Real-time data changes
- Event types: INSERT, UPDATE, DELETE
- Table-specific subscriptions
- Filtered event streams
### Storage Management
- File upload/download
- Bucket management
- Public URL generation
- Content type handling
## ๐ System Status
### Available MCP Resources
1. `flow://docs` - Documentation access
2. `flow://templates` - Template library
3. `flow://examples` - Code examples
4. `flow://configs` - Configuration samples
### Monitoring Tools
- System health checks
- Audit log tracking
- Market data analytics
- Performance metrics
## ๐ก Key Benefits for End Users
1. **Seamless Integration**: Works directly in Claude Code via MCP
2. **No Infrastructure Required**: Cloud-based execution
3. **Scalable**: From single agent to 100+ agent swarms
4. **Persistent**: Cross-session memory and state
5. **Gamified Learning**: Earn rewards while building
6. **Real-time Monitoring**: Track all operations live
7. **Template-based**: Quick start with proven patterns
8. **Comprehensive Toolset**: 70+ MCP tools available
## ๐ Related Documentation
- Flow-Nexus Website: https://flow-nexus.ruv.io
- MCP Protocol Docs: Model Context Protocol specification
- Claude Code Integration: See `.claude/` directory after init
## ๐ Summary
Flow-Nexus provides a complete AI orchestration platform accessible through Claude Code's MCP interface. With over 70 specialized tools, features ranging from simple sandbox execution to complex multi-agent swarms, challenges, templates, and an AI assistant, it offers a comprehensive solution for AI-assisted development workflows.
The platform is currently live and operational with full authentication support and production-ready features.
---
**Created via**: Claude Flow CLI with Flow-Nexus MCP Integration
**Version**: claude-flow@2.0.0-alpha.101
**Date**: $(date -u +"%Y-%m-%d %H:%M UTC")
Contributor guide
Research direction
Start by reviewing the existing documentation and the `.claude/` directory mentioned in the issue, then compare the listed Flow-Nexus tools and commands with the MCP Protocol documentation. Done means a maintainable end-user guide covers the described installation, authentication, sandbox, swarm, template, real-time, and monitoring features with verified examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100