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
Basic information
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.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"codebox-ai": {
"command": "uv",
"args": [
"run",
"mcp",
"dev",
"mcp_server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.

1,000+ fully localized prompt templates across 40+ categories. Compare Mode — send the same prompt to up to 9 AI providers (ChatGPT, Claude, Gemini, Grok, Groq, Copilot, Mistral, Perplexity, DuckDuckGo AI) and compare an
MCP-native LLM councils for debates, juries, blind panels, voting, refinement, and custom multi-model deliberation.
XDC AI is a remote MCP server available at https://xdcai.tech.

Quantum-inspired keyring for AI coding agents. Secure secrets with superposition, entanglement, tunneling, and teleportation — CLI + 44 MCP tools.
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.
Comments