mcp-python
v0.1.4MCP server providing a Python REPL with persistent session
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
execute_python
Execute Python code and return the output. Variables persist between executions.
| Parameter | Type | Description |
|---|---|---|
code * | string | Python code to execute |
reset | boolean | Reset the Python session (clear all variables) |
list_variables
List all variables in the current session
install_package
Install a Python package using uv
| Parameter | Type | Description |
|---|---|---|
package * | string | Package name to install (e.g., 'pandas') |