MCP Servers
maxim-saplin/mcp_safe_local_python_executor
Stdio MCP Server wrapping custom Python runtime (LocalPythonExecutor) from Hugging Faces' smolagents framework.
Our verdict
We have not reviewed maxim-saplin/mcp_safe_local_python_executor yet
No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.
From the listing
About maxim-saplin/mcp_safe_local_python_executor
A stdio MCP server that wraps the LocalPythonExecutor from Hugging Face's smolagents framework. It provides a Python runtime that is easier to set up than Docker, VM, or cloud alternatives, while restricting allowed operations and imports to enforce safety.
Best for
Developers who need basic safe local execution of Python code in MCP-based workflows
Use cases
- Execute untrusted Python snippets locally without full sandboxing overhead
- Integrate safe code execution into MCP-based tools and agents
- Protect host systems by limiting imports and operations in ad-hoc scripts
Notes
44 stars on GitHub. Last updated 2025-07-17. Licensed MIT.
Pros
- Lightweight setup compared to Docker or remote runtimes
- Built-in restrictions reduce risk from malicious or buggy code
- Leverages a proven framework from Hugging Face
Cons
- Not a full sandbox; sophisticated attacks may bypass restrictions
- Limited to a single machine; no multi-node or distributed execution
- Few stars and contributors indicate a small community
Key facts
What we have checked
Not checked yet. Dated facts such as prices, releases and repository activity appear here once we have confirmed them from a source.
How to use
How to set it up
As the listing publishes it. We have not run this install.
Install
npx -y @smithery/cli install @maxim-saplin/mcp_safe_local_python_executor --client claudeTools exposed
run_python
Clients the listing names (not checked here)
Claude Desktop, Cursor, ChatGPT
Example client config
{
"mcpServers": {
"safe-local-python-executor": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp_local_python_executor/",
"run",
"mcp_server.py"
]
}
}
}Install
Add maxim-saplin/mcp_safe_local_python_executor to your client
No install recipe yet. We write one for Claude Code, Claude Desktop, Cursor, VS Code, Codex and ChatGPT when the server is in the official MCP registry with a package or remote address we can use.
Until then, follow the project's own README, or the setup the listing publishes under How to set it up.
Works with
What maxim-saplin/mcp_safe_local_python_executor connects to
No confirmed connections yet. A product appears here when the server's registry name, repo, homepage or name ties it to that product, and a client appears when we have an install recipe for it.
Alternatives
Alternatives to maxim-saplin/mcp_safe_local_python_executor
| Record | Type | How we know | Checked |
|---|---|---|---|
| pydantic/pydantic-ai/mcp-run-pythonThis is an alternative to it | MCP server | Named in the listing | Not dated |
Compare
Compare maxim-saplin/mcp_safe_local_python_executor side by side
Sources
Where this comes from
No sources recorded yet. Each source we check is listed here with the date we checked it.
A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.
Changelog
What changed
No changes recorded yet. Releases, price changes and deprecations appear here, with their dates, once we track them for this record.
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.