Back to Home
dull-quay940 icon

mcp-supervisor

by dull-quay940

Overview

The MCP Supervisor manages, orchestrates, and monitors autonomous agent workers, providing a RESTful API for tasks like system health checks, file operations, data transformation, and API calls.

Installation

Run Command
docker-compose up -d

Environment Variables

  • SUPERVISOR_PORT
  • ALLOW_AUTONOMY
  • LOG_PATH
  • MAX_AGENT_RUNTIME_MS
  • MAX_AGENT_RETRIES
  • DOCKER_ENABLED
  • NODE_ENV

Security Notes

The server includes several critical security risks: 1) The Docker Compose setup mounts `/var/run/docker.sock` into the supervisor container, granting it full root access to the host's Docker daemon. A compromise of the supervisor could lead to host system compromise. 2) When `ALLOW_AUTONOMY` is set to `true`, agents are permitted to perform file modifications, network requests, and system commands. While `manifest.json` defines allowed directories and blocked commands, and `monitor.js` includes path validation, agents like `backup-manager` and `health-checker` utilize `child_process.exec` (promisified as `execPromise`). Passing user-controlled input to these shell commands, even if paths are resolved, can be vulnerable to command injection if arguments are not rigorously escaped or sanitized for shell metacharacters. 3) The `api-caller` agent can make requests to arbitrary URLs when `ALLOW_AUTONOMY` is enabled, posing a risk for SSRF or other network-based attacks.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2026-01-19

Tags

agent-orchestrationautomationself-hosteddockernodejs