LiveReacting
官方从云端全天候运行预录视频的直播流,或将单个录制的视频安排并作为直播流播出,并多路推流至YouTube、Facebook、Twitch及任何RTMP目标。使用LiveReacting MCP服务器从您的视频库构建直播流、安排广播、在直播中更改播放列表,并通过您的AI助手查看状态和分析。
你可以用 LiveReacting MCP 做什么?
- 从链接创建直播流 — 从 Google Drive、Dropbox 或 YouTube 导入视频,填充循环播放列表,并使用
livereacting_create_scene_with_playlist和livereacting_start_stream开始直播。 - 安排直播 — 从媒体库中选择一段录制内容,并使用
livereacting_schedule_stream设置未来 28 天内的一个或多个开始时间。 - 直播期间切换场景 — 在直播进行时更改正在播出的场景,然后使用
livereacting_sync_stream推送编辑内容。 - 查看直播状态 — 使用
livereacting_get_stream_status查询直播当前状态以及各个目标平台的状态。 - 回顾过往直播 — 使用
livereacting_list_broadcasts列出过往直播及其运行时长和峰值观众人数,然后使用livereacting_get_stream_analytics查看 YouTube 数据。 - 限制代理的访问权限 — 在服务器 URL 后添加
?read_only=1或?toolsets=streams,media,这样只会提供你指定的工具。
托管 MCP 服务器
npx add-mcp 'https://mcp.livereacting.com/mcp'可安装到 Claude Code、Codex、Cursor 等客户端
文档
MCP 服务器
让 AI 代理运行你的直播。
将 ChatGPT 或 Claude 与你的 LiveReacting 账户连接,或使用 API 密钥将 Claude Code、Codex、Cursor 和其他 AI 代理连接起来。代理会根据播放列表构建直播、启动直播、安排直播,并在之后读取直播历史记录。
https://mcp.livereacting.com/mcp 复制
Streamable HTTP,仅支持 POST,无会话。API 密钥放在 Authorization 标头中,作为 Bearer 令牌。ChatGPT 和 Claude 则通过 OAuth 登录。
- 所有付费套餐均包含
- 30 个工具,支持只读模式
- 无需安装
设置
连接客户端。
以下所有客户端都使用同一个 URL 和 Authorization 标头。密钥就是 REST API 使用的 lr_ 密钥,因此你已有的密钥也可以在这里使用。
让你的编程代理完成设置
将这条消息复制到你的编程代理中。代理会将 LiveReacting 添加到自己的设置中,告诉你在哪里填写 API 密钥,并检查连接。
复制消息 供代理执行的说明。
可在 Claude Code、GitHub Copilot、Codex、Cursor、OpenCode、Antigravity、Gemini CLI、Kiro、Cline、Zed 或其他能够修改自身设置的编程代理中使用。
Connect the LiveReacting MCP server to this agent.
1. Add a remote MCP server named "livereacting" to your own MCP settings, the way you normally add one (your config file or your "mcp add" command).
URL: https://mcp.livereacting.com/mcp (Streamable HTTP)
Header: Authorization: Bearer <my LiveReacting API key>
Exact settings for Claude Code, Codex, Cursor, VS Code, Gemini CLI and more agents: https://www.livereacting.com/mcp.md
2. I create the API key at https://studio.livereacting.com/developer (every paid plan includes one). Keep it out of this chat and out of config files where you can: read it from the LIVEREACTING_API_KEY environment variable or your password prompt, and tell me how to set it. Never write the key into a file tracked by git or anywhere public.
3. Check the connection: call livereacting_list_projects and tell me what it returned. If the server loads only after a restart or a new session, tell me exactly what to do, and to ask you "List my LiveReacting projects" afterwards.
If you cannot change your own settings (for example, you are a chat app), say so and send me to https://www.livereacting.com/mcp.
如果你还没有密钥,请在 LiveReacting Studio 的 Developer 部分创建一个。将其设为 LIVEREACTING_API_KEY 环境变量,然后重启客户端。VS Code 会改为提示你输入密钥。
Claude Code Codex CLI Cursor VS Code (GitHub Copilot) Gemini CLI
Claude Code
在项目根目录的 .mcp.json 中配置。密钥不会写入文件,因此可以安全地提交。
{
"mcpServers": {
"livereacting": {
"type": "http",
"url": "https://mcp.livereacting.com/mcp",
"headers": { "Authorization": "Bearer ${LIVEREACTING_API_KEY}" }
}
}
}
复制
Codex CLI
在 ~/.codex/config.toml 中配置。
[mcp_servers.livereacting]
url = "https://mcp.livereacting.com/mcp"
bearer_token_env_var = "LIVEREACTING_API_KEY"
# Then, in your shell profile:
# export LIVEREACTING_API_KEY=lr_...
复制
Cursor
在 ~/.cursor/mcp.json 中配置。
{
"mcpServers": {
"livereacting": {
"url": "https://mcp.livereacting.com/mcp",
"headers": { "Authorization": "Bearer ${env:LIVEREACTING_API_KEY}" }
}
}
}
复制
VS Code (GitHub Copilot)
在 .vscode/mcp.json 中配置。inputs 块会让 VS Code 提示你输入密钥,而不是将其存储在代码库中。
{
"inputs": [
{
"id": "livereacting-key",
"type": "promptString",
"description": "LiveReacting API key",
"password": true
}
],
"servers": {
"livereacting": {
"type": "http",
"url": "https://mcp.livereacting.com/mcp",
"headers": { "Authorization": "Bearer ${input:livereacting-key}" }
}
}
}
复制
Gemini CLI
在 ~/.gemini/settings.json 中配置。
{
"mcpServers": {
"livereacting": {
"httpUrl": "https://mcp.livereacting.com/mcp",
"headers": { "Authorization": "Bearer ${LIVEREACTING_API_KEY}" }
}
}
}
复制
更多编程代理
| 代理 | 设置文件 | API 密钥 |
|---|---|---|
| GitHub Copilot CLI | ~/.copilot/mcp-config.json``"mcpServers": { "type": "http", "url", "headers" } | 直接输入文件。其文档没有说明如何从环境中读取密钥。 |
| OpenCode | ~/.config/opencode/opencode.json``"mcp": { "type": "remote", "url", "headers" } | 在标头中使用 {env:LIVEREACTING_API_KEY} 从环境中读取。 |
| Antigravity | ~/.gemini/config/mcp_config.json``"mcpServers": { "serverUrl", "headers" } | 直接输入文件。其文档没有说明如何从环境中读取密钥。 |
| Kiro | ~/.kiro/settings/mcp.json``"mcpServers": { "url", "headers" } | 在 Kiro 中批准该变量后,在标头中使用 ${LIVEREACTING_API_KEY} 从环境中读取。 |
| Cline | cline_mcp_settings.json``"mcpServers": { "type": "streamableHttp", "url", "headers" } | 直接输入文件。其文档没有说明如何从环境中读取密钥。 |
| Zed | settings.json``"context_servers": { "url", "headers" } | 直接输入文件。其文档没有说明如何从环境中读取密钥。 |
任何支持 Streamable HTTP 和 Bearer 标头的客户端,都可以使用相同的 URL 和标头。
先安全地测试
在 URL 中添加 ?read_only=1,客户端就只会获得读取工具。代理调用的任何工具都无法更改项目或直播。
工具
代理可以调用哪些工具。
每个名称都以 livereacting_ 开头,因此在按需加载工具的客户端中,只需搜索一次就能找到整个服务器。
| 工具 | 功能 | 访问权限 |
|---|---|---|
| 账户 已连接的直播平台。 | ||
livereacting_list_destinations | 你已连接的 YouTube、Facebook、Twitch、LinkedIn、X 和自有服务器 | 只读 |
livereacting_validate_destinations | 在依赖 YouTube、Facebook 或 Twitch 登录之前,检查登录是否仍然有效。不会联系自定义直播平台 | 只读 |
| 编辑器 项目、场景以及其中的视频和音频播放列表。 | ||
livereacting_list_projects | 你的项目,按最新创建时间排序 | 只读 |
livereacting_get_project | 单个项目的完整信息:格式、时长、直播平台和直播状态 | 只读 |
livereacting_create_project | 创建空项目,这是构建直播的第一步 | 写入 |
livereacting_update_project | 更改项目设置 | 写入 |
livereacting_get_scenes | 项目中的场景,以及每个场景内容的摘要 | 只读 |
livereacting_manage_scene | 创建、重命名或删除场景 | 破坏性操作 |
livereacting_activate_scene | 切换正在播出的场景,包括直播进行期间 | 写入 |
livereacting_create_scene_with_playlist | 一次调用即可添加场景并填入视频播放列表 | 写入 |
livereacting_add_layer | 向现有场景添加一个视频播放列表、音频播放列表或单个视频 | 写入 |
livereacting_get_layer | 读取一个播放列表及其中的视频,每次读取五十个 | 只读 |
livereacting_set_playlist | 替换视频或音频播放列表中的全部内容 | 破坏性操作 |
| 直播 开始直播、安排直播,以及查看正在进行的直播。 | ||
livereacting_start_stream | 立即开始直播 | 破坏性操作 |
livereacting_stop_stream | 结束正在进行的直播 | 破坏性操作 |
livereacting_get_stream_status | 查看直播当前状态,以及各直播平台的状态 | 只读 |
livereacting_schedule_stream | 安排在未来 28 天内的一个或多个时间开始直播 | 写入 |
livereacting_cancel_schedules | 取消一场已安排的直播,或取消某个项目的所有安排 | 破坏性操作 |
livereacting_sync_stream | 将刚刚所做的编辑推送到正在进行的直播 | 写入 |
livereacting_list_broadcasts | 过往直播:每场直播的时间、时长和最高观众数 | 只读 |
| 媒体 播放列表所用的视频库。 | ||
livereacting_list_media | 媒体库中的文件和文件夹 | 只读 |
livereacting_get_media_file | 单个文件,以及按需提供的技术详情 | 只读 |
livereacting_import_media | 从 Google Drive、Dropbox 或 YouTube URL 导入单个文件 | 写入 |
livereacting_import_from_url | 从公开网站的直接链接导入单个视频、音频或图像文件 | 写入 |
livereacting_get_import_status | 查看导入进度,以及文件是否已可用于直播 | 只读 |
livereacting_upload_file | 开始从你的电脑上传文件。代理会使用返回的命令发送文件 | 写入 |
livereacting_complete_upload | 完成上传并将文件添加到媒体库 | 写入 |
livereacting_encode_media | 将文件加入编码队列,以便用于直播 | 写入 |
livereacting_get_encode_status | 查看编码进度 | 只读 |
| 分析 已结束直播产生的数据。 | ||
livereacting_get_stream_analytics | 所有付费套餐均可查看 YouTube 直播数据;按需提供逐视频播放列表数据 | 只读 |
连接后,每个工具的输入架构都可通过 tools/list 获取,其说明会告诉你接下来应调用什么工具,以及轮询之间应等待多久。请在那里查看,不要根据上方的名称推断。
添加 ?toolsets=,并以逗号分隔填写 account、editor、streams、media 和 analytics 中的任意项,客户端就只会获得这些工具组。服务器会执行筛选,因此任何客户端都可以使用;对于无法识别的名称,服务器会拒绝请求。
示例提示
你提出的要求,以及代理会执行的操作。
用通俗的话说明直播应该如何进行。代理会从上表中选择工具,并按任务所需的顺序调用。
-
“这是三个 Google Drive 视频链接。用它们在我的 YouTube 频道上搭建 24/7 直播并开始直播。”
代理会导入这三个文件,等待它们可以用于直播,然后填充循环播放列表并开始直播。
-
“安排上周的网络研讨会录像在周五下午 3 点直播。”
代理会在你的媒体库中找到录像,创建一个只播放一次该录像的项目,并安排在指定时间开始直播。
-
“我们正在直播。切换到间歇场景。”
代理会启用间歇场景,并将更改推送到正在进行的直播。直播会继续进行。
-
“上周的直播效果如何?”
代理会检查你的项目,列出每个项目进行过的直播及其最高观众数,然后读取这些直播的 YouTube 数据。
限制
连接代理前需要了解的事项。
-
仅限付费套餐
Free 套餐和已暂停的订阅不包含 API 访问权限。使用 API 密钥时,每个请求都会被拒绝,并返回 403 API_ACCESS_REQUIRES_PAID_PLAN。通过 ChatGPT 或 Claude 连接账户时,账户可以成功连接,但在套餐包含 API 访问权限之前,每次工具调用都会返回此错误。
-
密钥代表你的账户
密钥可以访问的内容,代理也都可以访问。请在 Studio 的 Developer 部分创建密钥;想让代理停止访问时,立即在那里撤销密钥。
-
减少代理可用的工具
添加 ?read_only=1 以仅提供读取工具,或添加 ?toolsets=streams,media 以仅提供指定工具组。服务器会拒绝无法识别的值,而不是忽略它。
-
目前还无法执行的操作
代理无法导入 YouTube 播放列表,也无法构建文本、图像或交互式叠加层。你可以在 Studio 中构建这些内容,代理仍然可以运行包含这些内容的直播。
代理应了解的规则
- 每分钟工具调用次数不得超过 150 次。 按账户计数,initialize 和 tools/list 握手不计入限制。单次调用超限时,服务器会返回 HTTP 200 和工具错误,其中会说明需要等待多久;这样模型可以读取错误,而不是由客户端自行重试并收到 429。批量请求超限时会返回真正的 429,且每批最多可包含 20 条消息。
- set_playlist 会替换整个列表。 它不会追加内容。若要添加一个视频,请先读取 get_layer 的所有分页内容,再发送完整列表。
- 重试写入操作前先检查。 超时后,请先调用 get_stream_status,或调用用于查看所创建内容的列表工具,确认写入是否成功,再决定是否重试。再次调用 create_project 会创建第二个项目,再次调用 add_layer 会添加第二个图层。
- 访问权限标签只是提示,不是限制。 每个写入或删除工具都带有注释,客户端可以据此在调用前征求你的同意。协议不会强制客户端征求同意,因此请检查客户端自身的设置。
- 24/7 直播需要使用允许此类直播的平台。 Facebook 单独直播的时长上限为八小时,因此 24/7 直播需要使用 YouTube、自有服务器,或在 Facebook 之外再添加一个直播平台。
- 协议版本为 2024-10-07 至 2025-11-25。 固定使用 2026-07-28 版本的客户端无法连接;如果客户端无法连接,应首先检查这一点。
常见问题
代理可以删除内容吗?
可以。代理可以删除场景、替换整个播放列表、停止直播和取消直播安排;上表将这些工具标记为破坏性操作。在 URL 中添加 ?read_only=1 后,服务器不会提供这些工具。
哪些 AI 助手可以使用?
ChatGPT 可通过 LiveReacting 插件使用:从 我们的 ChatGPT 页面打开插件,安装后登录你的 LiveReacting 账户。在 Claude 中,打开 Customize,然后选择 Connectors,再选择 Add custom connector,输入上方的服务器 URL,并以相同方式登录。在 Mistral Vibe 中,添加 Custom MCP Connector,使用相同的 URL,选择 HTTP Bearer Token,然后粘贴你的 API 密钥。Claude Code、Codex、Cursor、GitHub Copilot 和 Gemini CLI 等编程代理可以根据上方的设置消息自行完成配置,本页面也为每个代理提供了配置说明。Gemini 应用和 Microsoft Copilot 目前还无法连接 LiveReacting。
代理可以上传我电脑上的视频吗?
可以,但代理必须能够在你的电脑上运行命令。代理会向 LiveReacting 请求上传链接,使用 curl 发送文件,然后文件就会加入你的媒体库。每个文件的大小上限取决于你的套餐。没有终端的代理可以通过公开的直接链接,或从 Google Drive、Dropbox 或 YouTube 一次导入一个文件。
从免费账户开始。
在 Free 套餐中使用工作室搭建你的直播流,该套餐永不过期。准备好交给智能体时,可升级到任意付费套餐,API 密钥也会随之提供。
创建免费账户
- 无需信用卡
- 633 条评价,评分 4.8
想先了解价格?查看套餐和价格
将 LiveReacting 连接到你的 AI。
之后,你的 AI 就能为你搭建、安排并启动直播流。
-
ChatGPT
LiveReacting 插件会在 ChatGPT 中打开。点击 Install plugin,然后登录你的 LiveReacting 账户。在 ChatGPT 中打开
-
Claude
复制此 URL。在 Claude 中,打开Customize, Connectors, Add custom connector,粘贴 URL,然后登录你的 LiveReacting 账户。
https://mcp.livereacting.com/mcp复制 -
Claude Code、Codex、Cursor 或其他 AI 智能体
复制设置消息并粘贴到你的智能体中。智能体会为你完成连接设置。
Connect the LiveReacting MCP server to this agent. 1. Add a remote MCP server named "livereacting" to your own MCP settings, the way you normally add one (your config file or your "mcp add" command). URL: https://mcp.livereacting.com/mcp (Streamable HTTP) Header: Authorization: Bearer <my LiveReacting API key> Exact settings for Claude Code, Codex, Cursor, VS Code, Gemini CLI and more agents: https://www.livereacting.com/mcp.md 2. I create the API key at https://studio.livereacting.com/developer (every paid plan includes one). Keep it out of this chat and out of config files where you can: read it from the LIVEREACTING_API_KEY environment variable or your password prompt, and tell me how to set it. Never write the key into a file tracked by git or anywhere public. 3. Check the connection: call livereacting_list_projects and tell me what it returned. If the server loads only after a restart or a new session, tell me exactly what to do, and to ask you "List my LiveReacting projects" afterwards. If you cannot change your own settings (for example, you are a chat app), say so and send me to https://www.livereacting.com/mcp.复制设置消息
所有付费套餐均包含此功能。完整设置指南
[{"@context":"https://schema.org","@type":"WebPage","name":"LiveReacting MCP server | Live streaming for AI agents","url":"https://www.livereacting.com/mcp","inLanguage":"en","description":"Connect ChatGPT, Claude Code and other AI agents to LiveReacting. They build a stream from a playlist, start it and schedule it. Included with every paid plan.","about":{"@type":"SoftwareApplication","name":"LiveReacting MCP server","applicationCategory":"DeveloperApplication","operatingSystem":"Web","url":"https://www.livereacting.com/mcp"}},{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.livereacting.com/"},{"@type":"ListItem","position":2,"name":"API","item":"https://www.livereacting.com/api"},{"@type":"ListItem","position":3,"name":"MCP server","item":"https://www.livereacting.com/mcp"}]},{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Can the agent delete something?","acceptedAnswer":{"@type":"Answer","text":"Yes. It can delete a scene, replace a whole playlist, stop a broadcast and cancel a schedule, and the table above marks each of those tools Destructive. With ?read_only=1 on the URL the server offers none of them."}},{"@type":"Question","name":"Which AI assistants work?","acceptedAnswer":{"@type":"Answer","text":"ChatGPT, through the LiveReacting plugin: open it from our ChatGPT page, install it and sign in to your LiveReacting account. In Claude, open Customize, then Connectors, choose Add custom connector, enter the server URL above and sign in the same way. In Mistral Vibe, add a Custom MCP Connector with the same URL, choose HTTP Bearer Token and paste your API key. Coding agents such as Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI set themselves up from the setup message above, and each has a configuration on this page. The Gemini app and Microsoft Copilot cannot connect to LiveReacting yet."}},{"@type":"Question","name":"Can the agent upload a video from my computer?","acceptedAnswer":{"@type":"Answer","text":"Yes, when the agent can run commands on your computer. It asks LiveReacting for upload links, sends the file with curl, and the file joins your library. Each file can be as large as your plan allows. An agent without a terminal can import one file at a time from a direct public link, or from Google Drive, Dropbox or YouTube."}},{"@type":"Question","name":"Where is the full reference?","acceptedAnswer":{"@type":"Answer","text":"Every tool, every input, every response field and every error code is in the MCP reference. The REST API it sits on is documented beside it."}}]}]