
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
302 サンドボックス MCP
概要
AIアシスタントが任意のコードを安全に実行できるコードサンドボックス付きのMCPサービス。 - ◦ 動的ロード - リモートサーバーからツールリストを自動的に更新します。 - バックアップマルチモードをサポート、stdinモードをローカルで使用したり、リモートHTTPサーバーとしてホストしたりできます。 - ワンクリックコード実行 - サンドボックスを作成 - あなたのサンドボックスリストをクエリ - 破壊サンドボックス - 実行コード - コマンドラインを実行 - 指定されたパスでファイル情報クエリ - サンドボックスにファイルをインポート - サンドボックスをエクスポート Claude Desktop を使用するには、サーバーの設定を追加します。 MacOSの場合:~/ Library/Application Support/Claude/claude desktop config.json Windowsの場合:%APPDATA%/Claude/claude desktop config.json Cherry Studio を使用するには、サーバーの設定を追加します。 ChatWise で使用するには、以下の内容をクリップボードにコピーします。 設定に移動 → ツール -> ボタンの追加 -> Clipboardからインポートを選択
概要(AI 翻訳)
AIアシスタントが任意のコードを安全に実行できるコードサンドボックス付きのMCPサービス。
日本語 | English
プレビュー
使用例はこちら
サポートされているツールのリストは次のとおりです。
✨ 特集 ✨
- ◦ 動的ロード - リモートサーバーからツールリストを自動的に更新します。
- バックアップマルチモードをサポート、ローカルで
stdinモードを使用するか、リモートHTTPサーバーとしてホストできます。
OST ツールリスト
- ワンクリックコード実行
- サンドボックスを作成する
- サンドボックスリストの問い合わせ
- 破壊的なサンドボックス
- 実行コード
- コマンドラインを実行
- 指定されたパスでファイル情報をクエリする
- ファイルデータをサンドボックスにインポートする
- サンドボックスのエクスポートファイル
開発
依存関係をインストール:
サーバの構築:
自動再構築による開発のため:
インストール
Claude Desktop を使用するには、サーバーの設定を追加します。
MacOSの場合: [~/Library/Application Support/Claude/claude_desktop_config.json
Windowsの場合: [[T2]
Cherry Studio を使用するには、サーバーの設定を追加します。
ChatWise で使用するには、以下の内容をクリップボードにコピーします。
設定に移動 → ツール -> ボタンの追加 -> Clipboardからインポートを選択
##302AI API KEYをここに見つける チュートリアルの利用
デバッグ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
🤖 302AI Sandbox MCP Server🚀✨
An MCP service with code sandbox that allows AI assistants to safely execute arbitrary code.
中文 | English | 日本語
Previews
Here are some usage examples
Here is the list of supported tools
✨ Features ✨
- 🔧 Dynamic Loading - Automatically update tool list from remote server.
- 🌐 Multi modes supported, you can use
stdinmode locally, or host it as a remote HTTP server
🚀 Tool List
- One-click Code Execution
- Create Sandbox
- Query Your Sandbox List
- Destroy Sandbox
- Run-Code
- Run Command Line
- Query File Information at Specified Path
- Import File Data into Sandbox
- Export Sandbox Files
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"302ai-sandbox-mcp": {
"command": "npx",
"args": ["-y", "@302ai/sandbox-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
To use with Cherry Studio, add the server config:
{
"mcpServers": {
"Li2ZXXJkvhAALyKOFeO4N": {
"name": "302ai-sandbox-mcp",
"description": "",
"isActive": true,
"registryUrl": "",
"command": "npx",
"args": [
"-y",
"@302ai/[email protected]"
],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
To use with ChatWise, copy the following content to clipboard
{
"mcpServers": {
"302ai-sandbox-mcp": {
"command": "npx",
"args": ["-y", "@302ai/sandbox-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Go to Settings -> Tools -> Add button -> Select Import from Clipboard
インストール
npx -y @302ai/sandbox-mcp設定
{
"mcpServers": {
"302ai-sandbox-mcp": {
"command": "npx",
"args": ["-y", "@302ai/sandbox-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}