r33drichards/mcp-js
MCP server that lets AI agents run JS/TS in a sandboxed V8 isolate
What it solves
Without it, agents must wire up dozens of narrow tools and cannot easily loop, branch, or transform data.
- Single run_js tool
- Persistent V8 heap snapshots
- Host capabilities denied by default
Works with
- claude-desktop
- cursor
- cli
Install
claude mcp add mcp-v8 -- mcp-v8 --heap-store dir --heap-dir /tmp/mcp-v8-heaps # stateful claude mcp add mcp-v8 -- mcp-v8 --heap-store none # stateless Copy-ready config
{
"mcpServers": {
"js": {
"command": "mcp-v8",
"args": [
"--heap-store",
"none"
]
}
}
} Security flags
- Needs API key: Not stated
- Runs locally: Yes
- Network access: Yes
- Needs root: Yes
Maintenance
| Last commit | 2026-12-06(0d) |
|---|---|
| Stars | 64 |
| Open issues | 52 |
| License | AGPL-3.0 |
| Archived | No |
| Data fetched | 2026-12-06 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
**mcp-v8** is a [Model Context Protocol](https://modelcontextprotocol.io) server, written in Rust, that lets an AI agent **run JavaScript and TypeScript in a sandboxed V8 isolate**.