MCP tools
Overview
MCP (the Model Context Protocol) is how an LLM agent finds out which tools exist and calls them. The agent connects to an MCP server when a session starts, lists its tools, hands them to the model, and runs the call when the model asks for one. You add tools without changing the agent code: point a tool source at a server and the tools show up.
There are two kinds of source. A project service is a server you build and run next to your agent. An external server is one somebody else runs, reached over https. Both are configured in the LLM tab and end up in toolSources in voicethere.llm.json.
Project service
A TypeScript MCP server packaged as the project serviceof a project. It runs in your project's own container, so it can reach project Redis and your project secrets and needs no public address. The llm-mcp-service template is a working starting point: a small server with one tool, a Dockerfile, and the matching kind: "service" tool source. The default path is /mcp.
{
"toolSources": [
{ "kind": "service", "path": "/mcp", "deny": ["admin_reset"] }
]
}External MCP servers
Any MCP server that speaks Streamable HTTP over https. Give the source a name and a URL, and pick how the agent authenticates.
nonefor a public server.bearerwith the name of a project secret. The agent sendsAuthorization: Bearer <value>.headersfor servers that want other headers. Each value is the name of a project secret.
Secret names start with AGENT_, because only those secrets reach the agent. Use allow to expose only the listed tools and deny to remove tools. A tool on both lists is removed. After you publish and start a test chat, the LLM tab lists the tools each source offered, with a switch per tool that edits those lists for you. Field-level help is on the LLM agents page.
The VoiceThere MCP server
VoiceThere runs an MCP server of its own that you can use as an external source, for example to let a website assistant answer questions about plans and prices. It is at https://app.voicethere.io/api/mcp (the host of your dashboard) and answers Streamable HTTP in stateless mode.
It returns public data only, the same plans and prices as the pricing page, so any valid VoiceThere API key gets the same answer and no tenant data is involved. An invalid or revoked key gets a 401.
list_planstakes no input and lists every public plan with its id, name, monthly price and included monthly credits.get_plan_pricetakesplan, a plan id fromlist_plans, and returns that plan's price and credits. An unknown id gets a short text answer that points back tolist_plans.
Store an API key as the project secret AGENT_VOICETHERE_API_KEY, then add the source.
{
"toolSources": [
{
"kind": "mcp",
"name": "voicethere",
"url": "https://app.voicethere.io/api/mcp",
"auth": { "type": "bearer", "secret": "AGENT_VOICETHERE_API_KEY" }
}
]
}Limits
- The VoiceThere server answers each request within 10 seconds.
- 60 requests per minute for each API key; the next one gets a 429.
- Request bodies up to 64 KB.
Only POST is accepted; GET and DELETE answer 405. For the limits that apply to tool calls from the agent (timeouts, rounds, result size), see LLM agents.