js-sandbox MCP サーバー
安全な JavaScript 実行環境を提供するモデル コンテキスト プロトコル サーバー。
特徴
ツール
execute_js- 隔離された環境でJavaScriptコードを実行するパラメータ:
code(必須): 実行するJavaScriptコードtimeout(オプション):最大実行時間(ミリ秒単位、100~30000ミリ秒)memory(オプション):バイト単位のメモリ制限(1MB~100MB)
コード実行の結果を返します
安全
制御された環境での分離されたコード実行
実行時間とメモリ制限を設定可能
悪意のあるコードからの保護
発達
依存関係をインストールします:
サーバーを構築します。
自動再構築付き開発モード:
インストール
Claude Desktop で使用するには、サーバー構成を追加します。
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。MCP Inspectorの使用をお勧めします。MCP Inspectorは以下の方法で入手できます。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
local-only server
The server can only run on the client's local machine because it depends on local resources.
Claude からのコードを安全に実行するために、構成可能な時間とメモリ制限を備えた安全で分離された JavaScript 実行環境を提供します。
Related Resources
Related MCP Servers
- -security-license-qualityA TypeScript application that allows Claude to safely execute bash commands with security safeguards, providing a secure interface through the Model Context Protocol.
 - Asecurity-licenseAqualityA secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.Last updated -73,295108MIT License
 - Asecurity-licenseAqualityA secure Node.js execution environment that allows coding agents and LLMs to run JavaScript dynamically, install NPM packages, and retrieve results while adhering to the Model Control Protocol.Last updated -7524
 - Asecurity-licenseAqualityA specialized server that provides advanced TypeScript code manipulation and analysis capabilities, enabling refactoring, navigation, diagnostics, and module analysis through Claude.Last updated -117,129412MIT License