Python REPL
Createdhdresearch
Executes Python code through the MCP protocol with a persistent session.
About
This server provides a Python REPL as an MCP tool, enabling the execution of Python code via the MCP protocol while maintaining a persistent session. It allows users to set variables, perform calculations, install packages, and manage their Python environment directly within an MCP-compatible application. It includes tools for executing code, listing variables, and installing packages from pypi.
Key Features
- Persistent Python session
- List variables in the current session
- Install packages from PyPI
- Reset session functionality
- Execute Python code
- 4 GitHub stars
Use Cases
- Execute Python code snippets and maintain state across multiple executions.
- Inspect the current state of variables within a Python environment.
- Dynamically install and utilize Python packages from within an MCP-integrated application.