Loading...
npx -y @smithery/cli install @maxim-saplin/mcp_safe_local_python_executor --client claude{
"mcpServers": {
"safe-local-python-executor": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp_local_python_executor/",
"run",
"mcp_server.py"
]
}
}
}run_pythonExecutes a Python code snippet and returns the output.
Executes arbitrary code, even within a sandbox.
This executor provides a balance between convenience and security. It's safer than direct Python execution but less secure than containerized solutions. Use with caution, especially with untrusted code sources.