python-interpreter-mcp
1
The python-interpreter-mcp is an experimental server that executes Python scripts using the MCP protocol, focusing on isolation and reproducibility through subprocess execution. It is designed for controlled environments and requires cautious use due to its ability to execute arbitrary code.
Overview
A lightweight, experimental MCP server designed to execute arbitrary Python scripts in a structured and reproducible environment using uv. Features run_script
tool for executing scripts and capturing output.
Tools
- run_script
- Runs the given script with
uv run script.py
.
- Runs the given script with
Usage Warnings
- Executes arbitrary Python code; can run anything, including malicious code. Use only in trusted environments.