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.
| Type | Mcp server |
|---|---|
| Author | alfonsograziano |
| Repository | alfonsograziano/node-code-sandbox-mcp |
| Popularity | 158 GitHub stars |
| Category | Developer tools |
| Security | Review before installing (72/100) |
| Rank | #479 of 4,418 MCP servers; #134 in Developer tools |
| Last commit | 2025-11-24 |
| Runs | Locally |
| Language | TypeScript |
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.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Can take actions such as send, write or deploy | Review |
| Executes code or shell commands | Review |
| Source on GitHub | Pass |
How do I install node-code-sandbox-mcp?
- 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
- 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>
- 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.