mcp-python

v0.1.4
mcp-python Checked 13 hours ago Published 1 year ago

MCP 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.

ParameterTypeDescription
code *stringPython code to execute
resetbooleanReset the Python session (clear all variables)

list_variables

List all variables in the current session

install_package

Install a Python package using uv

ParameterTypeDescription
package *stringPackage name to install (e.g., 'pandas')