Skip to content

[Feature Request] google_genai, google_adk: run MCP through temporalio-mcp #440

Open

Description

@campoy

Packages: temporalio-google-genai and temporalio-google-adk on main.

Is your feature request related to a problem? Please describe.

OpenAI Agents and Strands run their MCP Activities on temporalio-mcp (python/mcp), so a fix there reaches all three packages. Recent examples are the lost-session retry (#379), the protocol errors wrapped in an ExceptionGroup (#411, #433), and the factory type check for #320.

Google GenAI and Google ADK each have their own MCP code instead:

So each MCP fix has to land up to three times, and the copies drift. For example, neither Google plugin checks what its factory returns, which is the gap #320 fixes for the other two. I haven't run that case for these plugins.

Describe the solution you'd like

Consider moving both plugins' MCP support onto temporalio-mcp, the way #190 did for Strands. The worker registers mcp.Client factories, and the workflow-side tool or session calls the shared Activities. For Google GenAI this would also resolve #415, since temporalio-mcp uses MCP SDK v2.

Describe alternatives you've considered

Keep the separate code and port each temporalio-mcp fix by hand.

Additional context

Things to check before starting:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions