Python Sandbox

Provides a secure sandbox environment for executing Python code within isolated Docker containers, enabling safe code testing with

johanli233 40
Claude CodeClaude DesktopGeneric
View source ↗

MCP Sandbox provides a secure environment for executing Python code within isolated Docker containers, enabling AI assistants to safely run and test code. Built with FastAPI and React, it features user authentication, sandbox management with resource limits, package installation via uv, and file operations through a RESTful API. The implementation includes a comprehensive security model with container isolation, non-root execution, and memory limits, making it valuable for educational platforms, code testing services, and AI assistants that need to execute untrusted code without compromising system security.

Source

Repository: https://github.com/johanli233/mcp-sandbox

Maintain Python Sandbox?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Python Sandbox on getagentictools](https://getagentictools.com/mcp/johanli233-mcp-sandbox?ref=badge)