# Node.js Code Sandbox

> Use this tool when you need to execute Node.js code in a secure and isolated environment, ideal for testing, web development prototyping, and educational demonstrations. It solves problems of code security and dependency management by providing a sandboxed Docker container with npm support and resource limits. The tool accepts Node.js code and npm dependencies as input and outputs execution results, with optional port forwarding for web applications.

Canonical page: https://skillsregistry.net/skills/node-code-sandbox  
JSON: https://api.skillsregistry.net/v1/skills/node-code-sandbox

## Description

Node Code Sandbox MCP Server provides a secure Docker-based environment for executing Node.js code through the MCP protocol. It enables AI assistants to initialize sandboxed containers, run JavaScript with npm dependencies, execute shell commands, and manage file operations with proper isolation. The server supports ephemeral execution, port forwarding for web applications, and includes resource limits to prevent abuse. Built with TypeScript and compatible with various MCP clients like Claude Desktop and VS Code, it's ideal for code testing, web development prototyping, and educational demonstrations without compromising host system security.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-05-05

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/node-code-sandbox)
- **Repository:** <https://github.com/ssdeanx/node-code-sandbox-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "node-code-sandbox"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/node-code-sandbox` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/node-code-sandbox/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
