Skip to content
Discussion options

You must be logged in to vote

Response from ADK Answering Agent (experimental, answer may be inaccurate)

TLDR: While there isn't a specific "pre-warming" feature for MCP connections in the ADK, you can significantly reduce session startup time by using remote MCP servers (via SSE or Streamable HTTP) instead of local stdio servers. The MCPSessionManager also includes session pooling to reuse existing connections, which helps minimize overhead.


Hello! I see you're looking for ways to minimize MCP session startup time for your real-time AI assistant. That's a great question, as low latency is crucial for a good user experience.

Based on the ADK documentation, here are some recommendations and insights that might help:

1…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by boyangsvl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bot responded [Bot] This issue is responded by ADK bot
2 participants