Get prompts list from MCP server
After reading the docs I understand that there isn't a way to get the list of exposed interactive templates (prompts) from an MCP server. It would be awesome if there was a way to do that
Requesting clarification: So are you looking to keep track of all the prompts that were routed to a specific MCP server?
Not really. As stated in https://google.github.io/adk-docs/mcp "MCP follows a client-server architecture, defining how data (resources), interactive templates (prompts), and actionable functions (tools) are exposed by an MCP serve...". So as ADK currenlty gives me the ability to use the tools exposed by my MCP server, I was looking for a way to get and use the prompts exposed by the MCP server.
Agent.instruction could take an async function in the upcoming release (currently already in repo head). In the callback, you could request the prompt from an MCP server and construct the final instruction for the agent.
so far , ADK only have built-in support for MCP tools.
Agent.instructioncould take an async function in the upcoming release (currently already in repo head). In the callback, you could request the prompt from an MCP server and construct the final instruction for the agent.
Hi @Jacksunwei , do we have any timeline when we will have this feature?
Any updates on this please?
Please use the main issue to track. Close this for now.
Support for MCP prompts through the McpInstructionProvider class has been added and will be released next week
Support for MCP prompts through the
McpInstructionProviderclass has been added and will be released next week
It's 3 week, when it will be released @wukath ?