302AI Sandbox MCP Server
🤖 302AI サンドボックス MCP サーバー🚀✨

プレビュー
使用例をいくつか紹介します


サポートされているツールのリストはこちらです

Related MCP server: discord-mcp
✨ 特徴 ✨
🔧 動的ロード - リモート サーバーからツール リストを自動的に更新します。
🌐 複数のモードがサポートされており、
stdinモードをローカルで使用することも、リモート HTTP サーバーとしてホストすることもできます。
🚀 ツールリスト
発達
依存関係をインストールします:
npm installサーバーを構築します。
npm run build自動リビルドを使用した開発の場合:
npm run watchインストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
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"
}
}
}
}Cherry Studio で使用するには、サーバー設定を追加します。
{
"mcpServers": {
"Li2ZXXJkvhAALyKOFeO4N": {
"name": "302ai-sandbox-mcp",
"description": "",
"isActive": true,
"registryUrl": "",
"command": "npx",
"args": [
"-y",
"@302ai/sandbox-mcp@0.2.0"
],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}ChatWiseで使用するには、次のコンテンツをクリップボードにコピーしてください
{
"mcpServers": {
"302ai-sandbox-mcp": {
"command": "npx",
"args": ["-y", "@302ai/sandbox-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}設定 -> ツール -> ボタンを追加 -> クリップボードからインポートを選択
302AI_API_KEYはこちら
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
npm run inspectorインスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
✨ 302.AIについて ✨
302.AIは、従量課金制サービス、すぐに使用できるソリューション、オープンソース エコシステムを提供する、エンタープライズ向けの AI アプリケーション プラットフォームです。✨
🧠 言語モデル、画像モデル、音声モデル、ビデオモデルなど、最新かつ最も包括的な AI 機能とブランドを統合します。
🚀 基礎モデルに基づいた高度なアプリケーションを開発 - 単純なチャットボットではなく、本物の AI 製品を開発します
💰 月額料金はゼロ、すべての機能は従量課金制、完全にオープンで、非常に低い障壁と高い可能性を実現します。
🛠 チームおよび中小企業向けの強力な管理バックエンド - 1 人が管理し、多くの人が使用します。
🔗 すべての AI 機能は API アクセスを提供し、すべてのツールはオープンソースでカスタマイズ可能です (進行中)。
💡 強力な開発チーム。毎週2~3個の新しいアプリケーションをリリースし、製品は毎日アップデートされています。参加にご興味のある開発者の方は、お気軽にお問い合わせください。
Available Tools
9 toolscreateSandboxA
Create a Linux sandbox that can execute code, run commands, upload and download files, and has complete Linux functionality. After successful creation, a sandbox_id will be returned, and all subsequent operations will need to include this sandbox_id to specify the corresponding sandbox. Except for directRunCode, all other operations require the creation of a sandbox first. After successful creation, the sandbox will automatically pause. When calling other sandbox operation interfaces later, it will automatically reconnect and pause again after execution to avoid generating extra costs.
Inputs: max_alive_time (required), envs, metadata, sandbox_name.
directRunCodeA
Automatically creates a sandbox, executes code, and immediately destroys the sandbox after execution. Optionally exports sandbox files (compresses multiple files into a zip archive if there are multiple files in the specified path, or exports a single file directly). Recommended for use cases that don't require continuous sandbox operations.
Inputs: code (required), language (required), envs, is_download, +1 more.
downloadSandboxFilesA
Export files from a sandbox directory or file path to downloadable urls. Supports batch export of multiple directories or files. When exporting directories, only common file formats are included (documents, images, audio, video, compressed files, web files, and programming language files).
Inputs: path (required), sandbox_id (required).
killSandboxB
Destroy a sandbox by its ID.
Inputs: sandbox_id (required).
listSandboxesB
Query the list of sandboxes associated with the current API key. If no parameters are passed, all current sandboxes will be returned.
Inputs: sandbox_id, sandbox_name.
listSandboxFilesA
List files and directories at specified paths within a sandbox. Supports batch queries with multiple paths. This operation can be used before downloadSandboxFiles to check if the file exists.
Inputs: path (required), sandbox_id (required).
runCodeB
Run code on a specific sandbox. This returns text output only. For operations that generate files, you'll need to use separate file viewing and export endpoints. Default file saving path is /home/user.
Inputs: code (required), sandbox_id (required), envs, language, +1 more.
runCommandA
Run a command line command on a specific linux sandbox. This returns text output only. For operations that generate files, you'll need to use separate file viewing and download endpoints.
Inputs: cmd (required), sandbox_id (required), envs, timeout.
writeSandboxFilesA
Import files from public URLs into a sandbox. Supports batch import of multiple files. If the target file already exists, it will be overwritten. If the target directory doesn't exist, it will be automatically created. You must create a sandbox before calling this tool.
Inputs: file_list (required), sandbox_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have distinct purposes, such as createSandbox for creation, killSandbox for destruction, and listSandboxes for querying. However, runCode and runCommand could be slightly ambiguous as both execute operations on a sandbox and return text output, though their descriptions clarify code vs. command execution.
Tool names follow a consistent verbNoun pattern in camelCase throughout, such as createSandbox, downloadSandboxFiles, and runCode. This predictability makes it easy for agents to understand and select tools based on their naming conventions.
With 9 tools, the server is well-scoped for managing Linux sandboxes, covering creation, execution, file operations, listing, and destruction. Each tool serves a clear role without redundancy, making the count appropriate for the domain.
The tool set provides comprehensive coverage for sandbox lifecycle management, including create, list, run, file handling, and destroy operations. A minor gap is the lack of a tool for updating sandbox configurations or states, but core workflows are fully supported without dead ends.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.5-
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.635MIT
- AlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that allows Claude AI to interact with custom tools, enabling extension of Claude's capabilities through the MCP framework.-