Safe Local Python Executor MCP Server
@maxim-saplin
基本信息
关于 Safe Local Python Executor MCP Server
Stdio MCP Server wrapping custom Python runtime (LocalPythonExecutor) from Hugging Faces' `smolagents` framework. The runtime combines the ease of setup (compared to docker, VM, cloud runtimes) while providing safeguards and limiting operations/imports that are allowed inside the
Safe Local Python Executor MCP Server 配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"safe-local-python-executor": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp_local_python_executor/",
"run",
"mcp_server.py"
]
}
}
}Safe Local Python Executor MCP Server 工具
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Safe Local Python Executor?
Safe Local Python Executor is an MCP server (stdio transport) that wraps Hugging Face's LocalPythonExecutor to provide a safer Python runtime for executing code generated by LLMs locally, without needing Docker or a VM. It is intended for LLM apps like Claude Desktop, Cursor, or any MCP-compatible client.
How to use Safe Local Python Executor?
Install via Smithery (npx -y @smithery/cli install @maxim-saplin/mcp_safe_local_python_executor --client claude) or manually: install uv, clone the repo, and run uv run mcp_server.py. Then configure Claude Desktop by adding the tool to its configuration file with the command uv and appropriate arguments.
Key features of Safe Local Python Executor
- Exposes
run_pythontool for safe code execution - Runs locally with no Docker or VM required
- Restricts imports to a safe list (collections, math, etc.)
- No file I/O operations allowed
- Uses Hugging Face's LocalPython
云与基础设施 分类下的更多 MCP 服务器
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.

HostTracker
HostTrackerHostTracker is a website and infrastructure monitoring service that has run external checks since 2004 for more than 500,000 websites. Its official MCP server lets an AI assistant operate a HostTracker account directly i
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Muumuu Domain MCP Server
pepaboThe official MCP server for Muumuu Domain by GMO Pepabo, Inc — the first remote MCP server in the Japanese domain registrar industry. Search and register domains, manage owned domains and contracts, and configure DNS rec
评论