模态 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:
This server cannot be installed
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
- -securityFlicense-qualityThis 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
Fused MCP Agentsofficial
-securityAlicense-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 -23MIT License- -security-license-qualityA server that enables generating images through the Replicate API by calling the Flux Schnell model via the Model Context Protocol (MCP).Last updated -3JavaScriptMIT License
- -securityAlicense-qualityAn MCP server that enables AI assistants to generate images using Black Forest Labs' Flux model via Cloudflare Workers.Last updated -JavaScriptMIT License