The GitHub Actions job "Tests (AMD)" on 
airflow.git/commonai-mcp-toolset-migration has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
7e37a3e6b80477c5df2587c6b492e7de0a093bfc / Kaxil Naik <[email protected]>
Replace deprecated pydantic-ai MCP server classes with MCPToolset in common.ai

pydantic-ai deprecated MCPServerStdio, MCPServerSSE, and MCPServerStreamableHTTP
in favor of a unified MCPToolset (all three are removed in pydantic-ai v2). The
common.ai MCPHook constructed all three, so it emitted DeprecationWarnings and
would break on the v2 upgrade.

Build an MCPToolset over the matching FastMCP transport instead:

- http  -> MCPToolset(StreamableHttpTransport(host, headers=...))
- sse   -> MCPToolset(SSETransport(host, headers=...))
- stdio -> MCPToolset(StdioTransport(command=..., args=...), init_timeout=...)

Transports are built explicitly rather than relying on FastMCP's URL inference,
so the connection's explicit 'transport' field is honored (inference only picks
SSE for URLs ending in /sse) and the Authorization header is preserved.

MCPToolset has no tool_prefix argument, so the prefix is applied via
.prefixed(), matching pydantic-ai's own load_mcp_toolsets and producing the same
'<prefix>_<tool>' names as before.

Report URL: https://github.com/apache/airflow/actions/runs/28210729943

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to