Treza
io.github.treza-labs由 GitHub 帳號 treza-labs 發布v1.0.3更新於 Nov 2, 2026
Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.
概覽
Treza 讓助理依描述生成 AI 影片、編輯素材、建立排程流水線,並發佈到 YouTube 或 TikTok。
- 可以做什麼
- 依描述生成一段影片,渲染前先提供報價
- 瀏覽、匯入並編輯素材(字幕、放大、修剪、裁切、疊加、去背),並把片段與旁白、配樂合成為成片
- 依範本與節點類型建立、更新、發佈影片流水線,並暫停或恢復排程
- 啟動、查看、列出與取消執行,並估算執行成本
- 列出已連接頻道、連接 YouTube 或 TikTok 帳號,並把成片整理成待發佈狀態
- 查看點數餘額、個人資料並建立 API 金鑰
- 適用情境
- 適合想讓程式開發助理或聊天用戶端製作短影音、處理既有素材,或設定排程渲染並自動發佈到 YouTube 或 TikTok 的情境。
- 執行需求
- 遠端 Streamable HTTP 端點,使用 OAuth 登入(Google 帳號、動態用戶端註冊),不需貼上金鑰。只能啟動本機伺服器的用戶端需透過 npx 執行 treza-mcp Node 橋接程式,並在 TREZA_API_KEY 提供受限金鑰,可選用 TREZA_MCP_URL。透過 publish_asset 發佈需要支援 MCP Apps 面板的用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Treza,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.treza-labs%2Ftreza/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"treza": {
"type": "http",
"url": "https://www.trezalabs.com/api/mcp"
}
}
}README
Treza plugin
Make AI videos from your coding agent. This plugin connects Cursor, Codex, Gemini CLI, Claude Code, and any client that supports Agent Plugins or MCP to Treza, so your agent can make a clip from a description, finish media you already have, and build video pipelines that render and post to YouTube and TikTok on a schedule.
- Server:
https://www.trezalabs.com/api/mcp(Streamable HTTP, OAuth with dynamic client registration) - Setup for each app: https://www.trezalabs.com/integrations
- Docs: https://docs.trezalabs.com/api/mcp-server
- Privacy: https://docs.trezalabs.com/terms-and-privacy/privacy
Install
The first connection signs you in to Treza with Google and creates your account. There is no key to paste.
Cursor. Add to Cursor, or put this in ~/.cursor/mcp.json (or .cursor/mcp.json in a project) and restart Cursor:
Codex CLI.
In the ChatGPT desktop app, Treza is in the plugin catalog ChatGPT and Codex share: open Plugins, open Treza and add it.
Gemini CLI. This repo is a Gemini CLI extension:
Then run /mcp auth treza inside Gemini CLI. Gemini also loads the skill in skills/.
Antigravity CLI. Add Treza to ~/.gemini/config/mcp_config.json, then type /mcp to sign in:
Claude Code.
Then run /mcp inside Claude Code and sign in.
Cline. Follow llms-install.md, or add the URL under MCP Servers, Remote Servers, with Streamable HTTP, then click Authenticate.
Clients that only start local servers. This repo ships treza-mcp, a small Node bridge that forwards every tool, prompt, and resource to the hosted server. It needs a scoped key from the API keys page in TREZA_API_KEY:
TREZA_MCP_URL overrides the endpoint (staging, self-hosted). The bridge runs nothing locally; it is a proxy.
What is inside
Tools
Twenty-six tools your agent can call:
- Make a video:
make_videoturns a description into one clip in a single call. It picks the model, prepares the render, and returns the price;run_pipelinestarts it once the person accepts. - Finish media you have:
list_assetsbrowses the library,import_mediaadds a file (a public link, or a local file sent throughcreate_upload_url),edit_assetruns one operation over one file (captions, upscale, trim, crop, overlay, background removal), andassemble_videojoins clips over narration and a music bed, with captions. - Pipelines:
list_pipeline_templates,list_node_types,get_node_type,create_pipeline,update_pipeline,publish_pipeline,list_pipelines,get_pipeline,set_schedule_paused - Runs:
run_pipeline,get_run,list_runs,cancel_run - Channels and publishing:
list_connected_channels,connect_channelreturns a link that connects a YouTube channel or TikTok account in the person's own browser, andpublish_assetlays a finished video out for review before it posts - Budget and account:
estimate_run_cost,get_credit_balance,get_profile,create_api_key(OAuth connections only)
Two more, open_library and confirm_publish, belong to Treza's panels: they run when the person uses the panel, never from the model.
Read-only tools carry readOnlyHint. Renders spend prepaid credits, so make_video and estimate_run_cost quote a price first, and run_pipeline starts a quoted run once, at that price. Renders run in the background and return a run to poll with get_run.
In clients that show MCP Apps panels, such as ChatGPT and Claude, results appear as panels: the finished file, the price with a Start render button, a library to pick files from, a map of a pipeline, and the post before it goes out. Other clients get the same answers as text and links. Posting with publish_asset needs a panel; without one, publish through a pipeline that ends in a youtube-upload or tiktok-upload node.
Runs spend prepaid credits on your Treza account. Agents with a wallet can top up over x402 with no human in the loop.
MIT licensed. Support: [email protected]
來源:README.md,提交 c5edb78
工具
0版本歷史
3- v1.0.3最新Oct 12, 2026
- v1.0.2Sep 29, 2026
- v1.0.1Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分