# Python Sandbox

> Use this tool when you need to execute untrusted Python code in a secure environment, such as testing or educational purposes, to prevent system compromise. The Python Sandbox provides a isolated Docker container with resource limits, package installation, and file operations through a RESTful API. It solves the problem of safely running unknown code, making it ideal for AI assistants, educational platforms, and code testing services.

Canonical page: https://skillsregistry.net/skills/johanli233-python-sandbox  
JSON: https://api.skillsregistry.net/v1/skills/johanli233-python-sandbox

## Description

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.

## Trust

- **Trust score (0–1):** 0.42
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/johanli233-python-sandbox)
- **Repository:** <https://github.com/johanli233/mcp-sandbox>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "johanli233-python-sandbox"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/johanli233-python-sandbox` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/johanli233-python-sandbox/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
