Submit

🐢🚀 Node.js Sandbox MCP Server

@alfonsograziano

a year ago
developer-tools
A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.
Overview

What is Node.js Sandbox MCP?

Node.js Sandbox MCP is a server that implements the Model Context Protocol (MCP) to run arbitrary JavaScript code in isolated Docker containers, allowing for on-the-fly npm dependency installation.

How to use Node.js Sandbox MCP?

To use the Node.js Sandbox MCP, you can start a fresh sandbox container, run JavaScript code, and manage npm dependencies through its API. You can also run it in a Docker container for easy setup.

Key features of Node.js Sandbox MCP?

  • Start and manage isolated Node.js sandbox containers.
  • Execute arbitrary shell commands inside containers.
  • Install specified npm dependencies per job.
  • Run ES module JavaScript snippets and capture stdout.
  • Cleanly tear down containers after execution.

Use cases of Node.js Sandbox MCP?

  1. Running quick experiments with JavaScript code.
  2. Testing and executing scripts in a controlled environment.
  3. Managing npm dependencies for isolated jobs.
  4. Integrating with development tools like VS Code and Claude Desktop.

FAQ from Node.js Sandbox MCP?

  • Can I run any JavaScript code?

Yes! You can run any arbitrary JavaScript code in the sandbox.

  • How do I manage npm dependencies?

You can specify npm dependencies when running your JavaScript code, and they will be installed in the sandbox environment.

  • Is it safe to run untrusted code?

Yes, the sandboxing feature ensures that the code runs in isolation, minimizing risks.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.

🐢🚀 Node.js Sandbox MCP Server MCP Server