trackmcp
Back to directory
fernforestgames

mcp-server-bfl

View on GitHub

MCP server for image generation using Black Forest Labs' API

1 stars JavaScriptWeb & Internet Tools Updated Oct 7, 2025

Documentation

Black Forest Labs MCP Server !NPM Version

**Deprecated in favor of the official MCP server, now available!**

A Model Context Protocol (MCP) server that provides AI assistants with tools to generate images using the Black Forest Labs API. This server enables text-to-image generation using FLUX models.

Features

  • Tool to generate images using FLUX models
  • Resources to check request status and download generated images

Prerequisites

  • Node 22+
  • Black Forest Labs API key

MCP Configuration

Add this server to your `.mcp.json`:

json
{
  "mcpServers": {
    "bfl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@fernforestgames/mcp-server-bfl"
      ],
      "env": {
        "BFL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Usage

Once configured, you can ask your AI assistant to generate images:

  • "Generate an image of a sunset over mountains"
  • "Create a high-resolution photo of a cat using FLUX Pro Ultra"

By default, the server automatically polls the BFL API until image generation is complete and returns the image URL (valid for 10 minutes). You can also ask your AI assistant to download the image result directly.

License

Released under the MIT License. See the LICENSE file for details.

Frequently asked questions

What is mcp-server-bfl?

mcp-server-bfl is MCP server for image generation using Black Forest Labs' API

How do I install mcp-server-bfl?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-server-bfl open source?

Yes — it is hosted on GitHub at https://github.com/fernforestgames/mcp-server-bfl and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP