Skip to content
Discussion options

You must be logged in to vote

@Priyanshu-NorthAstra

Thank you for your question regarding the integration of multiple MCP servers in Google's Agent Development Kit (ADK). I can confirm that it is indeed possible to use multiple MCP servers simultaneously within a single agent configuration.

Solution Overview

The ADK's architecture supports multiple MCP server integration through the tools parameter in the LlmAgent configuration, which accepts a list of MCPToolset instances. Each MCPToolset corresponds to an individual MCP server connection.

Working Implementation

Here's a verified working example demonstrating the integration of two MCP servers:

import os
from google.adk.agents import LlmAgent
from google.adk.tools.mc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Yash-Kavaiya
Comment options

Answer selected by sanketpatil06
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants