Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ‘¨β€πŸ’» Code Execution
  3. Node Code Sandbox MCP
Node Code Sandbox MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 11:46:39 AM

Node Code Sandbox MCP

User RatingsBe the first to rate and review this MCP server!
View Repository157 GitHub StarsTotal stargazers on GitHub for the source repository (157 stars).Visit Website
code-executionnodejsdockernpm

Runs JavaScript in temporary Docker sandboxes with npm installs, command execution, output capture, and optional detached processes.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for alfonsograziano/node-code-sandbox-mcp, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Tool Schemas (1) Directory Badge Claim listing AlternativesπŸ‘¨β€πŸ’» More in Code Execution

Overview

alfonsograziano/node-code-sandbox-mcp MCP server runs JavaScript inside isolated Docker containers and installs requested npm packages for each job. It supports one-off execution, persistent sandbox sessions, shell commands, stdout capture, and optional port exposure for detached processes. Use it when an MCP client needs to execute Node.js code without running it directly on the host, or when scripts need generated files returned from an ephemeral job. Docker must be installed and running, with access to the Docker socket.

Use cases

β€’Run JavaScript with temporary npm dependencies
β€’Generate files such as images or JSON from a script
β€’Execute shell commands in an isolated container
β€’Keep a Node.js process running and expose a port
β€’Search npm packages before installing them

Key features

β€’Ephemeral Docker-based JavaScript execution
β€’On-demand npm dependency installation
β€’Reusable sandbox containers
β€’Shell command execution
β€’Detached processes with port exposure
β€’Generated file and stdout capture

Capabilities & Tool Schemas (1) ~6 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Node Code Sandbox MCP.

Output

Container ID string

How Node Code Sandbox MCP works

What alfonsograziano/node-code-sandbox-mcp MCP server does

The alfonsograziano/node-code-sandbox-mcp MCP server gives an MCP client a way to run JavaScript in Docker-backed Node.js environments. It can create a disposable container for a single script or maintain a container across several operations. Scripts use ES modules, can install npm dependencies specified as package-and-version pairs, and return captured standard output.

The ephemeral execution path also returns files created in the script's working directory. Image files such as PNG and JPEG files are returned as image content, while other files such as text or JSON are returned as resources. This supports tasks such as generating an artifact with a Node package and sending the result back through the tool response.

How it works

A one-shot request selects a Docker image, supplies JavaScript source, and optionally lists npm dependencies. The server creates a new container, writes an entry script and minimal package metadata, installs the requested packages, runs the code, captures stdout, and removes the container afterward.

For longer workflows, sandbox_initialize creates a container and returns its ID. sandbox_exec runs one or more shell commands in that container. run_js creates a temporary workspace, installs dependencies with npm using production-only, script-disabled, audit-disabled settings, and runs the supplied ES module. A listenOnPort value changes this behavior: the process remains in the background and the selected port is exposed to the host. sandbox_stop terminates and removes the container.

The server supports resource controls through memory and CPU settings. Docker images can be selected per sandbox, with node:lts-slim used by default. A port can be mapped when initializing a sandbox.

Setup and configuration

Docker must be installed and running before the alfonsograziano/node-code-sandbox-mcp MCP server can execute jobs. The documented NPX configuration runs node-code-sandbox-mcp with npx -y. A Docker-based MCP configuration instead runs the mcp/node-code-sandbox image and mounts /var/run/docker.sock so the server can create child containers.

FILES_DIR can identify a host directory for generated files. The directory is mounted into the server container in the Docker configuration examples. SANDBOX_MEMORY_LIMIT and SANDBOX_CPU_LIMIT configure optional container resource limits. Pre-pulling the images used for jobs can reduce first-run delays.

Tools and capabilities

  • run_js_ephemeral: execute JavaScript in a new disposable container and receive stdout plus files created by the script.
  • sandbox_initialize: start a reusable sandbox and return its container ID.
  • sandbox_exec: execute shell commands in an existing sandbox.
  • run_js: install selected npm packages and run JavaScript in an existing sandbox, with optional detached mode and port exposure.
  • sandbox_stop: stop and remove a sandbox by container ID.
  • search_npm_packages: search npm using a term and optional author, maintainer, scope, keyword, exclusion, or inclusion filters; results include package metadata and a README excerpt.

Limitations and notes

The server depends on Docker and requires access to the Docker socket when it is itself run in a container. Dependency installation occurs during execution, so network access and npm availability affect jobs that request packages. Detached processes are not cleaned up with the temporary workspace; callers should stop the associated container when it is no longer needed. CPU and memory limits are controlled through configuration, but the provided material does not specify broader security guarantees for arbitrary code.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Code Execution View all alternatives
  • MCP Server Js logoMCP Server Js

    Execute any LLM-generated code in a secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages

    πŸ‘¨β€πŸ’» Code Execution2 views
    Compare vs MCP Server Js β†’
  • MCP Run Python logoMCP Run Python

    Run Python code in a secure sandbox via MCP tool calls

    πŸ‘¨β€πŸ’» Code Execution1 views
    Compare vs MCP Run Python β†’
  • Colab MCP logoColab MCP

    Control Google Colab notebooks and assign GPUs (T4/L4/A100) from any AI agent. Enhanced fork of Google's colab-mcp with all tools visible at startup, OAuth GPU control, and Windows support.

    πŸ‘¨β€πŸ’» Code Execution6 views
    Compare vs Colab MCP β†’
  • E2b Sandbox MCP logoE2b Sandbox MCP

    Connect Claude Code with E2B cloud sandboxes β€” 29 tools for creating isolated Linux VMs, cloning repos, running commands, managing files, and performing git operations without touching the local machine.

    πŸ‘¨β€πŸ’» Code Execution3 views
    Compare vs E2b Sandbox MCP β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
157
Stargazers on the source repository.
npm downloads
383
Package downloads in the last 30 days.
Last commit
9mo ago
Most recent push to the default branch.
Tools exposed
1
Callable tools this server registers over MCP.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Node Code Sandbox MCP

Use the documented NPX configuration with `npx -y node-code-sandbox-mcp`, or run the Docker image configuration. Docker must be installed and running.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNode Code Sandbox MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alfonsograziano-node-code-sandbox-mcp?style=directory)](https://allmcps.com/mcp/alfonsograziano-node-code-sandbox-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/alfonsograziano-node-code-sandbox-mcp"><img src="https://allmcps.com/api/badge/alfonsograziano-node-code-sandbox-mcp?style=directory" alt="Node Code Sandbox MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ‘¨β€πŸ’»Code Execution
PricingFree
More technical detailsExpand β–Ύ
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedSep 7, 2026
10/10 checks healthy over the last 31d
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars157
GitHub Star CountTotal stargazers on GitHub representing community popularity (157 stars).
Last commit9mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Nov 24, 2025
npm downloads383/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
52Quality signal: Good Β· 52/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools22/30
Adoption & activity7/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ‘¨β€πŸ’» Code Execution β†’Best MCP servers for Code Execution β†’Alternatives to Node Code Sandbox MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code