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 分