Flux Schnell

by ckz

1 stars
Not rated
GitHub

About

Integrates with the Flux Schnell model on Replicate to generate images from text prompts, enabling visual content creation and creative workflows.

Details

Author
ckz
Repository
ckz/flux-img-mcp
GitHub stars
1
License
MIT License
Categories
Other, AI, Productivity, Developer Tools, Design, Media, Infrastructure, Frontend

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Flux Schnell
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/flux-img-mcp/build/index.js
    Environment
    • REPLICATE_API_TOKEN your-replicate-api-token

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Once installed and configured, the server provides the following tool:

generate_image

Generates an image using the Flux Schnell model based on a text prompt. Parameters: prompt (string, required) - Text description of the desired image.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "flux schnell": {
            "env": {
                "REPLICATE_API_TOKEN": "your-replicate-api-token"
            },
            "args": [
                "/path/to/flux-img-mcp/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
    },
    "args": [
        "/path/to/flux-img-mcp/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
    },
    "args": [
        "/path/to/flux-img-mcp/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
    },
    "args": [
        "/path/to/flux-img-mcp/build/index.js"
    ],
    "command": "node"
}

Generate images using Replicate's Flux Schnell model.

This MCP server provides image generation capabilities using the Flux Schnell model on Replicate.

npm install -g @modelcontextprotocol/sdk@latest

- Clone this repository to your MCP servers directory:

cd ~/Documents/Cline/MCP git clone https://github.com/yourusername/flux-img-mcp.git cd flux-img-mcp npm install

- Add the server configuration to your MCP settings file (either global or workspace):

{ "mcpServers": { "flux-img": { "command": "node", "args": ["/path/to/flux-img-mcp/build/index.js"], "env": { "REPLICATE_API_TOKEN": "your-replicate-api-token" }, "disabled": false, "alwaysAllow": [] } } }

The server requires the following environment variable:

- REPLICATE_API_TOKEN: Your Replicate API token. You can get this from yourReplicate account settings.

Once installed and configured, the server provides the following tool:

Generates an image using the Flux Schnell model based on a text prompt.

- prompt(string, required): Text description of the desired image

<use_mcp_tool> <server_name>flux-img</server_name> <tool_name>generate_image</tool_name> <arguments> { "prompt": "A beautiful sunset over mountains" } </arguments> </use_mcp_tool>

The tool will return a JSON response containing:

- status: The status of the generation request
- output: The URL of the generated image (if successful)
- error: Any error message (if failed)
- Modify the source code insrc/index.ts
- Rebuild the server:npm run build
- Restart the MCP server for changes to take effect

The server includes comprehensive error handling for:

- Missing API token
- Invalid parameters
- API request failures
- Network issues

- Never commit your Replicate API token to version control
- Always provide the token through environment variables
- The server validates all input parameters before making API requests

An MCP server for AI video generation. MCP server for AI video generation. Lets Claude, ChatGPT, OpenClaw , Hermes & other agents create AI videos and publish them to YouTube, TikTok, Instagram etc..

All-in-one AI creative studio — generate videos, images, audio in 11 Indian languages, and 3D models via MCP. Hosted at mcp.arcframe.ai.

Hosted MCP server for AudioPod's audio AI: text-to-speech, voice cloning, music generation, stem and speaker separation, transcription, denoise, and voice conversion.

Official MCP server for Comfy Cloud - generate images, video, audio, and 3D, run ComfyUI workflows, and search models directly from Claude and other AI agents

A server for creating fast and free lipsync videos for digital avatars, supporting both realistic and cartoon styles.

Pay-per-call AI API marketplace with 47 endpoints — OCR, LLM chat, image-gen, TTS

Image generation and editing with advanced features like multi-image blending and character consistency

AI virtual staging for real estate — stage rooms, beautify floor plans, classify images, generate property descriptions

MachineTranslation.com MCP provides AI-powered multilingual translation through the Model Context Protocol. It uses multi-model consensus to deliver high-confidence translations and can be connected to AI assistants such as Claude, ChatGPT, Cursor, and other MCP-compatible clients.

Licensed AI content access. 1,821 Dhar Mann Studios videos. $0.0025/pull, creator compensated automatically. 30ms delivery.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.