Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

JavaScript Sandbox

БесплатноНе проверен

Provides a secure JavaScript sandbox for executing code with configurable time and memory limits, enabling safe testing and evaluation of algorithms.

GitHubEmbed

Описание

Provides a secure JavaScript sandbox for executing code with configurable time and memory limits, enabling safe testing and evaluation of algorithms.

README

MseeP.ai Security Assessment Badge

js-sandbox MCP Server

smithery badge

A Model Context Protocol server that provides a secure JavaScript execution environment.

JavaScript Sandbox Server MCP server

Features

Tools

  • execute_js - Executes JavaScript code in an isolated environment
    • Parameters:
      • code (required): JavaScript code to execute
      • timeout (optional): Maximum execution time in milliseconds (100-30000ms)
      • memory (optional): Memory limit in bytes (1MB-100MB)
    • Returns the result of code execution

Security

  • Isolated code execution in a controlled environment
  • Configurable execution time and memory limits
  • Protection against malicious code

Development

Install dependencies:

npm install

Build the server:

npm run build

Development mode with auto-rebuild:

npm run watch

Installation

Installing via Smithery

To install JavaScript Sandbox Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @garc33/js-sandbox-mcp-server --client claude

To use with Claude Desktop, add the server configuration:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "js-sandbox": {
      "command": "/path/to/js-sandbox/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using MCP Inspector, which is available as:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

from github.com/garc33/js-sandbox-mcp-server

Установка JavaScript Sandbox

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/garc33/js-sandbox-mcp-server

FAQ

JavaScript Sandbox MCP бесплатный?

Да, JavaScript Sandbox MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для JavaScript Sandbox?

Нет, JavaScript Sandbox работает без API-ключей и переменных окружения.

JavaScript Sandbox — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить JavaScript Sandbox в Claude Desktop, Claude Code или Cursor?

Открой JavaScript Sandbox на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare JavaScript Sandbox with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development