Skip to main content
Glama
@runapi.ai/flux-2-mcp

@runapi.ai/flux-2-mcp

Official
by runapi-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNAPI_API_KEYYesYour RunAPI API key. Get one at https://runapi.ai.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

RunAPI MCP server for the flux-2 model line.

Each tool creates a RunAPI media task and optionally polls until completion. Behavior:

  1. Use the user's language and be concise.

  2. Confirm before expensive, long-running, or batch requests.

  3. Present results as task ID, status, output URLs, and cost fields when available.

  4. Do not describe generated media as if you inspected it.

  5. On an API key error, call the login tool for interactive browser auth; headless hosts can use RUNAPI_API_KEY or ~/.config/runapi/config.json.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
loginA

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

remix_imageC

Create a Flux 2 task on RunAPI (remix image). Returns a task id, status, and output URLs.

text_to_imageB

Create a Flux 2 task on RunAPI (text to image). Returns a task id, status, and output URLs.

get_taskB

Fetch the current status and latest result payload for a flux-2 task.

check_pricingC

Look up RunAPI pricing for the flux-2 model line.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool maps to a clearly different operation: authentication, pricing lookup, task polling, and two distinct generation entry points. The only mild overlap is between text_to_image and remix_image, but the descriptions (text-to-image vs. remix) make the input-mode distinction explicit.

Naming Consistency4/5

Four of five names follow a predictable snake_case verb_noun pattern (check_pricing, get_task, text_to_image, remix_image). The lone outlier is 'login', a bare verb with no noun, which is a minor deviation rather than a different convention.

Tool Count5/5

Five tools is tightly scoped to a single-model image generation service: auth, pricing, status, and two generation modes. Every tool earns its place and there is no filler.

Completeness4/5

The lifecycle of auth -> price check -> create task -> poll task is fully covered, so core workflows are achievable. Gaps are minor but real: no list_tasks to find a previously created task id and no cancel_task, which forces agents to retain ids themselves.

Maintenance

ActivityNo data
ResponsivenessOutdated data