Tavus
MillionShort search for a Tavus PAL, as an MCP connector that the PAL hands searches to while it keeps talking.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
MCPAPINothing of ours to installWorks with no keyChecked 2026-11-19
Tavus calls an MCP server a connector. You register the MillionShort server once, then attach it to a PAL. During a conversation the PAL hands a search to a background agent, which calls our tools, while the PAL says it is checking and keeps talking; when the result lands, the PAL speaks it. This is different from a Tavus LLM tool, where one call returns one result.
Spoken answers work best with few results: ask for num_results 3 and max_highlights 1, so the background agent reads short passages rather than long text. Each search also adds a little latency, here to the task rather than to the conversation, which carries on while the task runs.
Registering your own MCP server is documented through the Tavus API. Tavus' pre-built connectors are in its Developer Portal under Tools and Connectors.
1Connect the server
Register the server with Create Connector. Here TAVUS_API_KEY is your Tavus key, sent as x-api-key:
curl -X POST https://tavusapi.com/v2/connectors \
-H "x-api-key: $TAVUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "MillionShort",
"server_url": "https://mcp.millionshort.com/mcp",
"auth_config": { "type": "api_key", "name": "Authorization", "value": "Bearer ms-YOUR_API_KEY", "location": "header" }
}'The api_key type sends the header exactly as written. For the no-key mode, leave auth_config out: its default is { "type": "none" }. Tavus stores the key encrypted and never returns it. The answer carries the connector's connector_id; the connector is usable at once.
2Give the tools to a PAL
Set layers.mcp.connectors to the connector's ID, on Create PAL (POST /v2/pals) or on an existing PAL. connector_tools limits the PAL to search; leave it out to allow every tool of the server (the MCP page lists them).
{
"pal_name": "Research assistant",
"system_prompt": "When the user asks about something recent, niche or that needs a source, delegate a web search that says exactly what to find. Tell them you are checking, keep talking, and share the result in two or three short sentences when it arrives.",
"layers": {
"mcp": {
"connectors": ["YOUR_CONNECTOR_ID"],
"connector_tools": { "YOUR_CONNECTOR_ID": ["search"] },
"prompt": "Use the search tool with num_results 3 and max_highlights 1. To reach lesser-known sites, set remove_top_sites to 1000. Return the best answer with the site it came from."
}
}
}On an existing PAL, Patch PAL takes JSON Patch operations, not a merge body:
curl -X PATCH https://tavusapi.com/v2/pals/YOUR_PAL_ID \
-H "x-api-key: $TAVUS_API_KEY" \
-H "Content-Type: application/json" \
-d '[{ "op": "add", "path": "/layers/mcp/connectors", "value": ["YOUR_CONNECTOR_ID"] }]'Use replace in place of add once the PAL already has layers.mcp.connectors.
3Tell the PAL when to search
Two prompts are read by two different models:
| Prompt | Read by | Put here |
|---|---|---|
The PAL's system_prompt | The PAL holding the conversation | When to hand off a search, and what to ask for. Not tool names |
layers.mcp.prompt | The background agent that calls our tools | How to search: search with num_results 3 and max_highlights 1, and the filters to use |
The line below belongs in layers.mcp.prompt, where tool names are read:
Use the MillionShort search tool for anything recent, niche, or that needs a source. To reach lesser-known sites, set remove_top_sites (for example 1000). Cite the URLs it returns.
4Check it works
GET /v2/connectors/YOUR_CONNECTOR_ID/preview (Preview Connector Tools) returns our server's own tool list: with a key, search, get_domain_info, list_sources and the tools of the other endpoints (the MCP page lists them); with no key, fewer, search and list_sources among them.
A call reaches the server by a different path from the preview, so also run Runtime Check Connector:
curl -X POST https://tavusapi.com/v2/connectors/YOUR_CONNECTOR_ID/runtime_check \
-H "x-api-key: $TAVUS_API_KEY"ok: true means a conversation can reach our server; ok: false comes with the reason in error.message. In the Developer Portal, Test runtime connection in the connector's Manage tools dialog runs the same check. Then start a conversation and ask a question that needs the web: your client receives a conversation.agent_start event and, with the answer, a conversation.agent_stop event for the same task_id.
MCP configuration
The same address for every client: https://mcp.millionshort.com/mcp, streamable HTTP.
| Mode | How | What the agent gets |
|---|---|---|
| API key | Send Authorization: Bearer ms-YOUR_API_KEY | Every tool, at your plan's limits; calls use your credits |
| No key | Send no Authorization header | search, list_sources and a few more; one source and up to 5 results a search, 10 free searches a day |
Tools
| Tool | What it does | Without a key | Cost |
|---|---|---|---|
search | Searches the web and the specialist sources, with the popularity, domain, page-type, topic, site and date filters | Yes: one source, up to 5 results | 1 credit per source searched, first 10 results |
get_domain_info | Popularity and risk for up to 25 sites | No | 1 credit |
list_sources | The sources, page types and topics search accepts | Yes: source names | Free |
| The tools of the other endpoints | extract, map, crawl, places and more: the MCP page lists them | A few, such as places | What the API call behind each costs |
Settings
| Field | Meaning |
|---|---|
auth_config | On the connector: api_key with name Authorization and value Bearer ms-YOUR_API_KEY. Leave it out for the no-key mode |
layers.mcp.connector_tools | On the PAL: the tools it may call, by connector ID, for example only search |
layers.mcp.prompt | On the PAL: how the background agent should search. Up to 10,000 characters |
layers.mcp.spoken_updates | On the PAL: outcome (the default) speaks the result once; all also speaks updates while a task runs; none says nothing unless asked |
Costs and limits
A tool call costs what the API call behind it costs: 1 credit per source searched for the first 10 results, 1 credit for a domain lookup, nothing for the list of sources, the price of the endpoint for the other tools, and nothing at all in the no-key mode. An agent that loops can make many calls: give it a step limit, and ask for fewer results when a few will do. Credits and limits has the numbers.
Tavus allows 10 connectors a PAL, 5 tasks running at once in a conversation, and 120 seconds a task.
When it fails
| What you see | Why | Fix |
|---|---|---|
| The server does not connect, or no tools are listed | The address or the transport is not the one the server speaks | Use exactly https://mcp.millionshort.com/mcp and the streamable HTTP transport (often called http), not SSE |
401 or "unauthorized" | The key is wrong, or it was sent without Bearer | Send Authorization: Bearer ms-..., or leave the header out to use the no-key mode |
| "10 free searches a day without a key" | The no-key mode's daily searches are used up | Add a key: it is free in the dashboard |
INSUFFICIENT_CREDITS | The plan's credits are used up | Stop and add credits; retrying does not help |
| The agent answers from memory, or uses another search | Nothing told it when to use this one | Turn off its own search where it can be (this page says how), and add the line for its instructions |
| The preview works, but a conversation cannot reach the server | A call takes a different path from the preview | Run Runtime Check Connector and read error.message |
| The PAL says to ask again in a moment | Five tasks were already running in the conversation | Ask for one search at a time in the PAL's system_prompt |
| The PAL never hands off a search | Its system_prompt does not say when to | Say when to delegate in system_prompt, and how to search in layers.mcp.prompt |
A connector_tools patch is rejected | An empty list is not allowed | List at least one tool, or detach the connector |
Related
- ElevenLabs Agents, Vapi and LiveKit Agents: the same server in other voice agents.
- Agent tool use: when to give a model tools, and what to tell it.
- MCP server and Filters for agents.
- Tavus' own documentation, read on 2026-11-19: MCP Connectors, Create Connector, Patch PAL.