Node Code Sandbox MCP π οΈ
@mozicim
About Node Code Sandbox MCP π οΈ
# π’π Node.js Sandbox MCP ServerThis repository hosts a Node.js server that implements the Model Context Protocol (MCP) for running JavaScript in isolated Docker containers. It allows for on-the-fly npm dependency installation, making it easy to execute code safely and efficient
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Node Code Sandbox MCP?
Node Code Sandbox MCP provides a secure JavaScript 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, all while adhering to the Model Control Protocol (MCP).
How to use Node Code Sandbox MCP?
Clone the repository, run npm install and npm start to start the server. Open http://localhost:3000 in a browser, input JavaScript code, and click "Run" to execute it. Alternatively, use the /execute and /install API endpoints. Packages can be installed via the interface command npm install <package-name> or the /install endpoint.
Key features of Node Code Sandbox MCP
- Dynamic JavaScript execution in a secure sandbox
- NPM package installation and usage on demand
- MCP compatibility for seamless AI agent integration
- Sandboxing prevents unauthorized access and ensures safety
- Interactive code generation and testing via web interface
Use cases of Node Code Sandbox MCP
- Code generation and validation for LLM-based coding assistants
- Dynamic script execution in AI-driven development workflows
- Safe testing and prototyping of JavaScript snippets with dependencies
- Interactive assistance where LLMs need to run and inspect JS code
FAQ from Node Code Sandbox MCP
What are the prerequisites for using Node Code Sandbox MCP?
Node.js (version 14 or higher), NPM, and basic knowledge of JavaScript and AI concepts are required.
How can I install and start the server?
Clone the repository, navigate to the project directory, run npm install, then npm start. The server runs on http://localhost:3000.
What API endpoints are available?
The server provides a POST /execute endpoint to run code (with a code field) and a POST /install endpoint to install NPM packages (with a package field).
Does Node Code Sandbox MCP support NPM packages?
Yes. You can install packages using the npm install <package-name> command in the web interface or via the /install API endpoint.
How does sandboxing protect the host environment?
Sandboxing ensures secure execution to prevent unauthorized access and system compromise during code runs.
Frequently asked questions
What are the prerequisites for using Node Code Sandbox MCP?
Node.js (version 14 or higher), NPM, and basic knowledge of JavaScript and AI concepts are required.
How can I install and start the server?
Clone the repository, navigate to the project directory, run `npm install`, then `npm start`. The server runs on `http://localhost:3000`.
What API endpoints are available?
The server provides a POST `/execute` endpoint to run code (with a `code` field) and a POST `/install` endpoint to install NPM packages (with a `package` field).
Does Node Code Sandbox MCP support NPM packages?
Yes. You can install packages using the `npm install <package-name>` command in the web interface or via the `/install` API endpoint.
How does sandboxing protect the host environment?
Sandboxing ensures secure execution to prevent unauthorized access and system compromise during code runs.
Basic information
More Reasoning MCP servers
n8n Workflow Builder MCP
ifmelateMCP server that allow LLM in agent mode builds n8n workflows for you
IntelliNode Medical Use Cases
BarqawizMulti-Agent AI Orchestration Workshop
Sandbox Mcp
pottekkatA Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
Part 1. Real-Time LangGraph Agent with MCP Tool Execution
junfanz1This project demonstrates a decoupled real-time agent architecture that connects LangGraph agents to remote tools served by custom MCP (Modular Command Protocol) servers. The architecture enables a flexible and scalable multi-agent system where each tool can be hosted independent
n8n Workflow Builder MCP Server
makafeliAI assistant integration for n8n workflow automation through Model Context Protocol (MCP). Connect Claude Desktop, ChatGPT, and other AI assistants to n8n for natural language workflow management.
Comments