Skip to main content
Glama

SystemPrompt Coding Agent

Official

SystemPrompt Coding Agent

Control AI coding agents from anywhereWebsiteDocumentation



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

Remote Access Options

🌐 Internet Access via Tunnel

For quick testing or remote access, use the built-in Cloudflare tunnel:

npm run tunnel

This will:

  • Create a secure HTTPS tunnel to your local server
  • Display both the public URL and local network addresses
  • Enable access from anywhere (including mobile devices)

Example output:

✅ 🌍 Your server is now accessible from the internet! ℹ️ 🔗 Public URL: https://your-tunnel.trycloudflare.com ℹ️ 📡 MCP Endpoint: https://your-tunnel.trycloudflare.com/mcp 🏠 Local network access (without tunnel): 📍 http://192.168.1.100:3000 📡 MCP Endpoint: http://192.168.1.100:3000/mcp

🏠 Local Network Access

If you prefer to keep everything on your local network:

  1. Start the server normally:
    npm start
  2. Access from devices on the same network:
    • Find your machine's IP address (shown when using npm run tunnel)
    • Connect using: http://YOUR_IP:3000/mcp
    • Works great for testing from mobile devices on the same WiFi

🔒 Security Considerations

  • Tunnel URLs are temporary - they change on each restart
  • Local network access - only devices on your network can connect
  • No authentication yet - treat URLs as passwords
  • For production, use proper authentication and HTTPS

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 security@systemprompt.io

Support

License

MIT License - see LICENSE


Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
    Last updated -
    179
    Python
    MIT License
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    An MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.
    Last updated -
    38
    Python
    • Apple
  • A
    security
    F
    license
    A
    quality
    An MCP server that connects Gemini 2.5 Pro to Claude Code, enabling users to generate detailed implementation plans based on their codebase and receive feedback on code changes.
    Last updated -
    2
    3
    Python
    • Linux
    • Apple
  • A
    security
    F
    license
    A
    quality
    An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
    Last updated -
    11
    40
    TypeScript
    • Linux
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systempromptio/systemprompt-code-orchestrator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server