# io.github.runapi-builder/grok-imagine-mcp (npm · @runapi.ai/grok-imagine-mcp)

RunAPI MCP server for Grok Imagine: create tasks, poll status, check pricing.

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

## Components

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

## Channel facts

- Registry: `npm`
- Package: `@runapi.ai/grok-imagine-mcp`
- Version: `0.1.11`
- 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 3 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 59/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 1229 tokens (~136/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 1/100
  - Stability check failed: the tool surface changed between 0.1.10 and 0.1.11: 0 tool removals, 4 breaking changes, 0 additions.
- **Tool Coverage**: 94/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 81% 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-grok-imagine-mcp -- npx -y @runapi.ai/grok-imagine-mcp
```

### Codex

```bash
codex mcp add runapi-builder-grok-imagine-mcp -- npx -y @runapi.ai/grok-imagine-mcp
```

### opencode

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

### OpenClaw

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

### Hermes

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

### Other

```json
{
  "mcpServers": {
    "runapi-builder-grok-imagine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/grok-imagine-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-03 (score 61, −3)

No change was recorded against any check on this day. Supply Chain Security went from 97 to 87. Other categories moved too: Stability & Change Management rose 1.

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

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

### 2026-07-31 (score 19, −23)

- [security regression] Malware scan: pass → unverified
- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

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

First indexed and scored.

## MCP tools (9)

### `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.

### `edit_image` (~132 tokens)

Create a Grok Imagine task on RunAPI (edit image). Returns a task id, status, and output URLs.

Input parameters:

- `callback_url` (string): Webhook URL for terminal Task delivery.
- `enable_safety_checker` (boolean): Enable content safety checks.
- `model` (string): RunAPI model slug for this model line.
- `poll_interval_ms` (integer)
- `prompt` (string): Optional image editing instruction.
- `source_image_url` (string, required): Public source image URL.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `extend_video` (~135 tokens)

Create a Grok Imagine task on RunAPI (extend video). Returns a task id, status, and output URLs.

Input parameters:

- `callback_url` (string): Webhook URL for terminal Task delivery.
- `extension_duration_seconds` (number, required): Extension duration in seconds.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Video continuation prompt.
- `source_task_id` (string, required): Completed prior Grok Imagine video Task ID.
- `start_seconds` (number, required): Source video position in seconds where extension begins.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `image_to_video` (~257 tokens)

Create a Grok Imagine task on RunAPI (image to video). Returns a task id, status, and output URLs.

Input parameters:

- `aspect_ratio` (string): Output aspect ratio.
- `callback_url` (string): Webhook URL for terminal Task delivery.
- `duration_seconds` (number): Output duration in seconds.
- `enable_safety_checker` (boolean): Enable content safety checks.
- `index` (number): Zero-based source image index; used only with source_task_id.
- `model` (string): RunAPI model slug for this model line.
- `motion_style` (string): Video motion style; spicy requires source_task_id.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `prompt` (string): Optional video generation prompt.
- `reference_image_urls` (array): Not accepted by this model.
- `source_image_url` (string): Public source image URL; provide this or source_task_id, but not both.
- `source_task_id` (string): Prior Grok Imagine text-to-image Task ID; provide this or source_image_url, but not both.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `text_to_image` (~144 tokens)

Create a Grok Imagine 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 terminal Task delivery.
- `enable_pro` (boolean): Enable Pro image generation mode.
- `enable_safety_checker` (boolean): Enable content safety checks.
- `model` (string): RunAPI model slug for this model line.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Image generation prompt.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `text_to_video` (~178 tokens)

Create a Grok Imagine task on RunAPI (text to video). Returns a task id, status, and output URLs.

Input parameters:

- `aspect_ratio` (string): Output aspect ratio.
- `callback_url` (string): Webhook URL for terminal Task delivery.
- `duration_seconds` (number): Output duration in seconds.
- `enable_safety_checker` (boolean): Enable content safety checks.
- `model` (string): RunAPI model slug for this model line.
- `motion_style` (string): Video motion style.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Video generation prompt.
- `reference_image_urls` (array): Not accepted by this model.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `upscale_image` (~97 tokens)

Create a Grok Imagine task on RunAPI (upscale image). Returns a task id, status, and output URLs.

Input parameters:

- `callback_url` (string): Webhook URL for terminal Task delivery.
- `poll_interval_ms` (integer)
- `source_task_id` (string, required): Completed prior Grok Imagine video Task ID.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `get_task` (~55 tokens)

Fetch the current status and latest result payload for a grok-imagine 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` (~58 tokens)

Look up RunAPI pricing for the grok-imagine 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-grok-imagine-mcp/runapi-ai-grok-imagine-mcp#diagnostics

## Score history

- 2026-08-03: 61
- 2026-08-02: 64
- 2026-08-01: 19
- 2026-07-31: 19
- 2026-07-30: 42
- 2026-07-28: 42
- 2026-07-27: 42

## Links

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