icon for mcp server

SystemPrompt Coding Agent

STDIO

MCP server orchestrating AI coding agents for autonomous programming tasks

SystemPrompt Coding Agent

License: MIT Twitter Follow Discord

Control AI coding agents from anywhereWebsiteDocumentation


🎁 100% Free and Open Source

Built by systemprompt.io — creators of the world's first native mobile MCP client

📱 Get the Mobile App

Download on App Store Get it on Google Play

What is This?

SystemPrompt Coding Agent is an MCP server that orchestrates AI coding assistants (Claude Code CLI and Gemini CLI) to perform complex programming tasks autonomously. It bridges your local development environment with AI agents, enabling them to write, test, and refactor code on your behalf.

🌟 Three Key Differentiators

1. Remote-First Architecture
Transform your local machine into a remote coding endpoint. Access your development environment from anywhere—no complex networking required.

2. Mobile Native Experience
Purpose-built for the SystemPrompt mobile app. Start coding tasks with your voice, monitor progress in real-time, and get push notifications when tasks complete.

3. Full MCP Protocol
Leverages every MCP feature: persistent state management, real-time notifications, interactive prompts, and pre-configured task templates.

🚨 Security Notice

⚠️ CRITICAL: This server grants AI agents full access to your local machine with NO built-in authentication. (yet)

Security Implications

  • Full System Access: AI agents can read, write, and execute code in your PROJECT_ROOT
  • No Authentication: Anyone with your server URL has complete access
  • Remote Code Execution: AI agents execute commands on your machine

Mandatory Security Measures

  1. Never expose directly to the internet
  2. Treat server URLs as passwords
  3. Use VPN or SSH tunnels for remote access
  4. Restrict PROJECT_ROOT to non-sensitive directories
  5. Monitor agent activity through logs

Zero-trust OAuth authentication coming in v1.0

Quick Start

Prerequisites

30-Second Setup

# Clone and setup git clone https://github.com/systempromptio/systemprompt-coding-agent.git cd systemprompt-coding-agent npm install # Configure (edit with your API keys) cp .env.example .env nano .env # Run with Docker docker-compose up -d # Or run locally npm run build && npm start

Essential Configuration

# Required ANTHROPIC_API_KEY=sk-ant-... GEMINI_API_KEY=AIza... PROJECT_ROOT=/path/to/your/code # ⚠️ AI agents have FULL access here # Security (coming soon) JWT_SECRET=generate-a-long-random-string REMOTE_AUTH_TOKEN=another-random-string

Core Features

🤖 AI Agent Orchestration

  • Multi-Agent Support: Seamlessly switch between Claude Code and Gemini
  • Task Management: Create, track, and manage coding tasks
  • Git Integration: Automatic branch creation and management
  • Session Isolation: Each task runs in its own context
  • Real-time Streaming: Watch AI agents work in real-time

📱 Mobile-First Design

  • Voice Commands: "Create a login form with validation"
  • Push Notifications: Get alerts when tasks complete
  • Quick Actions: Pre-defined templates for common tasks
  • Remote Control: Manage your dev environment from anywhere

🔧 MCP Protocol Features

  • Persistent State: Tasks survive server restarts
  • Resource Management: Expose task data as MCP resources
  • Interactive Prompts: AI agents can ask for clarification
  • Progress Notifications: Real-time status updates
  • Structured Data: Full schema validation

Tool Reference

Task Orchestration

ToolDescriptionExample
create_taskStart new AI coding session{"title": "Add auth", "tool": "CLAUDECODE", "instructions": "..."}
update_taskSend additional instructions{"process": "session_123", "instructions": "..."}
end_taskComplete and cleanup{"task_id": "task_123", "status": "completed"}
report_taskGenerate task reports{"task_ids": ["task_123"], "format": "markdown"}

System Management

ToolDescriptionExample
check_statusVerify agent availability{"test_sessions": true, "verbose": true}
update_statsGet system statistics{"include_tasks": true}
clean_stateCleanup old tasks{"keep_recent": true, "dry_run": true}

Pre-Built Prompts

🐛 Bug Fixing

{ "prompt_template": "bug_fix", "variables": { "bug_description": "Login fails after password reset", "error_logs": "401 Unauthorized at auth.js:42" } }

⚛️ React Components

{ "prompt_template": "react_component", "variables": { "component_name": "UserDashboard", "features": ["data visualization", "real-time updates", "export functionality"] } }

🧪 Unit Testing

{ "prompt_template": "unit_test", "variables": { "target_files": ["src/auth/*.js"], "framework": "jest", "coverage_target": 85 } }

Architecture

┌─────────────────────────────────────────┐
│        SystemPrompt Mobile App          │
│           (iOS/Android)                 │
└──────────────────┬──────────────────────┘
                   │ Remote MCP
┌──────────────────▼──────────────────────┐
│          Desktop MCP Clients            │
│      (Claude Desktop, Cline, etc.)      │
└──────────────────┬──────────────────────┘
                   │ Local MCP
┌──────────────────▼──────────────────────┐
│       SystemPrompt Coding Agent         │
│  ┌────────────────────────────────────┐ │
│  │     Docker Container State         │ │
│  │  • Tasks  • Sessions  • Resources  │ │
│  └────────────────────────────────────┘ │
│  ┌────────────────────────────────────┐ │
│  │        Agent Orchestrator          │ │
│  │  • Claude Code  • Gemini CLI       │ │
│  └────────────────────────────────────┘ │
└──────────────────┬──────────────────────┘
                   │
┌──────────────────▼──────────────────────┐
│         Your Local Machine              │
│          PROJECT_ROOT                   │
└─────────────────────────────────────────┘

Production Deployment

Secure Docker Setup

version: '3.8' services: coding-agent: image: systemprompt/coding-agent:latest environment: - NODE_ENV=production volumes: - ./state:/data/state - /projects:/projects:ro # Read-only ports: - "127.0.0.1:3000:3000" # Local only security_opt: - no-new-privileges:true user: "1000:1000" restart: unless-stopped

Nginx Reverse Proxy

server { server_name code.yourdomain.com; location / { auth_basic "Restricted"; auth_basic_user_file /etc/nginx/.htpasswd; proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header X-Real-IP $remote_addr; } ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem; }

Development

Project Structure

systemprompt-coding-agent/
├── src/
│   ├── server.ts           # MCP server setup
│   ├── handlers/           # Protocol handlers
│   ├── services/           # Agent services
│   ├── constants/          # Tool definitions
│   └── types/              # TypeScript types
├── docker-compose.yml
└── package.json

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

For security issues, email [email protected]

Support

License

MIT License - see LICENSE


Built with ❤️ by SystemPrompt.io
AI-Powered Development from Anywhere

Be the First to Experience MCP Now