Python Code Execution
Provides secure Python code execution in a sandboxed Pyodide environment with automatic dependency installation, stdout/stderr capture, and complete isolation from the host system for data analysis and mathematical computations.
About
MCP server implementation by Pydantic that provides secure Python code execution in a sandboxed environment using Pyodide running in Deno. The server offers a single `run_python_code` tool that executes Python code with dependency installation support, capturing stdout/stderr and return values while maintaining isolation from the host system. Built with TypeScript for the Deno runtime and Python for the client interface, it supports both stdio and HTTP transports, automatic dependency management through micropip, and includes comprehensive error handling for installation and runtime failures. Designed for AI assistants that need to perform data analysis, mathematical computations, or general Python scripting tasks without security risks to the underlying system.
Is this your product? Claim this listing with an email at your domain to post updates.
Is this your project?
Claim this listing to manage your page, access analytics, and unlock upgrades. Verification takes 60 seconds.
Share This Project
Embed Badge
Add this badge to your README:
[](https://hifriendbot.com/ai-list/python-code-execution/)
