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

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

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

## Components

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

## Channel facts

- Registry: `npm`
- Package: `@runapi.ai/kling-mcp`
- Version: `0.1.14`
- 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**: 54/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 1376 tokens (~172/item across 8 items; 8 tools + 0 resources), over budget; trim descriptions and params.
  - 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).
  - 86% 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-kling-mcp -- npx -y @runapi.ai/kling-mcp
```

### Codex

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

### opencode

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

### OpenClaw

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

### Hermes

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

### Other

```json
{
  "mcpServers": {
    "runapi-builder-kling-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/kling-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 64, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 63, +22)

- [security regression] Stability: 0.17 → unverified
- [security regression] Install scripts: pass → unverified
- [security regression] Provenance: fail → unverified
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] License: pass → unverified
- [functional regression] Maintenance: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: Apache-2.0

### 2026-08-01 (score 41, −9)

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

### 2026-07-31 (score 50, +35)

- [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
- [functional] Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- [functional] Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.

### 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, −38)

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

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

First indexed and scored.

## MCP tools (8)

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

### `ai_avatar` (~128 tokens)

Create a Kling task on RunAPI (ai avatar). Returns a task id, status, and output URLs.

Input parameters:

- `callback_url` (string): Webhook URL for async notifications.
- `model` (string): RunAPI model slug for this model line.
- `poll_interval_ms` (integer)
- `prompt` (string, required): Description of the avatar.
- `source_audio_url` (string, required): Audio URL for lip sync.
- `source_image_url` (string, required): Face image URL.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `extend_video` (~132 tokens)

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

Input parameters:

- `callback_url` (string): Webhook URL for async notifications.
- `mode` (string): Extension quality mode.
- `model` (string): RunAPI model slug for this model line.
- `poll_interval_ms` (integer)
- `prompt` (string): Optional description for the continuation.
- `source_task_id` (string, required): Completed Kling v2.5 Turbo source task ID.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `image_to_video` (~343 tokens)

Create a Kling 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 async notifications.
- `cfg_scale` (number): Guidance scale (0-1).
- `duration_seconds` (number): Duration in seconds.
- `enable_sound` (boolean): Sound generation must remain disabled.
- `first_frame_image_url` (string, required): Public HTTP(S) JPG, JPEG, or PNG first-frame image URL.
- `last_frame_image_url` (string): Public HTTP(S) JPG, JPEG, or PNG final-frame image URL; cannot be combined with reference_image_urls or reference_video_url.
- `mode` (string): Generation mode.
- `model` (string): RunAPI model slug for this model line.
- `negative_prompt` (string): Negative prompt.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `preserve_reference_video_audio` (boolean): Preserve the reference video's original audio.
- `prompt` (string, required): Video description; reference media with matching numbered markers.
- `reference_image_urls` (array): Ordered public HTTP(S) JPG, JPEG, or PNG reference image URLs; cannot be combined with last_frame_image_url.
- `reference_video_type` (string): Use the video as a base edit or feature reference.
- `reference_video_url` (string): Public HTTP(S) MP4 or MOV reference video URL; cannot be combined with last_frame_image_url.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `motion_control` (~155 tokens)

Create a Kling task on RunAPI (motion control). Returns a task id, status, and output URLs.

Input parameters:

- `background_source` (string): Background source.
- `callback_url` (string): Webhook URL for async notifications.
- `character_orientation` (string): Character orientation.
- `model` (string): RunAPI model slug for this model line.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `prompt` (string): Description prompt.
- `reference_video_url` (string, required): Reference motion video URL.
- `source_image_url` (string, required): Subject image URL.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `text_to_video` (~341 tokens)

Create a Kling 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 async notifications.
- `cfg_scale` (number): Guidance scale (0-1).
- `duration_seconds` (number): Duration in seconds.
- `enable_sound` (boolean): Enable sound generation.
- `first_frame_image_url` (string): First frame image URL.
- `kling_elements` (array): Element references with image, video, or audio materials.
- `last_frame_image_url` (string): Last frame image URL for single-shot mode.
- `mode` (string): Generation mode.
- `model` (string): RunAPI model slug for this model line.
- `multi_prompt` (array): Prompt segments for multi-shot mode.
- `multi_shots` (boolean): Enable multi-shot generation.
- `negative_prompt` (string): Negative prompt.
- `output_resolution` (string): Output resolution.
- `poll_interval_ms` (integer)
- `preserve_reference_video_audio` (boolean): Preserve the reference video's original audio.
- `prompt` (string): Video description. Required unless multi_shots is enabled.
- `reference_image_urls` (array): Ordered public HTTP(S) JPG, JPEG, or PNG reference image URLs.
- `reference_video_type` (string): Use the video as a base edit or feature reference.
- `reference_video_url` (string): Public HTTP(S) MP4 or MOV reference video URL.
- `timeout_ms` (integer)
- `wait` (boolean): Poll until the task reaches a terminal status.

### `get_task` (~52 tokens)

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

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

## Score history

- 2026-08-03: 64
- 2026-08-02: 63
- 2026-08-01: 41
- 2026-07-31: 50
- 2026-07-30: 15
- 2026-07-29: 28
- 2026-07-28: 6
- 2026-07-27: 44

## Links

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