What are the prerequisites to run Replicate Flux?
Node.js v16 or higher, a Replicate API token, and a Cloudflare R2 bucket with credentials (endpoint, access key, secret key, bucket name, domain).
@andylee20014
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"replicate-flux": {
"command": "node",
"args": [
"C:\\Users\\YourUsername\\path\\to\\mcp-replicate-flux\\index.js"
],
"description": "使用Replicate的FLUX模型生成图片并存储到Cloudflare R2的MCP服务器",
"env": {
"REPLICATE_API_TOKEN": "your_replicate_token",
"STORAGE_ENDPOINT": "your_r2_endpoint",
"STORAGE_ACCESS_KEY": "your_r2_access_key",
"STORAGE_SECRET_KEY": "your_r2_secret_key",
"STORAGE_BUCKET": "your_bucket_name",
"STORAGE_DOMAIN": "your_domain"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Replicate Flux is a Model Context Protocol (MCP) server that generates images using Replicate's black-forest-labs/flux-schnell model and stores them in Cloudflare R2. It is designed for developers who need an MCP‑compatible image generation tool that can be integrated into AI systems like Claude Desktop or Cursor.
Install manually or via Smithery, set required environment variables (REPLICATE_API_TOKEN, STORAGE_ENDPOINT, STORAGE_ACCESS_KEY, STORAGE_SECRET_KEY, STORAGE_BUCKET, STORAGE_DOMAIN), then run node index.js. The server exposes a generate-image tool that accepts a prompt (text) and filename (desired filename) and returns an accessible image URL.
Node.js v16 or higher, a Replicate API token, and a Cloudflare R2 bucket with credentials (endpoint, access key, secret key, bucket name, domain).
Create a `.env` file with the following variables: REPLICATE_API_TOKEN, STORAGE_ENDPOINT, STORAGE_ACCESS_KEY, STORAGE_SECRET_KEY, STORAGE_BUCKET, and STORAGE_DOMAIN.
Run `node test.js`. The test script generates an image from a sample prompt, uploads it to R2, and prints the accessible URL.
The server communicates via MCP protocol over standard input/output. Authentication uses the Replicate API token for image generation and Cloudflare R2 credentials for storage.
Check your Replicate API token and quota for generation issues. For R2 upload failures, verify your R2 credentials and bucket permissions. If generated images are inaccessible, ensure the bucket has proper CORS configuration.
Hindsight: Agent Memory That Learns
A search tool helps dev to solve the naming things problem.

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
评论