Spins up disposable Docker containers to execute arbitrary JavaScript code with npm dependency installation through the Model Context Protocol. Exposes tools for ephemeral script execution, persistent sandbox management, and shell command execution within containers. You can run one-off scripts that automatically return saved files as content, or initialize long-running containers with port mapping for server applications. Handles ES modules, configurable resource limits, and automatic cleanup. Integrates directly with Claude Desktop and VS Code through MCP configuration. Reach for this when you need secure code execution, package testing, or quick prototyping without polluting your local environment.
claude mcp add --transport stdio alfonsograziano-node-code-sandbox-mcp uvx node-code-sandbox-mcp