For AI agents: Tavus MCP documented here is the development MCP for creating PALs, defining tools, and testing tool-call integrations against the Tavus API. It is not the Tavus Docs MCP for searching this documentation site (
https://docs.tavus.io/mcp). For live docs search and page retrieval, see Agents & automation.The use case
A useful PAL calls tools to look something up, change what is on screen, or take an action in your app, then responds based on the result. Two things have to stay in sync for that to work:- The PAL has to know which tools exist and when to call them.
- Your code has to handle those calls and return a result.
Two surfaces
MCP server
Connect Codex, Claude Code, Cursor, or any MCP client over HTTPS with per-user OAuth. Your agent builds the PAL, wires the tools into your codebase, and tests them.
CLI
The
tavus command for interactive and scripted access to every operation. Suited to humans at a terminal and to CI automation.Which should I use?
- MCP server
- CLI
Best when you work in an editor with an AI agent and want it to build the PAL and wire tool calls into your code for you.For Claude Code:For Codex, start the OAuth flow explicitly with:
- Transport: HTTP at an
/mcpendpoint. - Auth: browser-based OAuth through the PAL Maker. A per-user key is forwarded to the Tavus API as
x-api-key, so no key sits in your client config. - Add it to Codex or Claude Code.
Choosing a target environment
Both surfaces default to production (PROD). To target the test database, set TAVUS_ENV=TEST or pass --env TEST to the CLI.
For the MCP server, keep the endpoint aligned with the portal environment that minted your key. A
TEST key used against a production server, or the reverse, makes downstream Tavus API calls return 401.Next steps
MCP server
Connect your agent and wire bidirectional tool calls.
Agentic PAL building & testing
Run simulated turns and judge whether a new PAL works.
CLI
Authenticate and run
tavus commands.MCP tools reference
Browse the full catalog of MCP tools and their parameters.

