Menu

Integrations / Voice agents

ElevenLabs Agents

MillionShort search for an ElevenLabs voice agent, as a custom MCP server with the key in a header, or as a webhook tool.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

MCPDashboard, Python and TypeScriptNothing of ours to installWorks with no keyChecked 2026-11-19

ElevenLabs agents connect to external MCP servers that you add to the workspace once and then attach to agents. Added that way, the MillionShort server gives the agent its tools (the MCP page lists them). A webhook tool that calls the API is the other route, and the one to use where MCP is not available.

Spoken answers work best with few results: ask for num_results 3 and max_highlights 1, so the model reads short passages rather than long text. Each search also adds a little latency to the turn it runs in.

MCP is off by default in every ElevenLabs workspace, and ElevenLabs does not offer it to workspaces in Zero Retention Mode or with HIPAA compliance turned on.

1Install

Nothing to install for the dashboard steps. For the API form, the ElevenLabs SDK:

Choose one
Shell
pip install elevenlabs
export MILLIONSHORT_API_KEY=ms-YOUR_API_KEY

The SDKs read your ElevenLabs key from ELEVENLABS_API_KEY. Get a MillionShort key in the dashboard.

2Connect the server

In the dashboard:

  1. Open the MCP server integrations dashboard (elevenlabs.io/app/agents/integrations) and click Add Custom MCP Server. The first time anyone in the workspace does this, ElevenLabs asks you to accept its MCP server terms, which turns MCP on for the whole workspace.
  2. Name: MillionShort.
  3. Description: Web search, including sites beyond the most popular ones.
  4. Server URL: https://mcp.millionshort.com/mcp.
  5. HTTP Headers: add Authorization with the value Bearer ms-YOUR_API_KEY. Leave it out for the no-key mode.
  6. Click Add Integration. ElevenLabs saves the server, tests the connection and lists its tools.

ElevenLabs describes the optional Secret Token field only as "Authorization header value" and does not say whether it adds Bearer itself, so these steps use HTTP Headers, where the value is sent as written.

Or with the API: create the server, then attach it to an agent. Set transport to STREAMABLE_HTTP, as below, because the API's default is SSE.

Choose one
Python
import os

from elevenlabs import ElevenLabs

elevenlabs = ElevenLabs()

server = elevenlabs.conversational_ai.mcp_servers.create(
    config={
        "url": "https://mcp.millionshort.com/mcp",
        "name": "MillionShort",
        "description": "Web search, including sites beyond the most popular ones",
        "transport": "STREAMABLE_HTTP",
        "approval_policy": "auto_approve_all",
        "request_headers": {"Authorization": f"Bearer {os.environ['MILLIONSHORT_API_KEY']}"},
    },
)
elevenlabs.conversational_ai.agents.update(
    agent_id="YOUR_AGENT_ID",
    conversation_config={"agent": {"prompt": {"mcp_server_ids": [server.id]}}},
)

auto_approve_all lets every tool of the server run without asking, crawl, crawl_cancel and create_space included; step 2 below says how to keep approval on those three.

A header value can also be a reference to a workspace secret, {"secret_id": "..."}, in place of the plain string. To turn MCP on for the workspace from code, call conversational_ai.settings.update(can_use_mcp_servers=True).

3Give the tools to an agent

  1. Open your agent and add the MillionShort MCP server to it (the API form above has already done this).
  2. Pick an approval mode. Most of the tools only read; crawl spends credits, crawl_cancel stops a crawl and create_space saves a Space. With Fine-Grained Tool Approval you can set each tool to Auto-approved or Disabled: auto-approve the read-only tools and keep approval on those three, or offer only search. The default, Always Ask, asks before every call.
  3. In the agent's system prompt, say when to search and how to answer:

Use the MillionShort search tool for anything recent, niche, or that needs a source, with num_results 3 and max_highlights 1. Answer in two or three short sentences and name the site you used.

4Check it works

After Add Integration, the server's page lists its tools: 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. Then talk to the agent and ask a question that needs the web: the answer should name pages it found.

If the agent answers from memory, add this line to its system prompt:

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.

Without MCP: a webhook tool

A webhook tool calls POST /v1/search directly and fixes the result count, so the agent cannot ask for more than a spoken answer needs.

In the dashboard, in the Agent section of the agent's settings, choose Add Tool, then Webhook as the tool type:

  1. Name: millionshort_search.
  2. Description: Search the web for current or niche information. Returns titles, links and short passages.
  3. Method: POST. URL: https://api.millionshort.com/v1/search.
  4. Add a header Authorization, choose Secret as its type, click Create New Secret and store the whole value, Bearer ms-YOUR_API_KEY.
  5. Add a body parameter: data type string, identifier query, value type LLM Prompt, description What to search for.

The dashboard pages we read do not show how to set a fixed body value, so the dashboard tool leaves num_results at the API's default. The API form sets fixed values with constant_value:

Python
import os

from elevenlabs import ElevenLabs, ToolRequestModel

elevenlabs = ElevenLabs()

tool = elevenlabs.conversational_ai.tools.create(
    request=ToolRequestModel(
        tool_config={
            "type": "webhook",
            "name": "millionshort_search",
            "description": "Search the web for current or niche information. Returns titles, links and short passages.",
            "api_schema": {
                "url": "https://api.millionshort.com/v1/search",
                "method": "POST",
                "request_headers": {"Authorization": f"Bearer {os.environ['MILLIONSHORT_API_KEY']}"},
                "request_body_schema": {
                    "type": "object",
                    "required": ["query"],
                    "properties": {
                        "query": {"type": "string", "description": "What to search for"},
                        "num_results": {"type": "integer", "constant_value": 3},
                        "max_highlights": {"type": "integer", "constant_value": 1},
                        "remove_top_sites": {"type": "integer", "constant_value": 1000},
                    },
                },
            },
        }
    )
)
elevenlabs.conversational_ai.agents.update(
    agent_id="YOUR_AGENT_ID",
    conversation_config={"agent": {"prompt": {"tool_ids": [tool.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

VariableMeaning
MILLIONSHORT_API_KEYYour key, read by the API examples above. In the dashboard, type it into the header value. Leave the header out for the no-key mode

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.

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
You cannot add an MCP serverMCP is off for the workspace, or the workspace is in Zero Retention Mode or HIPAA modeAccept the MCP server terms in the dashboard, or use the webhook tool
The server added with the API lists no toolsThe API connects over SSE unless told otherwiseSet transport to STREAMABLE_HTTP
The agent asks for permission before each searchThe approval mode is Always Ask, the defaultChoose No Approval, or auto-approve search with Fine-Grained Tool Approval
Long pauses before spoken answersMany results or long text for the model to readAsk for num_results 3 and max_highlights 1, or use the webhook tool with fixed values

This page as Markdown ยท llms.txt