Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNAPI_API_KEYNoRunAPI API key, useful for headless and CI hosts. The server resolves auth in this order: 1. RUNAPI_API_KEY environment variable, useful for headless and CI hosts 2. ~/.config/runapi/config.json, created by the MCP login tool or runapi login 3. No key, which still allows check_pricing.

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

upscale_imageC

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

upscale_videoB

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

get_taskB

Fetch the current status and latest result payload for a kie task.

check_pricingC

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

Disambiguation5/5

Each tool targets a distinct action: pricing lookup, authentication, image upscaling, video upscaling, and task status polling. The two upscale tools are cleanly separated by media type, so there is no realistic misselection risk.

Naming Consistency4/5

Four of five tools follow a clear verb_noun snake_case pattern (check_pricing, upscale_image, upscale_video, get_task). 'login' is a single-verb outlier, but it is a conventional standalone term and does not break readability.

Tool Count4/5

Five tools is well-scoped for an upscaling-only integration, and each earns its place (auth is a prerequisite for the task tools). It is on the thin side, with no task listing or cancellation, but not mismatched to the stated purpose.

Completeness3/5

The core lifecycle exists: authenticate, check pricing, create a task, and poll its status. However, there is no way to list existing tasks or cancel a running one, leaving agents with dead ends if a task id is lost or a job must be aborted.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues