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.
Tools
Claude からのコードを安全に実行するために、構成可能な時間とメモリ制限を備えた安全で分離された JavaScript 実行環境を提供します。
Related Resources
Related MCP Servers
- -securityAlicense-qualityThe sessionless code interpreter. Securely run AI-generated code in stateful sandboxes that run forever.Last updated -65176RustMIT License
- -securityFlicense-qualityA TypeScript application that allows Claude to safely execute bash commands with security safeguards including whitelisted commands, directories, and comprehensive logging.Last updated -TypeScript
- -securityFlicense-qualityA TypeScript application that allows Claude to safely execute bash commands with security safeguards, providing a secure interface through the Model Context Protocol.Last updated -TypeScript
- AsecurityFlicenseAqualityA secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.Last updated -21507JavaScript