PluginBench
MCP Server
Maintained
MIT

Treza MCP Server

io.github.treza-labs/treza

Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.

What is the Treza MCP server?

The Treza MCP server enables AI agents to build, run, schedule, and publish video pipelines directly to YouTube and TikTok. It provides 24 tools across authoring, execution, media management, channel publishing, and credit budgeting, with support for video assembly, editing, and background rendering.

Treza lets you automate video creation and publishing workflows through AI agents. You can design video pipelines with templates and node types, manage a media library, connect YouTube and TikTok channels, estimate costs before running jobs, and publish finished videos—all from Claude, Cursor, or any MCP-compatible client. Rendering and publishing happen in the background and cost prepaid credits.

How to install Treza

Copy-paste configuration for popular MCP clients.

transport: http
Config generated by PluginBench — verify against the source before use.
~/.cursor/mcp.json
{
  "mcpServers": {
    "treza": {
      "url": "https://www.trezalabs.com/api/mcp"
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • list_pipeline_templates — Browse available video pipeline templates
  • list_node_types — List available node types for pipeline construction
  • get_node_type — Get details about a specific node type
  • create_pipeline — Create a new video pipeline
  • update_pipeline — Modify an existing pipeline
  • publish_pipeline — Publish a pipeline (spends credits)
  • list_pipelines — List all pipelines
  • get_pipeline — Get details about a specific pipeline
  • run_pipeline — Execute a pipeline (spends credits, can post to connected channels)
  • get_run — Get status of a pipeline run
  • list_runs — List all pipeline runs
  • set_schedule_paused — Pause or resume a scheduled pipeline
  • list_assets — Browse the media library
  • import_media — Add a file to the media library from attachment, public link, or local file
  • create_upload_url — Generate URL for uploading local files
  • assemble_video — Join clips into one video with optional narration, music, and captions (spends credits, renders in background)
  • edit_asset — Run node operations on a single file: captions, upscale, trim, crop, etc. (spends credits, renders in background)
  • list_connected_channels — List connected YouTube and TikTok accounts
  • connect_channel — Return a link to connect a YouTube channel or TikTok account
  • publish_asset — Prepare a finished video for review before posting

Use cases

  • Automatically generate and publish short-form videos to TikTok and YouTube on a schedule
  • Build multi-step video editing workflows (upscale, caption, trim, assemble) and run them at scale
  • Create AI-narrated video compilations from a media library with background music and burned-in captions
  • Estimate production costs before rendering expensive video pipelines
  • Connect multiple social channels and publish finished videos for review before they go live

Treza MCP server FAQ

What is the Treza MCP server?

Treza is an MCP server that lets AI agents build, run, schedule, and publish video pipelines to YouTube and TikTok. It provides 24 tools for pipeline authoring, execution, media management, channel publishing, and credit budgeting.

Is Treza free?

Treza uses a prepaid credit system. Video rendering and publishing consume credits. You can estimate costs before running jobs and top up your wallet through x402 payment integration.

How do I install Treza in Cursor?

Add this to `.cursor/mcp.json`: `{"mcpServers": {"treza": {"url": "https://www.trezalabs.com/api/mcp"}}}`. For Claude or other clients, use the remote endpoint with OAuth.

Do I need to install anything locally?

No. The recommended approach is to point your client at the remote endpoint `https://www.trezalabs.com/api/mcp`. For clients that only support stdio, use the `treza-mcp` Node bridge with a scoped API key.

What authentication does Treza require?

Remote connections use OAuth with Google sign-in (creates a Treza account on first connection). Stdio connections require a scoped API key set in the `TREZA_API_KEY` environment variable.

Can I automate video publishing without human review?

Yes. Pipelines ending in `youtube-upload` or `tiktok-upload` nodes publish directly. Alternatively, use `publish_asset` to prepare videos for review before posting.

README (reference)

Source of truth, from the repository.

Treza plugin

Agent Plugins package for the Treza MCP server. Install it in Cursor, Codex, GitHub Copilot, VS Code, or any client that supports the standard, and your agent can build, run, schedule, and publish AI video pipelines to YouTube and TikTok.

Two ways to connect

Remote (recommended). Point any client that supports OAuth at https://www.trezalabs.com/api/mcp. The first connection signs you in with Google and creates the Treza account. Nothing to install.

stdio bridge. For clients and agent runtimes that only spawn local servers, this repo ships treza-mcp, a small Node bridge that forwards every tool, prompt, and resource to the hosted endpoint. It needs a scoped API key in TREZA_API_KEY (mint one in the Treza app under Settings, API keys, or have an OAuth-connected client call create_api_key).

{
  "mcpServers": {
    "treza": {
      "command": "npx",
      "args": ["-y", "treza-mcp"],
      "env": { "TREZA_API_KEY": "treza_live_..." }
    }
  }
}

TREZA_MCP_URL overrides the endpoint (staging, self-hosted). The bridge runs nothing locally; it is a proxy.

What is inside

FilePurpose
bin/treza-mcp.mjsThe stdio bridge (source of the treza-mcp command)
plugin.jsonAgent Plugins manifest
mcp.jsonDeclares the remote Treza MCP server for plugin-aware clients
skills/treza-video-pipelines/A skill that teaches the agent the credits-first, estimate-before-run workflow

Tools

Twenty-four tools in five groups:

  • Authoring: list_pipeline_templates, list_node_types, get_node_type, create_pipeline, update_pipeline, publish_pipeline
  • Running: list_pipelines, get_pipeline, run_pipeline, get_run, list_runs, set_schedule_paused
  • Your media: list_assets browses the media library, import_media adds a file (an attachment, a public link, or a local file sent through create_upload_url), assemble_video joins clips into one video with optional narration, a music bed, and burned-in captions, and edit_asset runs node operations (captions, upscale, trim, crop, and more) over a single file
  • Channels and publishing: list_connected_channels, connect_channel returns a link that connects a YouTube channel or TikTok account in the person's own browser, and publish_asset lays a finished video out for review before it posts. confirm_publish belongs to the publish panel: it runs when the person presses Post there, never from the model
  • Budget and access: estimate_run_cost, get_credit_balance, create_api_key (OAuth connections only)

Read-only tools carry readOnlyHint. run_pipeline, publish_pipeline, assemble_video, and edit_asset spend prepaid credits, and run_pipeline and publish_pipeline can post to a connected channel. assemble_video and edit_asset render 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. Posting with publish_asset needs a panel; without one, publish through a pipeline that ends in a youtube-upload or tiktok-upload node.

Cursor without the plugin

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "treza": { "url": "https://www.trezalabs.com/api/mcp" }
  }
}

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: hello@trezalabs.com

Related MCP servers

TRTribal logo

Tribal

Active

Self-hosted semantic memory over MCP for engineering teams to preserve tacit knowledge and reasoning.

9
Rust
View repository →

UK company register lookups plus US, EU and UN sanctions screening. Every answer cites source.

Official FDA recalls, drug labels, adverse events and clinical trials, with cited sources.

Official SEC EDGAR filings, financial data and full-text search. Every answer cites its source.

Execute KQL queries against Microsoft Defender Advanced Hunting via natural language.

Execute KQL queries against Microsoft Defender Advanced Hunting via natural language.