mcp-run-python
Verified Safeby MagmaBasilisk
Overview
Securely execute arbitrary Python code within a sandboxed environment, primarily as a tool for Model Context Protocol agents.
Installation
mcp-run-python stdioSecurity Notes
The server uses Pyodide in a Deno runtime for sandboxed Python execution, which inherently provides isolation. Network access for user-provided Python code is controllable via the 'allow_networking' flag. Deno itself runs with controlled permissions from a temporary directory, mitigating direct system impact. Dependency installation may require network access. No obvious hardcoded secrets or malicious patterns were found. The primary risk lies in potential undiscovered vulnerabilities within Pyodide or Deno, or misuse of the 'allow_networking' flag by the caller.
Similar Servers
mcp-server-code-execution-mode
This server enables LLM agents to execute Python code in a highly secure, isolated container environment, facilitating complex multi-tool orchestration and data analysis with minimal LLM context token usage.
mcp-run-python
MCP server to securely run untrusted Python code in a sandboxed WebAssembly environment, typically as a tool for AI agents.
csharp-runner
A high-performance and secure online platform for executing C# code in isolated Docker containers, supporting both HTTP and Model Context Protocol (MCP).
ipybox
A Python code execution sandbox for AI agents to programmatically interact with MCP tools and execute code actions in a stateful, sandboxed environment.