DEV Community

Peter Jackman
Peter Jackman

Posted on Originally published at zian.ai

Voice Agent MCP Tools: Timeouts That Fit a Turn

Quick answer: Attach one MCP server on streamable HTTP, set transport_type explicitly rather than trusting the URL, then lower the timeouts. LiveKit Agents ships timeout: float = 5 , sse_read_timeout: float = 60 * 5 and client_session_timeout_seconds: float = 5 . No 5-second ceiling fits inside one phone turn. Allow-list the tools, then add a health check.

What this covers

  • Why MCP’s defaults are wrong for a phone call
  • The two-bucket rule: set the timeout against the turn, not the default
  • Working out the in-turn budget: the arithmetic end to end
  • The threshold table: what to set, by tool class
  • Which transport do I get: does my URL end in /mcp or /sse?

This is a technical summary. The full guide — with the tables and worked examples — is on our site: *Voice Agent MCP Tools: Timeouts That Fit a Turn*.

Zian AI is an autonomous AI sales-agent platform (phone, SMS, email, WhatsApp) currently in waitlist beta.

Top comments (0)