Python Exec Sandbox
Runs Python scripts in disposable sandboxes with inline dependencies, selectable Python versions, timeouts, and output limits.
Install Python Exec Sandbox
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"python-exec-sandbox": {
"command": "uvx",
"args": [
"mcp-python-exec-sandbox"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 3 tools correctly (5d ago).
Overview
Use cases
- Run Python analysis scripts with temporary package dependencies
- Validate PEP 723 metadata before execution
- Test code against selected Python versions
- Inspect the configured execution environment
- Limit script runtime and returned output
Key features
- PEP 723 inline dependency support
- Disposable per-execution environments
- Python version selection through uv
- Bubblewrap and Docker sandbox backends
- Configurable timeouts
- Output size limits
Tools3
What Python Exec Sandbox lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 3 tools this server returned when we ran it.
Observed 2026-10-17 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 12d ago via OSV.dev · mcp-python-exec-sandbox (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Python Exec Sandbox works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Python Exec Sandbox
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/python-exec-sandbox)<a href="https://allmcps.com/mcp/python-exec-sandbox"><img src="https://allmcps.com/api/badge/python-exec-sandbox?style=directory" alt="Python Exec Sandbox on AllMCPs" /></a>