Runapi AI MCP logo

Runapi AI MCP

by runapi-ai

Browse RunAPI models, pricing, prompts, and inputs, then create and monitor authenticated media tasks through MCP.

Install Runapi AI MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "runapi-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

runapi-ai/mcp MCP server connects MCP-compatible clients to RunAPI’s catalog and execution API for image, video, music, audio, and LLM workflows. It provides unauthenticated discovery for models, actions, pricing, input requirements, and prompt examples, while task creation, status checks, and balance reporting use RunAPI authentication. The package runs as a local stdio client through npx, and RunAPI also offers a hosted MCP endpoint at https://mcp.runapi.ai/mcp. Reach for it when an agent needs to select RunAPI models dynamically, inspect their constraints, submit asynchronous media work, or track task results.

Use cases

  • Browse RunAPI models by output modality
  • Inspect model inputs and runtime pricing
  • Search reusable prompts for media generation
  • Create and monitor asynchronous media tasks
  • Check RunAPI account balance and spending

Key features

  • Model and action discovery
  • Runtime pricing lookup
  • Prompt example search
  • Authenticated task creation and polling
  • Browser-based PKCE login
  • Balance and spending reports

Tools9

What Runapi AI MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

21/22 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @runapi.ai/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars56Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Runapi AI MCP works

What runapi-ai/mcp MCP server does

runapi-ai/mcp MCP server exposes RunAPI’s model catalog and API operations to MCP-compatible AI clients. The catalog covers image generation, video generation, music creation, text-to-speech, and other audio workflows, along with LLM endpoints. Agents can inspect available models, determine which actions they support, review input requirements, and retrieve runtime pricing before submitting work.

The package is a client for RunAPI rather than a local generation engine. Generated media and other operations are performed by RunAPI, while the MCP layer gives an assistant a consistent interface for discovery, authentication, task submission, and status retrieval.

How it works

Catalog, action, pricing, and prompt-search tools use an embedded catalog and can run without an API key. This makes it possible to discover model slugs and required parameters before signing in. Runtime pricing is returned for the selected model and action, helping an agent avoid relying on stale model information.

Authenticated operations use RunAPI credentials. The login tool opens a browser-based PKCE flow and stores the resulting key in ~/.config/runapi/config.json; the same shared configuration is used by runapi login. Headless environments can provide RUNAPI_API_KEY before starting the MCP host.

create_task accepts a caller-generated idempotency key. It can wait for an asynchronous operation to finish or return immediately when wait is false. When submitted without waiting, the returned task ID can be passed to get_task later. Reusing the same idempotency key is intended for retrying the same logical request, not for changing its inputs or creating a separate task.

Setup and configuration

For a local stdio installation, run the package through npx:

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

Claude Code users can register it with claude mcp add runapi -s user -- npx -y @runapi.ai/mcp. Project scope is available when the configuration should be shared through a repository’s .mcp.json file. The package also provides init commands for Claude, Cursor, VS Code, Windsurf, and Roo configurations.

Remote clients can connect to https://mcp.runapi.ai/mcp without installing Node.js. OAuth can be used when supported by the client, or a RunAPI API key can be configured as the bearer credential. Local login is available with the package; the hosted endpoint exposes the business tools.

Tools and capabilities

  • list_models filters the embedded model catalog by modality, service, or action.
  • get_model_info returns endpoint details, input constraints, and current runtime pricing for a model slug.
  • list_actions groups available RunAPI actions by output modality.
  • check_pricing returns runtime pricing for a model, service, and action combination.
  • search_prompts finds reusable prompt examples using modality, category, tags, text, model, featured status, and pagination.
  • login starts browser authentication and saves shared local credentials.
  • create_task submits an authenticated RunAPI operation and can optionally poll for completion.
  • get_task retrieves the latest status and payload for an existing task.
  • check_balance reports account balance and spending metrics.

Limitations and notes

Discovery tools do not require authentication, but task creation, task retrieval, and balance checks do. The server depends on RunAPI for execution and does not provide a local model or generation backend. Asynchronous requests may still be processing after a wait deadline or connection interruption; use get_task with the task ID rather than submitting a replacement. Keep the original idempotency key and request inputs when retrying an uncertain submission.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Runapi AI MCP

runapi-ai/mcp is an MCP server that connects MCP-compatible clients to RunAPI’s unified AI model API. Its main tools browse models, inspect inputs and pricing, search prompts, create and monitor image, video, music, audio, or LLM tasks, check balances, and authenticate through a browser login flow.

Install it through npx with `npx -y @runapi.ai/mcp` in your MCP client’s stdio configuration. Claude Code users can run `claude mcp add runapi -s user -- npx -y @runapi.ai/mcp`; `init` commands are also available for several clients.

No, catalog, pricing, action, and prompt-search tools work without an API key. Task creation, task lookup, and balance checks require authentication through the `login` tool, shared RunAPI configuration, or the `RUNAPI_API_KEY` environment variable.

Call `create_task` with the selected service, action, model, parameters, and a new idempotency key. By default it can wait for completion; set `wait` to false to receive a task ID immediately and use `get_task` for later status checks.

Yes, it works with Cursor through local MCP configuration or the hosted endpoint at `https://mcp.runapi.ai/mcp`. The package includes a Cursor configuration initializer, and the hosted setup supports OAuth or a RunAPI bearer API key.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRunapi AI MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/runapi-ai-mcp?style=directory)](https://allmcps.com/mcp/runapi-ai-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/runapi-ai-mcp"><img src="https://allmcps.com/api/badge/runapi-ai-mcp?style=directory" alt="Runapi AI MCP on AllMCPs" /></a>