This article details an update process for a Python-based MCP server designed to interact with Google's Nano Banana 2 Lite (Gemini 3.1 Flash-Lite Image) via the Gemini Interactions API. The update was necessitated by changes in the google-genai Python SDK, which moved to version 2.x and altered the API's schema. The author explains how to adapt the server code to accommodate these changes, ensuring compatibility with Claude Code, Codex, and Antigravity CLI. AI
IMPACT Developers using the Gemini Interactions API may need to update their google-genai SDK to version 2.x to maintain compatibility.
RANK_REASON The article describes an update to a specific tool (MCP server) to maintain compatibility with an API (Gemini Interactions API) due to SDK changes.
Read on dev.to — Claude Code tag →
- Antigravity CLI
- Claude Code
- codex
- Gemini 3.1 Flash-Lite Image
- Gemini API
- Google GenAI
- Interactions API
- MCP 2.0
- Nano Banana 2 Lite
- Python
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →