Skip to main content

A collection of Model Context Protocol (MCP) tools for Modal

Project description

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modal_mcp_toolbox-0.1.8.tar.gz (8.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modal_mcp_toolbox-0.1.8-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page