Python MCP Server Updated for MCP SDK 2.x and Google Gemini Interactions API

A Python MCP server powering Google's Nano Banana 2 Lite image model has been updated to run inside Kiro CLI 3, requiring two key dependency upgrades. The MCP Python SDK was migrated from FastMCP to MCPServer under version 2.x, while google-genai was bumped to version 2.0 or higher to support the new Interactions API schema. Google removed the legacy API schema on June 8, 2026, meaning servers still on google-genai 1.x silently fail during image generation. The update also involved adjusting Kiro-specific configuration for server registration, permission rules, and skill discovery. A new integration test was added to catch SDK version mismatches early by validating against the live steps-schema response format.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in