Menu

Integrations / Voice agents

Vapi

MillionShort search for a Vapi voice assistant, as an MCP tool with the key in a header, from the dashboard or the API.

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

MCPDashboard and APINothing of ours to installWorks with no keyChecked 2026-11-19

A Vapi MCP tool points an assistant at one MCP server. When a call or chat starts, Vapi asks the MillionShort server for its tools and gives them to the model: search, get_domain_info, list_sources and the tools of the other endpoints, such as extract, places, map and crawl (the MCP page lists them all). Every tool call then opens its own short session with the server.

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. Vapi passes the whole result to the model without shortening it. Each search also adds a little latency to the turn it runs in.

1Connect the server

In the Vapi dashboard:

  1. Go to Tools, click Create Tool, and select MCP.
  2. Under Tool Settings, enter a Tool Name (MillionShort) and a Description (Web search). These only identify the tool for you; the model sees the server's own tools.
  3. Under Server Settings, set Server URL to https://mcp.millionshort.com/mcp. Leave Timeout at 20 seconds.
  4. Under HTTP Headers, add Authorization with the value Bearer ms-YOUR_API_KEY. Leave it out for the no-key mode. Or select a saved Bearer token credential under Authorization, so the key is not in the tool itself.
  5. Under Messages, click Add Message and set what the caller hears while a search runs, for example "Let me look that up."
  6. Under MCP Settings, keep Streamable HTTP selected.
  7. Save. Vapi asks the server for its tools and lists them under Available Tools.

2Or create it with the API

Only type and server.url are required. The key goes in server.headers, or a saved credential's ID goes in server.credentialId:

Shell
curl -X POST https://api.vapi.ai/tool \
  -H "Authorization: Bearer $VAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "mcp",
    "server": {
      "url": "https://mcp.millionshort.com/mcp",
      "timeoutSeconds": 20,
      "headers": { "Authorization": "Bearer ms-YOUR_API_KEY" }
    },
    "metadata": { "protocol": "shttp" },
    "messages": [{ "type": "request-start", "content": "Let me look that up." }]
  }'

Here VAPI_API_KEY is your Vapi private key. Creating the tool does not contact our server; the first request comes when a call or chat uses it. The answer carries the tool's id.

3Give the tools to an assistant

Open your assistant, add the MCP tool to its tools, and publish. With the API, put the tool's ID in the assistant's model.toolIds:

JSON
{
  "model": {
    "provider": "openai",
    "model": "gpt-4.1",
    "toolIds": ["YOUR_MCP_TOOL_ID"]
  }
}

Vapi puts the main part of the server's domain in front of each tool name, so the model sees millionshort-search, millionshort-get_domain_info, millionshort-list_sources and so on. Use those names in the system prompt:

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.

Vapi has no setting to offer only some of a server's tools, so the assistant gets every tool of the server (fewer in the no-key mode).

4Check it works

After you save, Available Tools lists the server's 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. If the list is empty, check the URL and the header, save again and click refresh.

Then place a test call and ask a question that needs the web. On the call's page, Messages shows a tool_calls message for millionshort-search, followed by a tool_call_result message with what our server returned.

If the assistant 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.

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
server.headersAuthorization: Bearer ms-YOUR_API_KEY. Leave it out for the no-key mode
server.credentialIdA saved Bearer token credential, in place of the header. A header named Authorization wins over the credential
server.timeoutSecondsHow long Vapi waits for each request to the server. The default, 20, is enough for a search

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
Available Tools stays empty, or the assistant says it cannot searchThe tool list request failed when the call started; Vapi's call logs do not show thisCheck the URL, metadata.protocol and the header. Do not put a Vapi variable in the Authorization header: variables are not filled in for the tool list
A search fails with a connection errorThe URL or protocol is wrong, or the request took longer than the timeoutUse https://mcp.millionshort.com/mcp with shttp, and raise server.timeoutSeconds
The caller hears "Give me a moment" before each searchVapi's default phrase plays when no request-start message is setSet a request-start message
Long pauses before spoken answersMany results or long text for the model to readAsk for num_results 3 and max_highlights 1 in the system prompt

This page as Markdown ยท llms.txt