Luma Mcp

io.github.runapi-builder由 GitHub 账号 runapi-builder 发布v0.3.1更新于 Oct 30, 2026

RunAPI MCP server for Luma: query historical tasks.

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

面向 Luma 模型系列的 RunAPI MCP 服务器,让助手查询已有 Luma 任务的状态与结果,并查看定价。

可以做什么
  • 按任务 ID 获取已有 Luma 任务的当前状态和最新结果数据
  • 查询 RunAPI 中 Luma 模型系列的定价,目前显示没有受支持的模型
  • 通过浏览器 PKCE 登录流程完成 RunAPI 认证,并把 API 密钥写入共享的 RunAPI 配置文件
适用场景
当助手需要查看 RunAPI 上已有 Luma 任务的状态或结果时使用。注意该 Luma 模型系列已下线:新请求返回 HTTP 410,且没有模型接受新任务,因此只适合历史任务查询。
运行要求
以 stdio 方式在本地运行,通常通过 npx 使用 npm 包。需要 RunAPI 账号和 API 密钥:无头或 CI 主机可通过环境变量 RUNAPI_API_KEY 提供,或使用 login 工具打开浏览器登录并把密钥写入共享的 RunAPI 配置文件。使用 npx 需要 Node.js。
安装前请注意
login 工具会打开浏览器,并把 RunAPI API 密钥保存到本地配置文件;请勿将该文件或 RUNAPI_API_KEY 的值提交到版本库。该服务器仅覆盖已下线的模型系列,新的生成请求会返回 HTTP 410,定价查询也不会返回受支持的模型。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Luma Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

RunAPI Luma MCP Server

Luma historical task access for AI agents: query existing tasks through one focused MCP server.

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

[npm version] [GitHub repository] [Apache-2.0 license] [MCP Server] [0 models]

Install | Tools | Models | Agent Prompts | Configuration | Links


Why This Package?

@runapi.ai/luma-mcp is a focused Model Context Protocol server for the Luma model line on RunAPI. It gives MCP-compatible assistants direct access to 0 endpoints and 0 model variants without loading the full RunAPI catalog.

Use this per-model server when an agent should stay scoped to Luma. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.

luma-modify-video was retired on 2026-10-14T00:00:00Z. New requests return HTTP 410 before task creation or balance deduction. Existing tasks can still be queried. This model ID is not mapped to another model.


Install

Add it to Claude Code:

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

Use project scope when the server should be shared with a repository:

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

Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:

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

No models in this package accept new tasks. check_pricing returns no supported model. For historical task lookup, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login. Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.

Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.


Tools

ToolAuthPurpose

| get_task | Yes | Fetch the current status and latest payload for an existing task. | | check_pricing | No | Returns no supported model because this model line is retired. |


Models

Luma covers 0 model variants across 0 endpoints. Each tool accepts the models listed for it:

ToolModels

Model availability can change between releases. Use check_pricing or the Luma model page for the current catalog view.


Agent Prompts

Query an existing task with get_task. New requests for this retired model return HTTP 410.

text
Check the status of my existing Luma task with RunAPI.

The assistant calls get_task with the task id and returns its status and available result.


Configuration

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

The config file is normally managed by login. A pre-provisioned headless config can use:

json
{  "apiKey": "your_runapi_key"}

Do not commit real API keys.


Links

ResourceURL
Luma model pagehttps://runapi.ai/models/luma
npm package@runapi.ai/luma-mcp
GitHub repositoryrunapi-ai/luma-mcp
RunAPI MCP overviewrunapi.ai/mcp
RunAPI docsrunapi.ai/docs

License

Licensed under the Apache License, Version 2.0.

来源:README.md,提交 da592f2

工具

3

login

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

输入参数force

get_task

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

输入参数actiontask_id必填

check_pricing

Look up RunAPI pricing for the luma model line.

输入参数modelaction

版本历史

4
  1. v0.3.1最新Oct 22, 2026
  2. v0.3.0Oct 15, 2026
  3. v0.2.0Sep 30, 2026
  4. v0.1.7Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分