Python REPL
Summary
This MCP server, developed by Alex Velikanov, provides an interactive Python REPL environment for executing Python code within AI conversations. Built with Python and leveraging the MCP library, it offers persistent session management and captures stdout/stderr output. The implementation stands out by maintaining separate state for each session and supporting both expressions and statements. It's particularly useful for developers and data scientists who need to run Python code snippets, test algorithms, or perform data analysis tasks through AI-assisted workflows, allowing for seamless integration of Python programming into conversational AI interfaces.
Available Actions(1)
python_repl
Executes Python code in a persistent session. Takes `code` (Python code to execute) and `session_id` as required arguments. Maintains separate state for each session and supports both expressions and statements. Captures and returns stdout/stderr output.
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation