Safe Local Python Executor

Wraps LocalPythonExecutor from HuggingFace's smolagents framework. The runtime combines the ease of setup (compared to docker, VM,

maxim-saplin 44
Claude CodeClaude DesktopGeneric
View source ↗

An MCP server (stdio transport) that wraps Hugging Face's LocalPythonExecutor (from the smolagents framework). It is a custom Python runtime that provides basic isolation/security when running Python code generated by LLMs. This package allows to expose the Python executor via MCP (Model Context Protocol) as a tool for LLM apps like Claude Desktop, Cursor or any other MCP compatible client. In case of Claude Desktop this tool is an easy way to add alternative to ChatGPT's Python Interpreter plugin.

Source

Repository: https://github.com/maxim-saplin/mcp_safe_local_python_executor

Maintain Safe Local Python Executor?

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

[Safe Local Python Executor on getagentictools](https://getagentictools.com/mcp/maxim-saplin-mcp-safe-local-python-executor?ref=badge)