node-code-sandbox-mcp

general MCP Server

A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.

Install Ready
generalgeneralnodejsdocker
5 views152 stars33 forksv1.3.0

Why This Matters

Discovered via unknown and last synced 3mo ago.

Install Ready
Source
unknown
Stars
152
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx node-code-sandbox-mcp

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "node-code-sandbox-mcp": {
      "command": "npx",
      "args": [
        "node-code-sandbox-mcp"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

8
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (8)

dependencies

(array of `{ name, version }`, optional): NPM packages and versions to install (default: `[]`).

the

`hello.txt` file.

Note

the file saving feature is currently available only in the ephemeral tool.

code

(string, required): JavaScript source to execute.

Images

(e.g., PNG, JPEG) are returned as `image` content.

image

(string, optional): Docker image to use (default: `node:lts-slim`).

Other

files (e.g., `.txt`, `.json`) are returned as `resource` content.

To

get files back, simply save them during your script execution.