Node Code Sandbox MCP 🛠️ MCP Server

# 🐢🚀 Node.js Sandbox MCP ServerThis repository hosts a Node.js server that implements the Model Context Protocol (MCP) for running JavaScript in

Local serverstdio

What is the Node Code Sandbox MCP 🛠️ MCP Server?

🐢🚀 Node.js Sandbox MCP ServerThis repository hosts a Node.js server that implements the Model Context Protocol (MCP) for running JavaScript in isolated Docker

What the server does

Welcome to the Node Code Sandbox MCP! This repository provides a secure https://github.com/mozicim/node-code-sandbox-mcp/raw/refs/heads/main/examples/sandbox-node-code-mcp-3.0.zip execution environment tailored for AI applications. It allows coding agents and large language models (LLMs) to run JavaScript dynamically, install NPM packages, and retrieve results. This functionality facilitates code generation, testing, and interactive assistance, all while adhering to the Model Control Protocol (MCP).

  • Dynamic JavaScript Execution — Run JavaScript code in a secure environment
  • NPM Package Support — Install and use NPM packages as needed
  • Interactive Assistance — Code generation and testing capabilities for AI agents
  • MCP Compatibility — Works seamlessly with the Model Control Protocol
  • Sandboxing — Ensures secure execution to prevent unauthorized access

Credentials and setup notes

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the Node Code Sandbox MCP 🛠️ MCP Server

{
  "mcpServers": {
    "node-code-sandbox-mcp-mozicim": {
      "command": "npx",
      "args": ["-y", "lodash"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Example prompts to try

  • “Use Node Code Sandbox MCP 🛠️ to Prerequisites.”

Frequently asked questions

Node.js (version 14 or higher), NPM, and basic knowledge of JavaScript and AI concepts are required.