A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
Here are some usage examples
Here is the list of supported tools
stdin
mode locally, or host it as a remote HTTP serverInstall dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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/sandbox-mcp@0.2.0"
],
"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
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.
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.β¨
Enable AI agents to secure code with Semgrep.
MCP Server that exposes Creatify AI API capabilities for AI video generation, including avatar videos, URL-to-video conversion, text-to-speech, and AI-powered editing tools.
An MCP server that enables Large Language Models to make HTTP requests and interact with web APIs. It supports automatic tool generation from OpenAPI/Swagger specifications.
MCP server to provide golang packages and their information from pkg.go.dev
Generate images using Amazon Nova Canvas with text prompts and color guidance.
A remote, authentication-free MCP server for weather data, deployable on Cloudflare Workers or run locally via npm.
Tools for logging, analyzing, and improving Claude Desktop prompts to enhance prompt engineering skills.
Provides linear programming (LP) and mixed-integer programming (MIP) optimization capabilities using the HiGHS solver.
MCP server for integrating with Polarion Application Lifecycle Management (ALM).
A FastAPI-based gateway for the Model Context Protocol (MCP) designed to unify and scale AI toolchains.