
Upstream.so
so.upstreamv1.0.2更新于 Oct 3, 2026
Manage 24/7 live streams, media, playback queues, schedules, and multistreaming from AI assistants.
概览
让助手管理 Upstream.so 云端直播流、播放队列、媒体、文件夹、排期与多平台推流目标。
- 功能
- 这是一个远程 MCP 服务器,与 Upstream API 一一对应:可列出、创建、更新和删除直播流,启动和停止推流,并通过直播流的 schedule 对象处理排期。它还管理每个直播流的播放队列(视频、音频、外部视频)、媒体库与文件夹、标签、多平台推流目标以及账户信息。上传不经过 MCP,而是通过 TUS 上传票据交回客户端执行。
- 适用场景
- 适合让助手直接操作 Upstream.so 账户:启动或停止直播频道、调整播放顺序、搜索和整理媒体库、规划排期,或添加转推目标。适合已在 Upstream 运营频道、希望用对话方式代替网页控制台的用户。
- 运行要求
- 远程 Streamable HTTP 端点,无需本地安装。需要 Upstream.so 账户,使用 OAuth 登录(推荐)或以 Authorization: Bearer 发送个人访问令牌。部分客户端需要自定义请求头或开发者模式,OAuth 回调支持因客户端而异。需要能访问该端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Upstream.so,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"upstream": {
"type": "http",
"url": "https://studio.upstream.so/mcp"
}
}
}README
Upstream.so — MCP Server
The official Model Context Protocol server for Upstream.so, the cloud live-streaming platform. Point an AI assistant at one URL and it can run your channels: start and stop streams, reorder playback queues, search your media library, plan schedules, and manage multistream destinations.
It is a remote server — nothing to install, no npm package, no local process. It mirrors the public Upstream API one-to-one, so every tool runs the same validation, ownership rules and rate limits as the REST endpoint behind it.
Endpoint
Authentication
Connect with OAuth when your client supports it. Add the server URL, sign in directly on studio.upstream.so, and review the requested access. Your AI client receives an access token, never your Upstream password. Remove its access under Profile → Connected apps.
For clients with custom request headers, a Personal Access Token remains available under Profile → API Keys. Create a dedicated key for each client and store it in the client's secret settings. Existing API-key connections keep working.
Both methods grant access to the supported MCP tools for your account, including actions that change or delete data. OAuth's mcp:use scope is not a read-only mode. Enable your client's approval prompts and begin with a read-only request.
The legacy
X-Upstream-Api-Keyheader still works. New API-key connections should sendAuthorization: Bearer.
Connecting
ChatGPT
- Enable Developer mode under Settings → Security and login, if your account and workspace allow it.
- Open Plugins, select the plus button, and name the connection Upstream.
- Enter
https://studio.upstream.so/mcp. Choose OAuth authentication when prompted. - Sign in on Upstream, review the consent screen, and approve the connection.
- Start a new conversation and select Upstream from the tools menu.
This uses a custom MCP connection. It does not require a published ChatGPT app. See OpenAI's connection guide for current availability and settings.
Claude
- Open Customize → Connectors and select + → Add custom connector.
- Name it Upstream and enter
https://studio.upstream.so/mcp. - Add the connector, select Connect, and sign in on Upstream to review and approve access.
- Enable Upstream from the conversation's Connectors menu.
Custom connectors depend on your plan. Team and Enterprise owners must first add the connector for their organization. See Claude's custom connector guide.
Claude Code
Open Claude Code, run /mcp, and select Upstream to authenticate. Sign in on Upstream and approve access, then run /mcp again to check the connection. See the Claude Code MCP guide.
VS Code
Run MCP: Open User Configuration from the Command Palette and add Upstream to mcp.json, keeping any other servers already configured:
Start Upstream from the server configuration and follow the authentication prompt. Sign in on Upstream and approve access. VS Code discovers the OAuth settings automatically; no API key or client secret is needed. See the VS Code MCP guide.
Kimi Code
Add Upstream to ~/.kimi-code/mcp.json, keeping any other servers already configured:
Start a new Kimi Code session and run /mcp-config login upstream. Sign in on Upstream and approve access, then run /mcp to check the connection. You can also add the server interactively with /mcp-config. See the Kimi Code MCP guide.
Switching an existing connection to OAuth
Existing API-key connections keep working. To switch, remove the saved Authorization header or API-key setting from the Upstream server configuration, then reconnect and follow your client's sign-in steps above. A configured API-key header can prevent the client from starting OAuth.
API-key alternative
Scripts and clients without OAuth can use a dedicated key from Profile → API Keys. Use the same endpoint and store this header in the client's secret settings:
Replace the placeholder with your key only in those settings. Never paste a real key into a prompt, shared project configuration, support ticket, or directory submission.
Other clients need remote Streamable HTTP and OAuth or custom request headers. OAuth callback compatibility depends on the client.
Verify the connection with a read-only call: ask the assistant to list your streams.
Tools
Tools use the same account ownership, validation, and rate limits as the public API.
Streams
Scheduling is part of a stream rather than a separate tool: create_stream and update_stream both take a schedule object covering start and end times, repeats, and continuous mode with its own run and break durations.
Playback queues
Each stream owns queues by type: video, audio, audio-secondary, external-videos.
Media library
A freshly uploaded file is processing until get_media reports is_processing: false. It can only be queued after that.
Folders
Multistream destinations
Tags and account
Uploading files
MCP carries JSON, not file bytes, so create_upload_ticket hands the upload back to the client: it returns a TUS endpoint and a 24-hour token, and the assistant's own shell moves the bytes.
Reuse one ticket per batch when practical. Minting a new ticket renews the same family without revoking in-flight uploads. Use revoke_upload_tickets to invalidate active tickets. Runnable examples in several languages live in upstream-upload-examples.
Rate limits and errors
Tool calls share the REST API's budget of 60 requests/minute per account. On HTTP 429, back off.
Resources belong to the token's account only: a foreign id returns 403, an unknown id returns 404. Destructive tools carry MCP annotations, so clients that render confirmations will ask before deleting or stopping something.
Reference
- API documentation · OpenAPI spec · Postman collection
- Model Context Protocol
- Connection setup · Publishing and directory submissions
About Upstream
Upstream runs live video in the cloud, without OBS or a machine of your own left switched on:
- 24/7 live streaming — loop a library as a channel that never goes down
- Pre-recorded live streaming — schedule finished videos to go live
- Live Studio — browser production with up to 10 guests
- Multistreaming — one feed to YouTube, Twitch, Kick, TikTok and more
Licence
MIT — see LICENSE.
来源:README.md,提交 300263e
工具
0版本历史
1- v1.0.2最新Oct 3, 2026
