Mission Control
A visual AI pipeline builder for creating automated workflows. Drag-and-drop nodes to build AI automations. Runs on mobile (iOS/Android) and web, with Claude Code integration.
Quick Start```bash
npm install
npm start
Open Expo Go on your phone and scan the QR code, or run `npm run web` for browser.
## Setup Required
Before you can use this, you need:
1. A backend API that implements the Mission Control endpoints (see CONFIGURATION.md)
2. Environment variables configured:```bash
cp .env.example .env
# Edit .env with your API URL and user ID
Features
Visual Editor
- Drag-and-drop interface
- Infinite canvas
- Real-time connections
- Cloud sync
Node Types
- 🤖 AI Agent - Run AI models
- 💾 Memory - Database operations
- 📊 Data Source - API connections
Claude Code Integration
- Create pipelines by chatting with Claude
- 5 MCP tools for automation
- Programmatic pipeline management
Usage
Mobile App```bash
npm start # Development with Expo Go
npm run ios # iOS simulator
npm run android # Android emulator
npm run web # Browser
### MCP Server
For Claude Code integration, add to `~/.config/Claude/claude_desktop_config.json`:```json
{
"mcpServers": {
"mission-control": {
"command": "node",
"args": ["/absolute/path/to/server.js"],
"env": {
"API_BASE_URL": "https://your-api.com/api"
}
}
}
}
Then restart Claude Code and ask it to create pipelines for you.
Building Pipelines
In the App
- Tap "New Pipeline"
- Add nodes (AI Agent, Memory, or Data Source)
- Configure each node
- Drag to connect them
- Save
With Claude
Just ask Claude:
> "Create a pipeline that processes user feedback and saves results"
Programmatically```javascript
mcp__mission-control__inject_pipeline({
userId: "your-user-id",
name: "My Pipeline (made by Claude)",
nodes: [
{ id: "1", type: "memory", x: 24800, y: 25000,
data: { collection: "input", operation: "read" }},
{ id: "2", type: "ai-agent", x: 25000, y: 25000,
data: { tools: ["process"], prompt: "Process the data" }},
{ id: "3", type: "memory", x: 25200, y: 25000,
data: { collection: "output", operation: "write" }}
],
edges: [
{ id: "e1", source: "1", target: "2" },
{ id: "e2", source: "2", target: "3" }
]
})
## Example Workflows
**Data Processing**```
[Input DB] → [AI Processor] → [Output DB]
Content Moderation```
[User Posts] → [AI Review] → [Approved Posts]
**Automated Alerts**```
[System Logs] → [AI Detector] → [Notifications]
Important Notes
Node Coordinates
- Use flat x, y properties (not nested position)
- Center around `x: 25000, y: 25000````javascript
✅ { id: "1", type: "ai-agent", x: 25000, y: 25000, data: {...} }
❌ { id: "1", type: "ai-agent", position: { x: 25000, y: 25000 }, data: {...} }
**Pipeline Names**
- End with `" (made by Claude)"` when created via MCP
**Configuration**
- See CONFIGURATION.md for backend requirements
## Project Structure```
mission-control-mcp/
├── App.js # Entry point
├── server.js # MCP server
├── src/
│ ├── screens/
│ │ ├── PipelineListScreen.js # Pipeline list
│ │ └── PipelineEditorScreen.js # Visual editor
│ └── services/
│ └── missionControlApi.js # API client
Troubleshooting
"Node uses nested position object"
Use x, y not position: { x, y }
"API error: 404"
Check your API_BASE_URL in .env
MCP not showing in Claude?
Use absolute path in config, restart Claude Code
App won't start?bash
rm -rf node_modules && npm install
npm start -- --clear
License
MIT
Author
Nhat Nam Tran