# Node.js Code Sandbox

> Use this tool when you need to securely execute Node.js code in isolated environments with automatic dependency management and resource monitoring. It solves problems related to code experimentation, testing, and education by providing a sandboxed space for JavaScript execution with configurable timeouts and resource limits. Ideal for AI-powered development workflows, it accepts JavaScript code and npm packages as inputs and outputs execution results, telemetry reports, and optionally exposes HTTP servers.

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

## Description

This MCP server provides secure Node.js code execution in isolated Docker containers with automatic dependency management, file system persistence, and resource monitoring capabilities. Built by mozicim using TypeScript, it creates ephemeral or persistent sandbox environments that can install npm packages, execute JavaScript code with configurable timeouts and resource limits, handle file I/O operations with automatic change detection, and optionally expose HTTP servers on specified ports. The implementation features container lifecycle management with automatic cleanup, npm package caching for faster subsequent runs, comprehensive telemetry reporting including execution times and resource usage, and integration with AI code generation tools through Gemini API, making it valuable for AI-powered development workflows, code experimentation, educational environments, and building assistants that need to execute and test JavaScript code safely.

## Trust

- **Trust score (0–1):** 0.77
- **Verification tier:** scanned
- **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/mozicim-node-code-sandbox)
- **Repository:** <https://github.com/mozicim/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": "mozicim-node-code-sandbox"
    }
  }
}
```

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