Node Code Sandbox

Provides a secure Docker-based sandbox for executing JavaScript code with npm dependencies, offering both persistent and ephemeral

alfonsograziano 154
Claude CodeClaude DesktopGeneric
View source ↗

Node Code Sandbox MCP provides a secure environment for executing JavaScript code within Docker containers. It offers tools for initializing sandboxes, running code with npm dependencies, and managing container lifecycles, all while maintaining isolation through resource limits (512MB memory, 1 CPU). The implementation supports both persistent containers for multiple operations and ephemeral containers for one-off executions, making it ideal for AI assistants that need to test JavaScript snippets, demonstrate npm package usage, or run isolated code examples without security risks.

Source

Repository: https://github.com/alfonsograziano/node-code-sandbox-mcp

Maintain Node Code Sandbox?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Node Code Sandbox on getagentictools](https://getagentictools.com/mcp/alfonsograziano-node-code-sandbox-mcp?ref=badge)