Skip to main content
Glama

Modal MCP Toolbox

模态 MCP 工具箱🛠️

一组在 Modal 上运行的模型上下文协议 (MCP) 工具。这让你能够使用GooseClaude 桌面应用程序等工具扩展你的 LLM 课程的功能。

工具

  • run_python_code_in_sandbox :让您在沙盒环境中运行 python 代码。
  • generate_flux_image :使用 FLUX 模型生成图像。

演示

通量图像生成

🎬Flux 图像生成

Python代码执行

🎬Python代码执行

先决条件

这会与您的模态帐户冲突,因此您需要拥有一个模态帐户并登录。

安装

安装取决于使用 MCP 的客户端。以下是 Claude 和 Goose 的安装说明。

克劳德

在 Claude 桌面应用中,前往Settings > Developer 。然后点击“编辑配置”。🖼️Claude 设置

添加 mcp 服务器的配置。我的配置如下:

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

转到Settings并单击“添加”。

🖼️Goose 设置

然后像下面的截图一样添加一个扩展。重点是将命令设置为:

uvx modal-mcp-toolbox

其余部分您可以随意填写。

🖼️Goose MCP 设置

通过 Smithery 安装(目前无法使用)

要通过Smithery自动为 Claude Desktop 安装 Modal MCP Toolbox:

npx -y @smithery/cli install @philipp-eisen/modal-mcp-toolbox --client claude
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

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

有助于在沙箱中运行 Python 代码,并通过与 Goose 和 Claude Desktop App 等客户端兼容的 MCP 服务器使用 FLUX 模型生成图像。

  1. 工具
    1. 演示
      1. 通量图像生成
      2. Python代码执行
    2. 先决条件
      1. 安装
        1. 克劳德
        2. 通过 Smithery 安装(目前无法使用)

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
        Last updated -
        Python
      • -
        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 -
        23
        MIT License
        • Apple
        • Linux
      • -
        security
        -
        license
        -
        quality
        A server that enables generating images through the Replicate API by calling the Flux Schnell model via the Model Context Protocol (MCP).
        Last updated -
        3
        JavaScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        An MCP server that enables AI assistants to generate images using Black Forest Labs' Flux model via Cloudflare Workers.
        Last updated -
        JavaScript
        MIT License

      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