Code execution and sandbox MCP servers
Code execution servers give an agent a safe place to run the code it writes, useful for developers who do not want generated code touching their machine directly. Container Use from Dagger hands each coding agent a fresh container and its own git branch. node-code-sandbox-mcp runs JavaScript snippets in isolated Docker sandboxes and installs npm packages on the fly. mcp-js runs AI-generated JavaScript in V8 isolation with heap snapshots for longer sessions. Compare the isolation each one uses before you pick.
23 entries in the MCP server library filed under Code execution. 3 are open to read here. The rest are in the members library.
- container-use
Container Use is an open source MCP server from Dagger that gives each coding agent its own fresh container and git branch.
- node-code-sandbox-mcp
Run JavaScript snippets in isolated Docker sandboxes with on-the-fly npm dependency installation and clean teardown.
- mcp-js
JavaScript sandbox that uses V8 isolation to run AI-generated code locally, with heap snapshotting for persistent sessions.
- mcp-server-js
Run LLM-generated code in a YepCode sandbox and create custom MCP tools in JavaScript or Python with npm and PyPI packages.
- openapi-to-mcp (ouvreboite)
⃣ - Access any API via its OpenAPI specification, with full JSON Schema support for parameters and request bodies.
- colab-mcp
Control Google Colab notebooks and assign GPUs (T4/L4/A100). Fork of Google's colab-mcp with all tools visible at startup and Windows support.
- mcp-server (packages)
Code-mode MCP server: collapses user-defined tools into code execution plus docs search, sandboxed in node:vm, WASM or remote microVMs.
- jobd
Self-hostable GPU-aware job broker: dispatch long-running or GPU jobs that outlive the session, route them by VRAM tier and monitor them across sessions.
- codecalc
Code and logic calculator with an offline core: run code, exact symbolic math, SMT/logic and complexity analysis, with optional gVisor/AppContainer sandboxing.
- matlab-mcp-server-python
MATLAB integration: execute code, run async jobs with progress reporting, get interactive Plotly plots and expose custom .m functions as tools.
- e2b-sandbox-mcp
E2B cloud sandboxes: create isolated Linux VMs, clone repos, run commands, manage files and perform git operations without touching the local machine.
- reachpad-mcp
Persistent cloud dev environments for coding agents: create, run commands, checkpoint and fork, with files, services and terminal state kept between calls.
- terse (bloriner)
MCP server for Terse, an AI-native code language for coding agents: parse, evaluate, transpile to Python, and token-count Terse source over stdio.
- sandbox-as-a-service-mcp
Dedicated Linux VM sandboxes for untrusted, model-generated code: run commands, move files, expose a preview URL and destroy the VM.
- hackerearth-mcp
Give any AI assistant a code run button: execute code in 24 languages on HackerEarth's sandboxed servers. uvx hackerearth-mcp.
- Edict
Agent-oriented programming language: agents emit a JSON AST that the compiler validates, type- and effect-checks, verifies with Z3/SMT and compiles to WASM.
- srunx
Submit SLURM jobs, run YAML workflows, monitor GPU resources, manage SSH profiles and sync files with local or SSH-remote HPC clusters.
- prolog-reasoner
SWI-Prolog execution for LLMs with CLP(FD), negation as failure and recursion.
- outsource-mcp
Delegate tasks to other AI providers' models, e.g. ask OpenAI to generate an image.
- PRIMS
Python runtime interpreter that executes submitted code in an isolated environment.
- openapi-mcp
Access any API through its existing OpenAPI documentation.
- piston-mcp
Execute code through the Piston remote code execution engine.
- mcp-server (integrations)
Run untrusted Python/JavaScript code in WebAssembly sandboxes.