python_repl
Executes Python code in a persistent session
How to use it
python_repl is exposed by the Python MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the python_repl tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Python MCP
$
npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-local