
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
