Replicate Flux
@andylee20014
Replicate Flux について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを 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 という見出しの下に記載することで、このタブに反映できます。
概要
What is Replicate Flux?
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.
How to use Replicate Flux?
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.
Key features of Replicate Flux
- Generates images using Replicate's black-forest-labs/flux-schnell model
- Stores generated images in Cloudflare R2
- Returns publicly accessible image URLs
- Supports custom prompts and filenames
Use cases of Replicate Flux
- Generate AI‑powered images for web or mobile applications
- Store and serve images via Cloudflare R2 for scalable delivery
- Integrate image generation into MCP‑compatible AI clients like Claude or Cursor
FAQ from Replicate Flux
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).
How do I configure environment variables?
Create a .env file with the following variables: REPLICATE_API_TOKEN, STORAGE_ENDPOINT, STORAGE_ACCESS_KEY, STORAGE_SECRET_KEY, STORAGE_BUCKET, and STORAGE_DOMAIN.
How can I test the server?
Run node test.js. The test script generates an image from a sample prompt, uploads it to R2, and prints the accessible URL.
What transports or authentication does Replicate Flux use?
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.
What should I do if image generation or upload fails?
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.
「その他」の他のコンテンツ
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント