Home / MCP servers / Developer tools / node-code-sandbox-mcp

node-code-sandbox-mcp

node-code-sandbox-mcp is a MCP server by alfonsograziano that run JavaScript snippets in isolated Docker sandboxes with on-the-fly npm dependency installation and clean teardown.

Updated 2025-11-24

What is node-code-sandbox-mcp?

node-code-sandbox-mcp is a MCP server by alfonsograziano that run JavaScript snippets in isolated Docker sandboxes with on-the-fly npm dependency installation and clean teardown. It is listed under Developer tools and has 158 GitHub stars.

TypeMcp server
Authoralfonsograziano
Repositoryalfonsograziano/node-code-sandbox-mcp
Popularity158 GitHub stars
CategoryDeveloper tools
SecurityReview before installing (72/100)
Rank#479 of 4,418 MCP servers; #134 in Developer tools
Last commit2025-11-24
RunsLocally
LanguageTypeScript

Is node-code-sandbox-mcp safe to install?

node-code-sandbox-mcp scores 72/100 on the MCPMods security check: Review before installing. Things to review: can take actions such as send, write or deploy; executes code or shell commands. It passed 3 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Can take actions such as send, write or deployReview
Executes code or shell commandsReview
Source on GitHubPass

How do I install node-code-sandbox-mcp?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/alfonsograziano/node-code-sandbox-mcp
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add node-code-sandbox-mcp -- <command from README>
    claude mcp add --transport http node-code-sandbox-mcp <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs node-code-sandbox-mcp for you:

Add the "node-code-sandbox-mcp" MCP server from https://github.com/alfonsograziano/node-code-sandbox-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.