What runtime dependencies does CodeBox-AI require?
Python 3.9+, Docker, and [uv](https://github.com/astral-sh/uv) (fast package installer and resolver). For MCP or Claude Desktop integration, `uv` must be installed and configured.
@tomconte
基本信息
A secure Python code execution service designed to integrate with LLMs like GPT and Claude, providing a self-hosted alternative to OpenAI's Code Interpreter. Now with MCP server.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"codebox-ai": {
"command": "uv",
"args": [
"run",
"mcp",
"dev",
"mcp_server.py"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
CodeBox-AI is a secure, self-hosted Python code execution service built with FastAPI and IPython kernels. It provides a private alternative to OpenAI’s Code Interpreter or Anthropic’s Claude analysis tool, supports session-based code execution, and integrates with LLM function calling and the Model Context Protocol (MCP).
Clone the repository, install dependencies with uv sync, and start the server with uv run -m codeboxai.main. Optionally run the MCP server standalone with uv run mcp dev mcp_server.py, register it with Claude Desktop via uv run mcp install mcp_server.py --name "CodeBox-AI", or start both FastAPI and MCP servers together with uv run run.py. Use the REST API endpoints (POST /sessions, POST /execute, etc.) or the MCP tools (execute_code, session://{session_id}, sessions://) for code execution.
Python 3.9+, Docker, and [uv](https://github.com/astral-sh/uv) (fast package installer and resolver). For MCP or Claude Desktop integration, `uv` must be installed and configured.
Code execution runs inside Docker containers – each session is isolated. The service implements AST-based code analysis, protection against dangerous imports and operations, basic resource limits, and a package allowlist/blocklist system.
Yes. You can specify mount points with host and container paths, set read-only or read-write access, and the service performs security validations to prevent access to sensitive paths. Mounting can be done via the API or environment variable `CODEBOX_MOUNT_PATH`.
Yes. You can register the MCP server with Claude Desktop by installing it via `uv run mcp install mcp_server.py --name "CodeBox-AI"` and adding the server configuration to the Claude Desktop settings file (`claude_desktop_config.json`). The server then appears as a custom tool.
No – the README explicitly states it is “a prototype implementation, not intended for production use without additional hardening.” It provides basic security and resource limits but should be reviewed and extended for production scenarios.

Discover flat-rate DeepSeek plans, model limits, API-key instructions, and coding-client setup
NetFoundry LLM Gateway is an OpenAI-compatible API proxy that routes requests across multiple LLM providers using zero-trust networking. Zero trust LLM gateway. OpenAI-compatible proxy with semantic routing and load bala
AON MCP connects AI agents to real, buyable products and services with live pricing and tracked links—enabling builders to earn developer revenue share from attributed clicks and conversions.
FACTANKER serves 1.18B+ evidence-backed facts about US companies, banks, nonprofits and federal spending, sourced from SEC EDGAR, FFIEC call reports, IRS 990 filings and USAspending. Every value carries its evidence: fil

Official MCP server for imageat — AI image and video generation for AI assistants. Generate images and videos, and use 20+ editing tools (background remove/replace, inpainting, object eraser, relight, virtual try-on) dir
评论