Skip to content

Get prompts list from MCP server #684

Closed
Closed

Description

@amedeorizzo

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

Activity

  1. ankursharmas commented on May 12, 2025

    @ankursharmas
    Collaborator

    Requesting clarification: So are you looking to keep track of all the prompts that were routed to a specific MCP server?

  2. self-assigned this
    on May 12, 2025
  3. amedeorizzo commented on May 13, 2025

    @amedeorizzo
    Author

    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.

  4. Jacksunwei commented on May 13, 2025

    @Jacksunwei
    Collaborator

    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.

  5. seanzhou1023 commented on May 14, 2025

    @seanzhou1023
    Collaborator

    so far , ADK only have built-in support for MCP tools.

  6. added
    core
    on Jun 6, 2025
  7. added
    mcp
    on Aug 21, 2025
  8. deepakbatham572 commented on Sep 27, 2025

    @deepakbatham572

    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.

    Hi @Jacksunwei , do we have any timeline when we will have this feature?

  9. self-assigned this
    on Oct 14, 2025
  10. added
    models
    on Oct 14, 2025
  11. murtaza-motorwala commented on Oct 24, 2025

    @murtaza-motorwala

    Any updates on this please?

  12. hangfei commented on Nov 8, 2025

    @hangfei
    Collaborator

    Please use the main issue to track. Close this for now.

  13. wukath commented on Nov 10, 2025

    @wukath
    Collaborator

    Support for MCP prompts through the McpInstructionProvider class has been added and will be released next week

  14. deepakbatham572 commented on Dec 2, 2025

    @deepakbatham572

    Support for MCP prompts through the McpInstructionProvider class has been added and will be released next week

    It's 3 week, when it will be released @wukath ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

coremcpmodels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions