What it does
An MCP server that exposes a run_python tool for running Python code locally. It is built on the LocalPythonExecutor from Hugging Face's smolagents, limits imports to a short list of standard modules and blocks file input and output. It is a basic isolation layer, and a VM or container gives stronger separation.
Use cases
- 01Let an assistant run quick math or date checks
- 02Evaluate small Python snippets from an AI client
- 03Run generated snippets in a restricted environment