Breaking Changes π¨
- Tool names simplified:
geminiChat β chat
geminiAnalyzeFile β analyzeFile
- Package name changed:
@choplin/mcp-gemini-cli β mcp-gemini-cli
New Features β¨
- analyzeFile tool: Analyze files using Gemini's multimodal capabilities
- Images: PNG, JPG, JPEG, GIF, WEBP, SVG, BMP
- Text: TXT, MD, TEXT
- Documents: PDF
Migration Guide
Update your tool calls:
// Before
geminiChat({ prompt: "Hello" });
geminiAnalyzeFile({ filePath: "/path/to/file.png" });
// After
chat({ prompt: "Hello" });
analyzeFile({ filePath: "/path/to/file.png" });
Update your MCP configuration:
{
"mcpServers": {
"mcp-gemini-cli": {
"command": "npx",
"args": ["mcp-gemini-cli", "--allow-npx"]
}
}
}