Python Code Interpreter
Provides a secure Python code interpreter for executing code, installing packages, and running files in isolated environments with persistent execution contexts and variable extraction capabilities.
About
A Python-based MCP server by XuMing that provides a secure code interpreter for executing Python code, installing packages via pip, and running Python files in isolated environments. Built using FastMCP with comprehensive error handling and variable return capabilities, it offers four core tools: direct code execution with optional variable extraction, file-based code saving and execution with overwrite protection, package installation management, and existing Python file execution. The implementation uses temporary directories for isolation and maintains persistent execution contexts, making it valuable for AI assistants that need to perform data analysis, mathematical calculations, package management, and general Python scripting tasks in a controlled environment.
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-interpreter/)
