code
(string): Python code to execute with pexpect support
How to use it
code is exposed by the Pexpect MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Pexpect MCP
$
uv tool install git+https://github.com/mitsuhiko/pexpect-mcpOther tools in Pexpect MCP (1)