# Node Code Sandbox

> Node Code Sandbox — alfonsograziano-node-code-sandbox. Use this tool when you need to execute JavaScript code securely, with isolation and resource limits, to test snippets, demonstrate npm packages, or run code examples without security risks. It provides a controlled environment with Docker containers, supporting both persistent and ephemeral executions. Ideal for AI assistants, it offers a secure interface for initializing sandboxes, running code with npm dependencies, and managing container lifecycles.

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

## Description

Node Code Sandbox MCP provides a secure environment for executing JavaScript code within Docker containers. It offers tools for initializing sandboxes, running code with npm dependencies, and managing container lifecycles, all while maintaining isolation through resource limits (512MB memory, 1 CPU). The implementation supports both persistent containers for multiple operations and ephemeral containers for one-off executions, making it ideal for AI assistants that need to test JavaScript snippets, demonstrate npm package usage, or run isolated code examples without security risks.

## Trust

- **Trust score (0–1):** 0.85
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

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

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/alfonsograziano-node-code-sandbox)
- **Repository:** <https://github.com/alfonsograziano/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": "alfonsograziano-node-code-sandbox"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/alfonsograziano-node-code-sandbox` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/alfonsograziano-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
