Upstream.so

so.upstreamv1.0.2更新于 Oct 3, 2026

Manage 24/7 live streams, media, playback queues, schedules, and multistreaming from AI assistants.

已验证Streamable HTTP可网页运行Files & StorageMedia & DesignProductivity & Workflow

概览

AI 生成的概览

让助手管理 Upstream.so 云端直播流、播放队列、媒体、文件夹、排期与多平台推流目标。

功能
这是一个远程 MCP 服务器,与 Upstream API 一一对应:可列出、创建、更新和删除直播流,启动和停止推流,并通过直播流的 schedule 对象处理排期。它还管理每个直播流的播放队列(视频、音频、外部视频)、媒体库与文件夹、标签、多平台推流目标以及账户信息。上传不经过 MCP,而是通过 TUS 上传票据交回客户端执行。
适用场景
适合让助手直接操作 Upstream.so 账户:启动或停止直播频道、调整播放顺序、搜索和整理媒体库、规划排期,或添加转推目标。适合已在 Upstream 运营频道、希望用对话方式代替网页控制台的用户。
运行要求
远程 Streamable HTTP 端点,无需本地安装。需要 Upstream.so 账户,使用 OAuth 登录(推荐)或以 Authorization: Bearer 发送个人访问令牌。部分客户端需要自定义请求头或开发者模式,OAuth 回调支持因客户端而异。需要能访问该端点的网络。
安装前请注意
两种认证方式都会授予可更改或删除数据的工具权限,OAuth 的 mcp:use 范围并非只读。停止直播会中断观众的观看;删除直播流、媒体或文件夹不可恢复。这些工具会处理推流密钥和目标平台密钥。令牌应存放在客户端密钥设置中,不要写入提示词或共享配置,并开启审批提示。

安装

在 SourceWeft 中

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

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.

  ┌───────────────┐   MCP (Streamable HTTP)   ┌────────────────────┐  │  your AI       │ ────────────────────────► │ studio.upstream.so │  │  (Claude, ...) │ ◄──── tool results ────── │        /mcp        │  └───────────────┘                            └─────────┬──────────┘                                                         │ same code path                                                         ▼                                              ┌────────────────────┐                                              │  Upstream API v1    │                                              └────────────────────┘

Endpoint

URLhttps://studio.upstream.so/mcp
TransportStreamable HTTP
AuthOAuth (recommended); API key fallback

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-Key header still works. New API-key connections should send Authorization: Bearer.

Connecting

ChatGPT

  1. Enable Developer mode under Settings → Security and login, if your account and workspace allow it.
  2. Open Plugins, select the plus button, and name the connection Upstream.
  3. Enter https://studio.upstream.so/mcp. Choose OAuth authentication when prompted.
  4. Sign in on Upstream, review the consent screen, and approve the connection.
  5. 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

  1. Open Customize → Connectors and select + → Add custom connector.
  2. Name it Upstream and enter https://studio.upstream.so/mcp.
  3. Add the connector, select Connect, and sign in on Upstream to review and approve access.
  4. 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

bash
claude mcp add --transport http --scope user upstream \  https://studio.upstream.so/mcp

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:

json
{  "servers": {    "upstream": {      "type": "http",      "url": "https://studio.upstream.so/mcp"    }  }}

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:

json
{  "mcpServers": {    "upstream": {      "url": "https://studio.upstream.so/mcp"    }  }}

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:

http
Authorization: Bearer YOUR_UPSTREAM_TOKEN

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

ToolWhat it does
list_streamsList the streams owned by the account, newest first, paginated.
get_streamGet one stream by UUID: settings, status, tags, destinations.
create_streamCreate a stream — name, platform (youtube, twitch, kick, custom, customsrt), stream key.
update_streamPartially update a stream; only provided fields change.
delete_streamPermanently delete a stream and its configuration.
start_streamStart broadcasting to the stream's platform.
stop_streamStop a running stream. This interrupts a live broadcast for viewers.

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.

ToolWhat it does
get_stream_queueGet the ordered items of one queue.
add_to_stream_queueAppend media UUIDs to a queue — or {url, name} objects for external-videos.
remove_from_stream_queueRemove one item. The media file itself is not deleted.
reorder_stream_queueReplace a queue's playback order with a full ordered list of ids.

Media library

ToolWhat it does
list_mediaList and search the library, paginated. Filter by type, name or folder.
get_mediaGet one file, including its processing state.
update_mediaUpdate name and audio tags (title, artist, album, year, genre).
delete_mediaPermanently delete a file. It also disappears from any queue referencing it.
create_upload_ticketMint a TUS upload ticket so the client can upload files itself.
revoke_upload_ticketsRevoke active upload tickets for the account.

A freshly uploaded file is processing until get_media reports is_processing: false. It can only be queued after that.

Folders

ToolWhat it does
list_foldersList folders, optionally filtered by parent.
get_folderGet one folder by UUID.
create_folderCreate a folder, optionally inside a parent.
update_folderRename a folder, or move it under another parent.
delete_folderDelete a folder and its subfolders. Contained files move to the library root.
move_files_to_folderMove up to 100 files into a folder, or back to the root.

Multistream destinations

ToolWhat it does
list_destinationsList the extra platforms a stream is restreamed to.
add_destinationAdd a destination — name, platform, stream key.
update_destinationPartially update a destination.
remove_destinationRemove a destination from the stream.

Tags and account

ToolWhat it does
list_tagsList the account's tags.
create_tagCreate a tag. Names are unique per account.
update_tagUpdate a tag's name, colour or icon.
delete_tagDelete a tag. Streams keep working; they just lose it.
get_accountGet the authenticated account: id, name, email, plan and limits.

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

About Upstream

Upstream runs live video in the cloud, without OBS or a machine of your own left switched on:

Licence

MIT — see LICENSE.

来源:README.md,提交 300263e

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.2最新Oct 3, 2026