The python_local MCP Server is an interactive environment for running Python code locally, offering a Read-Eval-Print Loop (REPL) experience.
To use it, configure the server following the installation guide. You can then access the REPL via the provided custom URI scheme to begin executing code.
Key features include a persistent Python REPL, separate and simultaneous session states, full execution history accessible as a text/plain resource, and capture of both standard and error outputs.
Use cases are rapidly testing Python snippets, debugging by reviewing past sessions and outputs, and learning Python through hands-on practice in a local setup.
It is compatible with both MacOS and Windows. For development, you can modify configuration files as described in the documentation. Session history is maintained for each active session to track all inputs and outputs.