- Explore MCP Servers
- 302_sandbox_mcp
302 Sandbox Mcp
What is 302 Sandbox Mcp
302_sandbox_mcp is an MCP service designed to provide a secure code execution environment for AI assistants, allowing them to run arbitrary code safely within a sandbox.
Use cases
Use cases include running code snippets for testing, creating isolated environments for development, managing files within a sandbox, and executing commands securely.
How to use
To use 302_sandbox_mcp, install the dependencies using ‘npm install’, build the server with ‘npm run build’, and configure it for use with Claude Desktop by adding the server configuration to the appropriate JSON file based on your operating system.
Key features
Key features include dynamic loading of tools from a remote server, support for multiple modes (local stdin mode or remote HTTP server), and a variety of tools for code execution, sandbox management, and file operations.
Where to use
302_sandbox_mcp can be used in various fields including software development, AI research, and educational environments where safe code execution is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is 302 Sandbox Mcp
302_sandbox_mcp is an MCP service designed to provide a secure code execution environment for AI assistants, allowing them to run arbitrary code safely within a sandbox.
Use cases
Use cases include running code snippets for testing, creating isolated environments for development, managing files within a sandbox, and executing commands securely.
How to use
To use 302_sandbox_mcp, install the dependencies using ‘npm install’, build the server with ‘npm run build’, and configure it for use with Claude Desktop by adding the server configuration to the appropriate JSON file based on your operating system.
Key features
Key features include dynamic loading of tools from a remote server, support for multiple modes (local stdin mode or remote HTTP server), and a variety of tools for code execution, sandbox management, and file operations.
Where to use
302_sandbox_mcp can be used in various fields including software development, AI research, and educational environments where safe code execution is required.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
🤖 302AI Sandbox MCP Server🚀✨
An MCP service with code sandbox that allows AI assistants to safely execute arbitrary code.

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

Find Your 302AI_API_KEY here
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
✨ About 302.AI ✨
302.AI is an enterprise-oriented AI application platform that offers pay-as-you-go services, ready-to-use solutions, and an open-source ecosystem.✨
- 🧠 Integrates the latest and most comprehensive AI capabilities and brands, including but not limited to language models, image models, voice models, and video models.
- 🚀 Develops deep applications based on foundation models - we develop real AI products, not just simple chatbots
- 💰 Zero monthly fee, all features are pay-per-use, fully open, achieving truly low barriers with high potential.
- 🛠 Powerful management backend for teams and SMEs - one person manages, many people use.
- 🔗 All AI capabilities provide API access, all tools are open source and customizable (in progress).
- 💡 Strong development team, launching 2-3 new applications weekly, products updated daily. Developers interested in joining are welcome to contact us.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.











