Skip to main content
Glama

Modal MCP Toolbox

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
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Facilitates running Python code in a sandbox and generating images using the FLUX model via an MCP server compatible with clients like Goose and the Claude Desktop App.

  1. Tools
    1. Demo
      1. Flux Image Generation
      2. Python Code Execution
    2. Prerequisites
      1. Installation
        1. Claude
        2. Goose
        3. Installing via Smithery (not working currently)

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        This tool creates a Model Context Protocol (MCP) server that acts as a proxy for any API that has an OpenAPI v3.1 specification. This allows you to use Claude Desktop to easily interact with both local and remote server APIs.
        Last updated -
        149
        754
        JavaScript
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A Python-based server that implements the Model Context Protocol to interface with Claude Desktop as an MCP client, supporting interaction through efficient memory management.
        Last updated -
        1
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        A Python-based MCP server that allows Claude and other LLMs to execute arbitrary Python code directly through your desktop Claude app, enabling data scientists to connect LLMs to APIs and executable code.
        Last updated -
        26
        MIT License
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        A server built with mcp-framework that allows users to extend Claude's capabilities by adding custom tools that can be used through the Claude Desktop client.
        Last updated -
        3
        677
        TypeScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/philipp-eisen/modal-mcp-toolbox'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server