python_mcp

python_mcp

3.5

If you are the rightful owner of python_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP Server that provides an interactive Python REPL (Read-Eval-Print Loop) environment.

The python_local MCP Server is designed to offer an interactive Python REPL environment, allowing users to execute Python code in a persistent session. It supports both expressions and statements, capturing and returning stdout/stderr output. The server maintains separate states for each session, ensuring that the execution context is preserved across different code executions. Additionally, it provides access to session history through a custom URI scheme, enabling users to review past inputs and outputs. This server is particularly useful for developers who need a reliable and interactive environment for testing and debugging Python code.

Features

  • Interactive Python REPL environment
  • Persistent session state management
  • Access to session history via custom URI scheme
  • Support for both expressions and statements
  • Captures and returns stdout/stderr output

Tools

  1. python_repl

    Executes Python code in a persistent session, maintaining separate state for each session.