RA

runapi-ai/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

56 stars 0 forks 质量 87 趋势 33Apache-2.0

runapi-ai/mcp 是从 https://github.com/runapi-ai/mcp. 导入的 MCP 服务器候选

概览

runapi-ai/mcp 是从 https://github.com/runapi-ai/mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

RunAPI MCP 服务器

AI图像生成、视频生成、音乐创作、文本转语音、提示搜索和模型发现——在一台MCP服务器上支持跨4种模式的160+可执行模型。

支持Claude Code、Codex、Cursor、Windsurf、VS Code、Roo Code以及任何兼容MCP的主机。

快速入门 | 工具 | 示例 | 目录 | 站台


这是什么?

RunAPI MCP 服务器将兼容 MCP 的编码工具连接到 RunAPI。 它允许助手浏览 RunAPI 目录、检查模型输入、检查当前运行时定价、创建媒体任务、轮询任务状态以及检查账户余额。

发现工具无需API密钥,因为它们使用了嵌入的构建时目录。 认证操作使用 login 工具、runapi login、RUNAPI_API_KEY,或共享的 RunAPI 配置。

这个套餐是纯粹的客户。 它不运行本地生成后端,仅需 RunAPI 登录以获取认证工具。


主持MCP

远程MCP客户端可以直接连接到:

无需Node.js安装。当客户端支持远程MCP授权时使用OAuth,或配置RunAPI API密钥作为持有凭证。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

RunAPI MCP Server

AI image generation, video generation, music creation, text-to-speech, prompt search, and model discovery — 160+ executable models across 4 modalities in one MCP server.

Works with Claude Code, Codex, Cursor, Windsurf, VS Code, Roo Code, and any MCP-compatible host.

Quick Start | Tools | Examples | Catalog | Platforms


What Is This?

RunAPI MCP Server connects MCP-compatible coding tools to RunAPI. It lets an assistant browse the RunAPI catalog, inspect model inputs, check current runtime pricing, create media tasks, poll task status, and check account balance.

The discovery tools work without an API key because they use the embedded build-time catalog. Authenticated operations use the login tool, runapi login, RUNAPI_API_KEY, or shared RunAPI config.

This package is a pure client. It does not run a local generation backend and only needs RunAPI sign-in for authenticated tools.


Hosted MCP

Remote MCP clients can connect directly to:

https://mcp.runapi.ai/mcp

No Node.js installation is required. Use OAuth when the client supports remote MCP authorization, or configure a RunAPI API key as the bearer credential. See the Hosted MCP setup page for Cursor, Claude Desktop, VS Code, and Windsurf configurations.

Hosted MCP exposes the eight Business Tools documented below. Local Login remains available only in the Local MCP package.


Quick Start

For Local MCP over stdio, install RunAPI with Claude Code’s MCP command:

claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

The scope flag controls where the MCP server is stored:

  • -s user: global, available in all projects for your user.
  • -s project: team-shared, written to .mcp.json in the current repo so it can be committed.

Use project scope when you want the whole team to share the same server config:

claude mcp add runapi -s project -- npx -y @runapi.ai/mcp

Compatibility fallback for non-Claude Code platforms or manual JSON config:

{
  "mcpServers": {
    "runapi": {
      "command": "npx",
      "args": ["-y", "@runapi.ai/mcp"]
    }
  }
}
在 GitHub 查看完整 README

安装

npx -y @runapi.ai/mcp
新手?先看 mcpskill.org 教程 →

配置

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