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. MCP Js
MCP Js logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 1:30:46 PM

MCP Js

User RatingsBe the first to rate and review this MCP server!
View Repository57 GitHub StarsTotal stargazers on GitHub for the source repository (57 stars).Visit Website
javascriptsandboxcode-executionv8policy

Rust-based MCP server running sandboxed JavaScript/TypeScript with persistent V8 heap snapshots and policy-gated host capabilities.

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.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Remote HTTP
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "r33drichards-mcp-js": {
      "url": "http://localhost:8080/mcp"
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (5) Directory Badge Claim listing Alternatives๐Ÿ‘จโ€๐Ÿ’ป More in Code Execution

Overview

This MCP server provides a sandboxed JavaScript and TypeScript runtime using the V8 engine, enabling AI agents to execute code locally with isolation. It supports durable state persistence via content-addressed heap snapshots, allowing stateful sessions across multiple calls. Host capabilities like network, filesystem, subprocess, and module imports are disabled by default and can be enabled through explicit OPA/Rego policies. It supports async execution with pagination, multiple transport protocols, and optional kernel-level confinement for enhanced security.

Use cases

โ€ขExecute arbitrary JavaScript/TypeScript code securely within AI agents
โ€ขMaintain persistent JavaScript state across multiple agent interactions
โ€ขRun asynchronous JavaScript code with event loop and timers support
โ€ขIntegrate with other MCP servers via composition
โ€ขControl host resource access through fine-grained policy enforcement

Key features

โ€ขSandboxed V8 isolate for JavaScript and TypeScript execution
โ€ขContent-addressed heap snapshots for state persistence
โ€ขPolicy-gated host capabilities: fetch, filesystem, subprocess, module imports
โ€ขAsync execution model with execution IDs, polling, and cancellation
โ€ขSupport for WebAssembly modules exposed as global tools
โ€ขKernel-enforced process confinement via capability manifests

Capabilities & Tool Schemas (5) ~76 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 MCP Js.

run_js

Stateful: queue execution โ†’ `{execution_id}`. Stateless: run and return `{output, error?}`.

get_execution

Poll status/result of an execution.

get_execution_output

Read paginated console output (line or byte).

cancel_execution

Terminate a running execution.

list_executions

List executions and their status.

Documentation Overview

mcp-v8 โ€” a JavaScript/TypeScript runtime for AI agents

Docs Release License: AGPL v3

Deploy on Railway

mcp-v8 is a Model Context Protocol server, written in Rust, that lets an AI agent run JavaScript and TypeScript in a sandboxed V8 isolate. Instead of wiring up dozens of narrow tools, you give the agent one tool โ€” run_js โ€” and it writes code: looping, branching, transforming data, and calling other tools, often with far fewer tokens than equivalent tool-call chains.

In its default stateful mode the V8 heap is saved as a content-addressed snapshot, so an agent can build up state across many turns. Host capabilities (network, filesystem, subprocess, WebAssembly, module imports, and calls to other MCP servers) are all off by default and unlocked only by explicit OPA/Rego policies.

Why mcp-v8

  • One tool, unbounded capability. The agent runs a program, not a fixed menu of tools.
  • Durable state. Heap snapshots persist variables and objects across calls.
  • Secure by default. fetch, filesystem, subprocess, and external imports are denied until you grant them via policy.
  • Kernel-enforced confinement. Opt-in --sandbox-manifest confines the whole process with a nono capability manifest (Landlock on Linux, Seatbelt on macOS) as defense in depth beneath the policy layer.
  • Production-ready. stdio / Streamable HTTP / SSE transports, a REST sidecar, async execution with pagination, JWKS auth, and Raft-replicated clustering.

Documentation

Maintainers: see Publishing to the MCP Registry for the Docker-backed registry manifest and automated release process.

Full documentation lives at https://r33drichards.github.io/mcp-js/ (built from site-docs/) โ€” tutorials, how-to guides, concept explanations, and complete reference for the CLI flags, HTTP API, and MCP tools.

Quick start

Install

bash
# Server
curl -fsSL https://raw.githubusercontent.com/r33drichards/mcp-js/main/install.sh | sudo bash

# Optional CLI client
curl -fsSL https://raw.githubusercontent.com/r33drichards/mcp-js/main/install-cli.sh | sudo bash

Installs to /usr/local/bin. Supported platforms: Linux x86_64/arm64 and macOS Apple Silicon. You can also nix run github:r33drichards/mcp-js, use Docker (see the docker-compose.*.yml stacks), or build from source.

Prefer a hosted server? Deploy on Railway โ€” the repo's railway.json configures the build, healthcheck, and restart policy, and RAILWAY.md walks through the volume, variables, and one-click template setup.

Connect an MCP client

bash
# Claude Code (stdio)
claude mcp add mcp-v8 -- mcp-v8 --directory-path /tmp/mcp-v8-heaps   # stateful
claude mcp add mcp-v8 -- mcp-v8 --stateless                          # stateless

For Claude Desktop / Cursor, add to the client's mcpServers config:

config.json
{ "mcpServers": { "js": { "command": "mcp-v8", "args": ["--stateless"] } } }

Then ask the agent: "Run this JavaScript: console.log([1,2,3].map(x => x*2))".

Run over HTTP

bash
mcp-v8 --stateless --http-port 8080
# MCP endpoint: POST http://localhost:8080/mcp
# REST sidecar: POST http://localhost:8080/api/exec  (JSON body, or a raw-body file upload)

/api/exec accepts either a JSON body or a raw-body file upload โ€” send the script as the request body with a non-JSON Content-Type (curl --data-binary @script.js -H 'Content-Type: application/javascript' .../api/exec). The run_js MCP tool can also read a script from a path on the server itself via an optional file parameter โ€” off by default, enabled with --allow-run-js-file or a run_js_file policy.

See the Quick Start tutorials and the transports guide for more.

Configure with a single file

Every flag can also live in one TOML or JSON file passed via --config (or MCP_V8_CONFIG), including structured sections that replace the separate WASM / MCP-server / fetch-header / policy JSON files:

toml
# server.toml โ€” run with: mcp-v8 --config server.toml
http_port = 8080
heap_store = "dir"
heap_dir = "/var/lib/mcp-v8/heaps"

[policies.fetch]
policies = [{ url = "file:///etc/mcp-v8/fetch.rego" }]

Precedence is CLI flag > MCP_V8_* env var > config file > default. See the configuration file reference.

Features

  • JavaScript & TypeScript in an isolated V8 engine (via deno_core); TypeScript types are stripped with SWC (type removal, not type checking).
  • Async/await & timers โ€” Promises and the event loop, plus setTimeout/clearTimeout.
  • Console capture โ€” console.log/info/warn/error/debug/trace, streamed to storage and readable with line- or byte-based pagination.
  • Async execution model โ€” run_js returns an execution ID; poll status and stream output; cancel running work.
  • Content-addressed heap snapshots โ€” persist/restore V8 state across calls (local FS, S3, or S3 + write-through cache), or run stateless.
  • WebAssembly โ€” the standard WebAssembly API, plus pre-loaded modules (--wasm-module) exposed as globals and advertised to clients as runjs__wasm__<name> stub tools.
  • ES module imports โ€” optional npm:, jsr:, and URL imports fetched at runtime (policy-gated).
  • Policy-gated capabilities โ€” fetch, filesystem (fs), and subprocess access, each checked against a Rego policy per operation; plus header/OAuth injection for fetch.
  • Compose other MCP servers โ€” connect upstream MCP servers and call them from JS via mcp.callTool() / mcp.listTools().
  • Customizable surface โ€” override the server instructions and the run_js description (--instructions, --run-js-description).
  • Single-file configuration โ€” one TOML/JSON --config file can set every flag (precedence: CLI flag > env var > config file > default).
  • Auth & clustering โ€” JWKS-based JWT verification, and optional Raft clustering with replicated session metadata and horizontal scaling.
  • Multiple transports โ€” stdio, Streamable HTTP (MCP 2025-03-26+), and a legacy HTTP+SSE transport (--sse-port, served by a vendored rmcp 0.1.5), with a REST sidecar and OpenAPI spec.
  • Tasks โ€” native MCP tasks (SEP-1319) over Streamable HTTP / stdio: task-enabled clients can run run_js as a task (tasks/get, tasks/result, tasks/list, tasks/cancel), ideal for long-running calls. (The legacy SSE transport does not offer tasks.)

What the agent's code can do

These globals are available inside run_js (capability globals require a policy):

GlobalPurposeGated by
console, setTimeoutOutput & timersโ€”
fetch(url, opts?)HTTP requests (Fetch API)fetch policy
fs.*File I/O (readFile, writeFile, โ€ฆ)filesystem policy
child_process / Deno.CommandRun subprocessessubprocess policy
import (npm: / jsr: / URL)External ES modules--allow-external-modules + modules policy
WebAssembly, __wasm_<name>Run/instantiate WASMโ€”
mcp.callTool/listTools/serversCall upstream MCP serversmcp_tools policy

See Concepts โ†’ Security policies for the policy model.

MCP tools

ToolModeDescription
run_jsbothStateful: queue execution โ†’ {execution_id}. Stateless: run and return {output, error?}.
get_executionstatefulPoll status/result of an execution.
get_execution_outputstatefulRead paginated console output (line or byte).
cancel_executionstatefulTerminate a running execution.
list_executionsstatefulList executions and their status.
list_sessions, list_session_snapshotsstatefulBrowse named sessions and history.
get_heap_tags, set_heap_tags, delete_heap_tags, query_heaps_by_tagsstatefulTag and search heap snapshots.

Full parameters: MCP tools reference.

Long-running calls as tasks

The server natively implements the MCP tasks utility (spec 2025-11-25 / SEP-1319) via rmcp, over both the Streamable HTTP and stdio transports. The initialize result advertises a tasks capability, and a client may run the task-augmentable run_js tool as a task by adding a task object to the request params:

jsonc
// โ†’ returns immediately with a task instead of blocking
{ "method": "tools/call",
  "params": { "name": "run_js", "arguments": { "code": "โ€ฆ" }, "task": { "ttl": 300000 } } }

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

Related MCP Servers

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

    Run untrusted Python/JavaScript code in WebAssembly sandboxes.

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution1 views
    Compare vs MCP Server โ†’
  • 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 โ†’
  • 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 โ†’
  • SandboxAPI logoSandboxAPI

    Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution3 views
    Compare vs SandboxAPI โ†’

Adoption & maintenance

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

GitHub stars
57
Stargazers on the source repository.
Last commit
3d ago
Most recent push to the default branch.
Tools exposed
5
Callable tools this server registers over MCP.
Directory activity
2 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 MCP Js

By default, all host capabilities like network, filesystem, subprocess, and module imports are disabled and only enabled via explicit OPA/Rego policies. Additionally, kernel-level confinement using Landlock or Seatbelt can be enabled as a defense-in-depth measure.

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 PreviewMCP Js AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/r33drichards-mcp-js?style=directory)](https://allmcps.com/mcp/r33drichards-mcp-js)
HTML Embed
<a href="https://allmcps.com/mcp/r33drichards-mcp-js"><img src="https://allmcps.com/api/badge/r33drichards-mcp-js?style=directory" alt="MCP Js on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ‘จโ€๐Ÿ’ปCode Execution
PricingFree
More technical detailsExpand โ–พ
TransportSSE (Remote)
AuthAPI key
LicenseAGPL-3.0
ClientsClaude Desktop, Cursor
Last updatedSep 8, 2026
5/8 checks healthy over the last 32d
Views2
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 stars57
GitHub Star CountTotal stargazers on GitHub representing community popularity (57 stars).
Last commit3d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 8, 2026
59Quality signal: Good ยท 59/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 & tools27/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 MCP Js โ†’Install in Claude DesktopInstall in CursorInstall in VS Code