🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@fernforestgames/mcp-server-bfl

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fernforestgames/mcp-server-bfl

MCP server for Black Forest Labs image generation API

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

Black Forest Labs MCP Server NPM Version

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:

{
  "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.

Keywords

mcp

FAQs

Package last updated on 07 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts