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

@runapi.ai/flux-kontext-mcp

by runapi-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNAPI_API_KEYYesYour RunAPI API key. Can also be stored in ~/.config/runapi/config.json.

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-kontext 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.

text_to_imageB

Create a Flux Kontext 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-kontext task.

check_pricingB

Look up RunAPI pricing for the flux-kontext 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

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct role: authentication, pricing lookup, task status retrieval, and task creation. There is no meaningful overlap between tool purposes, and the create-vs-fetch boundary for tasks is clear.

Naming Consistency3/5

The set mixes conventions: `check_pricing` and `get_task` use verb_noun, `login` is a bare verb, and `text_to_image` uses a noun_to_noun style. It remains readable, but the pattern is not consistent across tools.

Tool Count5/5

Four tools are well-scoped for a focused text-to-image service: authenticate, check pricing, create a task, and poll task status. Each tool clearly earns its place without excess surface area.

Completeness4/5

The core async workflow is covered: login, pricing, task creation, and task status retrieval. Minor lifecycle gaps remain, such as task cancellation or listing tasks, but they are not fatal for the primary use case.

Maintenance

ActivityNo data
ResponsivenessOutdated data