MCP Safe Local Python Executor
by maxim-saplin
Runs LLM-generated Python locally through a restricted executor exposed as an MCP tool, without Docker or a VM.
Install MCP Safe Local Python Executor
Pick your client, then add it in one click or paste the config.
No confirmed install command yet
We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for maxim-saplin/mcp_safe_local_python_executor, and we’d rather show nothing than a guess you’d paste into your client.
Open setup steps on GitHubOverview
Use cases
- Calculate mathematical results with generated Python
- Generate number sequences such as prime lists
- Solve equations using the local interpreter
- Add a restricted code interpreter to an MCP client
Key features
- Exposes a run_python MCP tool
- Uses Smolagents LocalPythonExecutor
- Runs locally over stdio with uv
- Blocks file I/O operations
- Restricts available Python imports
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8/23/2026 via OSV.dev
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Safe Local Python Executor works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Safe Local Python Executor
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/maxim-saplin-mcp-safe-local-python-executor)<a href="https://allmcps.com/mcp/maxim-saplin-mcp-safe-local-python-executor"><img src="https://allmcps.com/api/badge/maxim-saplin-mcp-safe-local-python-executor?style=directory" alt="MCP Safe Local Python Executor on AllMCPs" /></a>