node-code-sandbox-mcp
If you are the rightful owner of node-code-sandbox-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Node.js Sandbox MCP Server allows running JavaScript in isolated Docker containers with dynamic npm dependency management.
The Node.js Sandbox MCP Server is a robust solution for executing arbitrary JavaScript code within isolated Docker containers. It supports on-the-fly npm dependency installation, making it ideal for testing and development environments. The server can execute shell commands, run JavaScript snippets, and manage container lifecycles efficiently. It is designed to handle ephemeral tasks with controlled resource limits, ensuring that each execution is clean and isolated. This server is particularly useful for developers looking to test code snippets, run experiments, or manage long-running services in a controlled environment.
Features
- Isolated Node.js sandbox containers
- Execute shell commands inside containers
- On-the-fly npm dependency installation
- Run ES module JavaScript snippets
- Clean container teardown
Tools
run_js_ephemeral
Run JavaScript scripts in a one-time container that support dynamic installation of dependencies and capture output
sandbox_initialize
Start a new sandbox container
sandbox_exec
Execute shell commands in a running sandbox container
run_js
Install npm dependencies in a sandbox container and execute JavaScript code
sandbox_stop
Terminate and remove the sandbox container