MCP.so
登录

Flux Schnell MCP Server

@ckz

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ckz

关于 Flux Schnell MCP Server

mcp server to generate image via replicate flux schnell

Flux Schnell MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Flux Schnell MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Flux Schnell MCP Server?

Flux Schnell MCP Server is a Model Context Protocol (MCP) server that generates images by calling the Flux Schnell model through the Replicate API. It is designed for developers using MCP-compatible environments (e.g., Claude Desktop) who need to create AI-generated images from text prompts.

How to use Flux Schnell MCP Server?

Clone the repository, install dependencies with npm install, and build the server with npm run build. Configure the server in your MCP client (e.g., Claude Desktop or VSCode Roo) by providing the absolute path to the built index file and setting the REPLICATE_API_TOKEN environment variable. Use the generate_image tool via MCP calls, passing a required prompt argument (text description).

Key features of Flux Schnell MCP Server

  • Provides a generate_image tool for image generation
  • Accepts custom text prompts
  • Handles Replicate API communication automatically
  • Returns full API response including image URLs and metadata
  • Supports MCP environments like Claude Desktop and VSCode Roo

Use cases of Flux Schnell MCP Server

  • Generate images inside a chat interface (e.g., Claude Desktop) with natural language prompts
  • Automate image creation workflows by calling the tool programmatically via MCP
  • Quickly prototype visual concepts by describing scenes, styles, or details
  • Integrate image generation into custom MCP-based applications

常见问题

1

What are the prerequisites to use Flux Schnell MCP Server?

You need Node.js (v14 or higher), a valid Replicate API Token, and an MCP-compatible environment such as Claude Desktop.

2

How do I get a Replicate API Token?

Visit the Replicate website, sign up or log in, go to the API Tokens page, and click “Create API token”. Copy the generated token (format: r8_xxxxxx).

3

How do I configure Flux Schnell MCP Server in Claude Desktop?

Open the Claude Desktop configuration file (`claude_desktop_config.json`), add a server entry with the command `node`, the path to the built index.js, and set the environment variable `REPLICATE_API_TOKEN` to your token.

4

What arguments does the `generate_image` tool accept?

It requires a single argument `prompt` (a string describing the image). For best results, include detailed descriptions of style, scene, and elements.

5

How does the server return results?

The server returns the full response from the Replicate API, which includes the generated image URLs and other metadata. The response is delivered through the MCP protocol.

评论

其他 分类下的更多 MCP 服务器