little-traffic-72206
07/14/2025, 1:41 PMtall-airline-16756
07/14/2025, 1:41 PMtall-airline-16756
07/14/2025, 1:42 PMMCPServerHTTP
or MCPServerStdio
for various connection types.
• Here’s a basic example using an agent session with MCP and OpenAI Realtime:`session = AgentSession(
# other arguments like vad, stt, tts ...
mcp_servers=[
mcp.MCPServerHTTP("https://your-mcp-server.com"),
],
)`
• Tools exposed by your MCP server are automatically available to the agent as callable tools during conversation.
While formal documentation for MCP integration is still being developed, the feature is implemented and working examples are available in the sources.
Sources: livekit-agents/livekit/agents/llm/mcp.py | Tool definition and use | LiveKit Docs | Using MCP with LiveKit Agents