Menu

Integrations / Voice agents

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:

Shell
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).

JSON
{
  "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:

Shell
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.

Two prompts are read by two different models:

PromptRead byPut here
The PAL's system_promptThe PAL holding the conversationWhen to hand off a search, and what to ask for. Not tool names
layers.mcp.promptThe background agent that calls our toolsHow 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:

Shell
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.

ModeHowWhat the agent gets
API keySend Authorization: Bearer ms-YOUR_API_KEYEvery tool, at your plan's limits; calls use your credits
No keySend no Authorization headersearch, list_sources and a few more; one source and up to 5 results a search, 10 free searches a day

Tools

ToolWhat it doesWithout a keyCost
searchSearches the web and the specialist sources, with the popularity, domain, page-type, topic, site and date filtersYes: one source, up to 5 results1 credit per source searched, first 10 results
get_domain_infoPopularity and risk for up to 25 sitesNo1 credit
list_sourcesThe sources, page types and topics search acceptsYes: source namesFree
The tools of the other endpointsextract, map, crawl, places and more: the MCP page lists themA few, such as placesWhat the API call behind each costs

Settings

FieldMeaning
auth_configOn 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_toolsOn the PAL: the tools it may call, by connector ID, for example only search
layers.mcp.promptOn the PAL: how the background agent should search. Up to 10,000 characters
layers.mcp.spoken_updatesOn 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 seeWhyFix
The server does not connect, or no tools are listedThe address or the transport is not the one the server speaksUse 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 upAdd a key: it is free in the dashboard
INSUFFICIENT_CREDITSThe plan's credits are used upStop and add credits; retrying does not help
The agent answers from memory, or uses another searchNothing told it when to use this oneTurn 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 serverA call takes a different path from the previewRun Runtime Check Connector and read error.message
The PAL says to ask again in a momentFive tasks were already running in the conversationAsk for one search at a time in the PAL's system_prompt
The PAL never hands off a searchIts system_prompt does not say when toSay when to delegate in system_prompt, and how to search in layers.mcp.prompt
A connector_tools patch is rejectedAn empty list is not allowedList at least one tool, or detach the connector

This page as Markdown ยท llms.txt