MCP-Multi-Agent-Server-Delegation
Enables delegating tasks to isolated Proxmox VMs, provisioning ephemeral VMs, running agent or script jobs, monitoring status, and retrieving results.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP-Multi-Agent-Server-Delegation
Delegate tasks to isolated Proxmox VMs for secure, sandboxed execution
Quick Start | Tool Catalog | Agent Types | Configuration | Architecture
What is this?
An MCP (Model Context Protocol) server that delegates tasks to isolated Proxmox VMs. Run untrusted code, long builds, or user-submitted jobs in complete isolation with automatic cleanup and HTTP callback status reporting.
Perfect for:
Untrusted code execution - Sandboxed VM isolation
Build/test pipelines - Clean environments every time
Agent orchestration - Spawn Claude or custom agents in isolated VMs
Requires mcp-proxmox-admin for VM management.
Related MCP server: mcp-job-queue
Quick Start
1. Add to Claude Code:
{
"mcpServers": {
"delegation": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"CALLBACK_PORT": "8765",
"PROXMOX_ADMIN_PATH": "/path/to/mcp-proxmox-admin/dist/index.js"
}
}
}
}2. Or install manually:
git clone https://github.com/EricGrill/mcp-multi-agent-server-delegation.git
cd mcp-multi-agent-server-delegation
npm install && npm run build
node dist/index.jsWhy Use This?
Feature | Description |
Full VM isolation | Each job runs in its own Proxmox VM - complete sandboxing |
Agent flexibility | Run Claude, shell scripts, or custom binaries |
Automatic cleanup | Ephemeral VMs destroyed after job completion |
Status callbacks | Real-time updates via HTTP webhooks from VMs |
Timeout protection | Jobs killed and VMs destroyed on timeout |
Tool Catalog
Tool | Description |
| Submit a job manifest for execution in an isolated VM |
| Check current status, progress, and timing of a job |
| Retrieve output, artifacts, and errors from completed job |
| Cancel a running job and destroy its VM |
| List all jobs with optional status filter |
All Tools
Job Submission
Tool | Parameters | Returns |
|
|
|
Job Monitoring
Tool | Parameters | Returns |
|
| status, progress, timestamps |
|
| output, artifacts, duration, errors |
|
| Array of job summaries |
Job Control
Tool | Parameters | Returns |
|
| confirmation |
Agent Types
Type | Command | Use Case |
| Claude CLI | AI-powered task execution |
| Bash/Python | Build scripts, automation |
| Any binary | Specialized tools, compilers |
Example: Claude Agent
{
"task": "Review this codebase and create a summary",
"agentType": "claude",
"files": [
{ "path": "/workspace/code.py", "content": "base64..." }
],
"timeout": 600
}Example: Script Agent
{
"task": "npm test",
"agentType": "script",
"agent": { "command": "bash -c 'cd /workspace && npm install && npm test'" },
"timeout": 300
}Configuration
Environment Variables
Variable | Description | Default |
| Port for HTTP callback server |
|
| Host/IP for callback URL |
|
| Path to mcp-proxmox-admin | — |
| Proxmox template name |
|
| Job timeout in seconds |
|
| VM CPU cores |
|
| VM memory |
|
| VM disk size |
|
| Stale job detection |
|
| Cleanup check interval |
|
Job Manifest Schema
interface JobManifest {
task: string; // What to do
agentType: 'claude' | 'script' | 'custom';
agent?: {
command?: string; // For script/custom
claudeModel?: string; // For claude
};
files?: Array<{ path: string; content: string }>;
env?: Record<string, string>;
resources?: { cpu?: number; memory?: string; disk?: string };
timeout?: number;
lifecycle?: 'ephemeral' | 'persistent';
statusMode?: 'simple' | 'detailed' | 'streaming';
}Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Claude / Agent │
└─────────────────────────────┬───────────────────────────────────┘
│ MCP Protocol
┌─────────────────────────────▼───────────────────────────────────┐
│ MCP Delegation Server │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────────┐ │
│ │ Job Manager │ │ Status Store│ │ Callback HTTP Server │ │
│ └─────────────┘ └─────────────┘ └─────────────────────────┘ │
└─────────────────────────────┬───────────────────────────────────┘
│ MCP Protocol
┌─────────────────────────────▼───────────────────────────────────┐
│ mcp-proxmox-admin │
└─────────────────────────────┬───────────────────────────────────┘
│
┌─────────────────────────────▼───────────────────────────────────┐
│ Proxmox VMs │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Job VM 1 │ │ Job VM 2 │ │ Job VM 3 │ │
│ │ → Agent │ │ → Agent │ │ → Agent │ │
│ │ → Callback │ │ → Callback │ │ → Callback │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────────────────┘Job Lifecycle
submit_job → pending → provisioning → running → success/failed/timeout
↓
VM destroyed (if ephemeral)VM Template Requirements
Your Proxmox VM template should include:
Base OS: Ubuntu/Debian minimal
Packages:
curl,jq,bashClaude CLI: For
claudeagent typePython/Node: For script execution
Network: Access to callback server URL
Development
npm run dev # Run in development mode
npm test # Run tests
npm run build # Build for productionProject Structure
src/
├── index.ts # Entry point
├── server.ts # MCP server with tools
├── store.ts # In-memory job store
├── callback-server.ts # HTTP callback receiver
├── proxmox-client.ts # Proxmox MCP client wrapper
├── types.ts # TypeScript types
├── schemas.ts # Zod validation schemas
└── config.ts # Configuration loaderSecurity Considerations
Protection | Implementation |
VM Isolation | Each job in separate Proxmox VM |
Network Segmentation | VMs in isolated VLAN (configure in Proxmox) |
Timeouts | Automatic job termination on timeout |
Ephemeral VMs | Destroyed after completion by default |
Resource Limits | CPU/memory/disk quotas via Proxmox |
Related Projects
mcp-proxmox-admin - Required for VM management
Model Context Protocol - MCP specification
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Execution platform for AI agents on Firecracker microVMs in the EU. Interactive Linux sandboxes with root, templates for Python, Node.js, Go, Rust and a headless browser, public HTTPS URLs. Background jobs that outlive the connection, batches of up to 1,000 jobs with dependencies, hard cost caps reserved up front, execution receipts with SHA-256, log digests that fit the context. IPv4, dual-stack or IPv6-only with its own public address, allowlists or no network. WASI runtime for small tasks. Idle sandboxes sleep and keep their files. Also REST API, Python SDK and LangChain.
Cloud Linux VMs for your agent: run code, Docker, files and HTTPS previews in a Sandboxer microVM.
Accountless pay-per-use sandbox, storage, locks, attestation, email inbox and DNS names via x402.
Start, pause, resume, and run commands and file operations in Linux sandboxes.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables comprehensive management of Proxmox virtualization environments, including VM and container lifecycle, snapshots, backups, monitoring, and OpenAPI integration.12MIT
- AlicenseAqualityDmaintenanceEnables MCP clients to submit long-running jobs that are executed safely in isolated child processes with a durable SQLite queue, configurable timeouts, retries with backoff, and backpressure.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables running ephemeral Kubernetes Jobs/pods with caller-chosen images and commands, returning results and artifacts while automating cleanup. Supports synchronous and background execution, repository cloning, and strict security controls.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables MCP clients to securely execute bounded coding tasks through registered backends, with idempotent job submission, status polling, and artifact retrieval. It isolates each job in Git worktrees and supports optional branch publishing and pull request creation under strict policy constraints.-