# io.github.runapi-builder/flux-2-mcp (npm · @runapi.ai/flux-2-mcp)

RunAPI MCP server for Flux 2: create tasks, poll status, check pricing.

- Trust score: 64/100 (medium)
- Change this week: +21
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@runapi.ai/flux-2-mcp`: 64/100 (this document), [markdown](https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp.md), [page](https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp)

## Channel facts

- Registry: `npm`
- Package: `@runapi.ai/flux-2-mcp`
- Version: `0.2.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 2 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (fair).
  - Tool/resource definitions use about 600 tokens (~120/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 95/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 85% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add runapi-builder-flux-2-mcp -- npx -y @runapi.ai/flux-2-mcp
```

### Codex

```bash
codex mcp add runapi-builder-flux-2-mcp -- npx -y @runapi.ai/flux-2-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "runapi-builder-flux-2-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@runapi.ai/flux-2-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add runapi-builder-flux-2-mcp --command npx --arg -y --arg @runapi.ai/flux-2-mcp
```

### Hermes

```yaml
mcp_servers:
  runapi-builder-flux-2-mcp:
    command: "npx"
    args: ["-y", "@runapi.ai/flux-2-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "runapi-builder-flux-2-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/flux-2-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 64, +43)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Schema quality: unverified → fair
- [functional improvement] License: unverified → pass
- [functional] Licence: Apache-2.0
- [functional] Package version: 0.2.0 → 0.2.1

### 2026-07-31 (score 21, +6)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 15, −13)

- [security regression] Known CVEs: partial → unverified
- [functional regression] Dependency health: partial → unverified

### 2026-07-29 (score 28, +22)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional] Tool coverage: Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess.
- [functional] Schema quality: Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess.
- [functional] Licence: Apache-2.0

### 2026-07-28 (score 6, −37)

- [security regression] Malware scan: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.1.7 → 0.2.0

### 2026-07-27 (score 43)

First indexed and scored.

## MCP tools (5)

### `login` (~52 tokens)

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

Input parameters:

- `force` (boolean): Re-run browser login when the current credential comes from the local config file.

### `remix_image` (~165 tokens)

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

Input parameters:

- `aspect_ratio` (string): Output aspect ratio.
- `callback_url` (string): Webhook URL for async notifications.
- `enable_safety_checker` (boolean): Enable the safety checker.
- `model` (string): RunAPI model slug for this model line.
- `output_count` (number): Number of images to generate.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Image editing instruction.
- `source_image_urls` (array, required): Public source image URLs.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `text_to_image` (~152 tokens)

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

Input parameters:

- `aspect_ratio` (string): Output aspect ratio.
- `callback_url` (string): Webhook URL for async notifications.
- `enable_safety_checker` (boolean): Enable the safety checker.
- `model` (string): RunAPI model slug for this model line.
- `output_count` (number): Number of images to generate.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Image description.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `get_task` (~54 tokens)

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

Input parameters:

- `action` (string, required): Asynchronous endpoint the task was created on.
- `task_id` (string, required): Task id returned when the task was created.

### `check_pricing` (~57 tokens)

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

Input parameters:

- `action` (string): Endpoint name. Defaults to the endpoint that offers the model.
- `model` (string): Model slug. Defaults to the line's primary model.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp#diagnostics

## Score history

- 2026-08-03: 64
- 2026-08-02: 64
- 2026-08-01: 21
- 2026-07-31: 21
- 2026-07-30: 15
- 2026-07-29: 28
- 2026-07-28: 6
- 2026-07-27: 43

## Links

- npm package: https://www.npmjs.com/package/@runapi.ai/flux-2-mcp
- Socket report: https://socket.dev/npm/package/@runapi.ai/flux-2-mcp
- Repository: https://github.com/runapi-ai/flux-2-mcp
- Changelog RSS feed: https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/runapi-builder-flux-2-mcp/runapi-ai-flux-2-mcp
