Skip to main content

Modal MCP Toolbox 🛠️

smithery badge

A collection of Model Context Protocol (MCP) tools that run on Modal. This let's you extend the capabilities of your LLM in tools such as Goose or the Claude Desktop App.

Modal Toolbox MCP server

Tools

  • run_python_code_in_sandbox: Let's you run python code in a sandboxed environment.
  • generate_flux_image: Generate an image using the FLUX model.

Demo

Flux Image Generation

🎬Flux Image Generation

Python Code Execution

🎬Python Code Execution

Prerequisites

This runs against your modal account, so you will need to have a modal account and be logged in.

Installation

Installation depends on the client that uses the MCP. Here is instructions for Claude and Goose.

Claude

Got to Settings > Developer in the Claude Desktop App. And click on Edit Config. 🖼️Claude Settings

Add the config for the mcp server. My config looks like this:

{
  "mcpServers": {
    "modal-toolbox": {
      "command": "uvx",
      "args": ["modal-mcp-toolbox"]
    }
  }
}

Goose

Go to Settings and Click on Add.

🖼️Goose Settings

Then add an extension like in the screenshot below. The important part is to set command to:

uvx modal-mcp-toolbox

The rest you can fill in as you like.

🖼️Goose MCP Settings

Installing via Smithery (not working currently)

To install Modal MCP Toolbox for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @philipp-eisen/modal-mcp-toolbox --client claude

Metadata

Release files for iflow-mcp_modal-mcp-toolbox 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_modal-mcp-toolbox 0.1.12
File Size Uploaded
iflow_mcp_modal_mcp_toolbox-0.1.12.tar.gz 8.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_modal-mcp-toolbox 0.1.12
File Interpreter ABI Platform
iflow_mcp_modal_mcp_toolbox-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 MB

Release files / iflow_mcp_modal_mcp_toolbox-0.1.12.tar.gz

Download URL iflow_mcp_modal_mcp_toolbox-0.1.12.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8c5c82ab40e5875a29d33426ab9a5485ef914dcd6b7205376eefe8370a4bdbf2
BLAKE2b-256 checksum
How to use checksums
1872a81b1d180fa9b5840bfc9fe90f60943d75da5c8459f8938b46daf500e4d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_modal_mcp_toolbox-0.1.12-py3-none-any.whl

Download URL iflow_mcp_modal_mcp_toolbox-0.1.12-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34e4bd0e5ed77de8527570de5a877e9420cc9243af3cbcd8abba803be406ba5d
BLAKE2b-256 checksum
How to use checksums
f388e812726d04c1bd912ce60c2aa7aadf45f9979f2634d9187a4f604dbae351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page