Labsco
MCP SERVER

Modal MCP Toolbox

by philipp-eisen

Run Python in a Modal sandbox and generate FLUX images — both on your own Modal account.

Sandboxed Code Execution
Summary
Code execution that is not on your laptop.

The value is the boundary: the model writes Python and it runs in a Modal sandbox, so what it produces is executed and returned without touching your filesystem — and the same account gives it FLUX image generation.

What it is

Two tools that execute on Modal rather than on your machine: Python in a sandboxed environment, and image generation with the FLUX model. Both run against the Modal account you are logged into.

What you get
  • Python executed in a sandbox, off your own machine
  • Images generated with the FLUX model
Requirements

A Modal account with the Modal CLI configured and logged in — the work runs on that account. UV launches it as uvx modal-mcp-toolbox, and any MCP-capable client will do.

Setup effort

One command — uvx modal-mcp-toolbox