run_code
Execute Python in an isolated sandbox with optional pip deps.
How to use it
run_code is exposed by the Python Runtime Interpreter MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the run_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PYTHON RUNTIME INTERPRETER MCP SERVER LISTINGOther tools in Python Runtime Interpreter MCP Server (4)