node-code-sandbox-mcp

node-code-sandbox-mcp

60

This project establishes a Node.js server implementing MCP to execute JavaScript in Docker containers. It allows for arbitrary command execution, npm dependency management, and supports both isolated and persistent container operations.

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