
r33drichards/mcp-js
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
r33drichards/mcp-js - кандидат на сервер MCP, импортированный из https://github.com/r33drichards/mcp-js.
Обзор
r33drichards/mcp-js - кандидат на сервер MCP, импортированный из https://github.com/r33drichards/mcp-js.
Обзор (машинный перевод)
mcp-v8 - сервер протокола Model Context.
написанный на Rust, который позволяет агенту ИИ ** запускать JavaScript и TypeScript в
Изолированный песочницей V8**. Вместо того, чтобы подключать десятки узких инструментов, вы даете
Агент один инструмент — run_js — и он пишет код: петля, ветвление, преобразование
данные и вызов других инструментов, часто с гораздо меньшим количеством токенов, чем эквивалент
Цепочки вызова инструментов.
В режиме по умолчанию stateful куча V8 сохраняется в виде контента Снимок, так что агент может создать состояние на многих поворотах. Возможности Host (сеть, файловая система, подпроцесс, WebAssembly, импорт модулей и звонки на другие устройства) Все MCP-серверы ** выключены по умолчанию ** и разблокированы только в явном виде Политика OPA/Rego.
Почему mcp-v8
Один инструмент, неограниченные возможности. Агент запускает программу, а не фиксированное меню инструментов.
Долгосрочное состояние. Снимки кучи сохраняются переменные и объекты по вызовам.
**Безопасно по умолчанию. ** fetch, файловая система, подпроцесс и внешний импорт отказывают, пока вы не предоставите их через политику.
- ** Заключение под принуждение.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
mcp-v8 — a JavaScript/TypeScript runtime for AI agents
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.
With heap persistence enabled (--heap-store dir|s3), 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-manifestconfines 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 **** (built
from site-docs/) — tutorials, how-to guides, concept
explanations, and complete reference for the CLI flags,
HTTP API, and
MCP tools.
Community
Join the mcp-js Discord community for questions, examples, and project discussion.
Quick start
Install
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{ "mcpServers": { "js": { "command": "mcp-v8", "args": ["--heap-store", "none"] } } }