Python Code Execution

191

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.

Category MCP Servers
Language Python
License MIT
Added Mar 28, 2026
Views 99

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.

Log In to Claim

Share This Project

Embed Badge

Add this badge to your README:

[![Listed on AiList](https://hifriendbot.com/ai-list/badge/python-code-execution.svg)](https://hifriendbot.com/ai-list/python-code-execution/)
Listed on AiList

List Your Project

Join the directory Ai agents read. Free forever.

Submit Your Project