I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

flux-sschnell-mcp
MCP -Server zum Generieren von Bild über Replikat Flux Schnell
3 years
Works with Finder
1
Github Watches
4
Github Forks
3
Github Stars
Flux Schnell MCP Server
一个基于MCP(Model Context Protocol)的服务器,用于通过Replicate API调用Flux Schnell模型生成图片。
功能特点
- 提供
generate_image
工具用于生成图片 - 支持自定义文本提示词
- 自动处理与Replicate API的通信
- 完整的错误处理和响应
前置要求
- Node.js (v14或更高版本)
- Replicate API Token
- MCP兼容的环境(如Claude Desktop)
获取Replicate API Token
- 访问 Replicate官网 并注册账号
- 登录后访问 API Tokens页面
- 点击"Create API token"创建新的token
- 复制生成的token(格式如:r8_xxxxxx)
安装
- 克隆项目并安装依赖:
git clone [repository-url]
cd flux-schnell-mcp
npm install
- 构建服务器:
npm run build
配置
Claude Desktop配置
-
打开配置文件:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
-
添加服务器配置:
{
"mcpServers": {
"flux-schnell": {
"command": "node",
"args": ["/path/to/flux-schnell-mcp/build/index.js"],
"env": {
"REPLICATE_API_TOKEN": "your-replicate-api-token"
},
"disabled": false,
"alwaysAllow": []
}
}
}
VSCode Roo配置
-
打开配置文件:
- Linux:
~/.vscode-remote/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
- MacOS:
~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
- Windows:
%APPDATA%/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
- Linux:
-
添加与上述相同的服务器配置。
使用方法
服务器提供了一个名为generate_image
的工具,可以通过MCP调用:
<use_mcp_tool>
<server_name>flux-schnell</server_name>
<tool_name>generate_image</tool_name>
<arguments>
{
"prompt": "a beautiful sunset over the ocean, digital art style"
}
</arguments>
</use_mcp_tool>
参数说明
-
prompt
: 用于生成图片的文本描述(必填)- 建议使用详细的描述来获得更好的生成结果
- 可以包含风格、场景、细节等信息
响应格式
服务器将返回Replicate API的完整响应,包含生成的图片URL和其他元数据。
调试
由于MCP服务器通过stdio通信,调试可能比较困难。推荐使用MCP Inspector:
npm run inspector
Inspector将提供一个URL,可以在浏览器中访问调试工具。
注意事项
- 请妥善保管您的Replicate API Token,不要将其分享给他人
- 确保在配置文件中使用正确的文件路径
- 生成图片可能需要一些时间,请耐心等待响应
- 如遇到错误,请检查API Token是否正确,以及网络连接是否正常
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven
A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.
Advanced software engineer GPT that excels through nailing the basics.
A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.
Mirror ofhttps: //github.com/suhail-ak-s/mcp-typense-server
本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。
Reviews

user_f7fp6uFT
MCP Server SPARQL by ekzhu is a must-have tool for any developer dealing with SPARQL queries. It streamlines data retrieval and management, making complex tasks simpler and more efficient. Highly recommend exploring it for robust data handling capabilities. Discover more at https://mcp.so/server/mcp-server-sparql/ekzhu.