pinocchio
Verified Safeby tomblancdev
Overview
An MCP server that spawns autonomous Claude Code agents inside isolated Docker containers for secure and controlled AI-driven development tasks.
Installation
/path/to/pinocchio/run-mcp.shEnvironment Variables
- PROJECTS_ROOT
- HOST_CLAUDE_DIR
- HOST_CONFIG_DIR
- HOST_GH_CONFIG
- ABSOLUTE_MAX_TIMEOUT
- MAX_CONCURRENT_AGENTS
- MAX_SPAWNS_PER_MINUTE
Security Notes
Pinocchio employs a robust defense-in-depth security model. Key mitigations include a Docker socket proxy to block dangerous operations (BUILD, COMMIT, EXEC, VOLUMES, SECRETS), a workspace allowlist enforced with `fs.realpath` to prevent symlink attacks and non-existent paths, read-only default mounts for workspaces with granular write access via validated glob patterns, and comprehensive input sanitization. GitHub tokens are handled securely via temporary files with restrictive permissions rather than environment variables. Rate limiting is implemented to prevent DoS attacks, and containers are hardened with non-root users, dropped capabilities, and resource limits. The WebSocket server defaults to `0.0.0.0` bind address with no authentication, which could be a minor exposure risk if unintentionally published externally, but `api-key` authentication is available.
Similar Servers
claude-code-mcp
Acts as an MCP server to enable LLMs to run Claude Code CLI in one-shot mode, bypassing permissions for complex coding, file system, Git, and terminal operations.
claude-codex-settings
A comprehensive toolkit and configuration for developing Claude Code plugins, integrating various external services and APIs, and enhancing AI-assisted coding workflows.
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
multi_mcp
A multi-model AI orchestration server providing automated code review, security analysis, and general LLM-powered assistance through the Model Context Protocol (MCP).