Skip to main content
Glama

Node Code Sandbox MCP

by mozicim

sandbox_exec

Execute shell commands within a secure Node.js sandbox container to run JavaScript code, install NPM packages, and retrieve execution results safely.

Instructions

Execute one or more shell commands inside a running sandbox container. Requires a sandbox initialized beforehand.

Input Schema

NameRequiredDescriptionDefault
commandsYes
container_idYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "commands": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "container_id": { "type": "string" } }, "required": [ "container_id", "commands" ], "type": "object" }

Other Tools from Node Code Sandbox MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mozicim/node-code-sandbox-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server