code
string
How to use it
code is exposed by the Modal Sandbox 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 Modal Sandbox MCP
$
pip install modal fastmcp uvicorn # or: uv pip install ...Other tools in Modal Sandbox MCP (4)