模态 MCP 工具箱🛠️
一组在 Modal 上运行的模型上下文协议 (MCP) 工具。这让你能够使用Goose或Claude 桌面应用程序等工具扩展你的 LLM 课程的功能。
工具
run_python_code_in_sandbox:让您在沙盒环境中运行 python 代码。generate_flux_image:使用 FLUX 模型生成图像。
演示
通量图像生成

Python代码执行

先决条件
一个模态帐户和一个配置的模态 CLI。
支持 MCP 的客户端。例如Claude Desktop App或Goose
这会与您的模态帐户冲突,因此您需要拥有一个模态帐户并登录。
安装
安装取决于使用 MCP 的客户端。以下是 Claude 和 Goose 的安装说明。
克劳德
在 Claude 桌面应用中,前往Settings > Developer 。然后点击“编辑配置”。
添加 mcp 服务器的配置。我的配置如下:
鹅
转到Settings并单击“添加”。

然后像下面的截图一样添加一个扩展。重点是将命令设置为:
其余部分您可以随意填写。

通过 Smithery 安装(目前无法使用)
要通过Smithery自动为 Claude Desktop 安装 Modal MCP Toolbox:
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 模型生成图像。
Related Resources
Related MCP Servers
- -security-license-qualityThis 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 -198837MIT License
- -security-license-qualityA 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 -1MIT License
Fused MCP Agentsofficial
-security-license-qualityA 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 -26MIT License- Asecurity-licenseAqualityAn MCP server that allows Claude to use OpenAI's image generation capabilities (gpt-image-1) to create image assets for users, which is particularly useful for game and web development projects.Last updated -113MIT License