KosmoKrator

ai

Google Gemini MCP, CLI, and Lua Integration for AI Agents

Google Gemini integration docs for AI agents: MCP gateway setup, Google Gemini CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write API key auth

Google Gemini for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
google-gemini
route_slug
google-gemini
package
google-gemini
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Google Gemini MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Google Gemini.

Google Gemini CLI Matrix

Use these pages for direct Google Gemini CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
google-gemini.gemini_list_models Read read 2 List available Gemini AI models. Returns model names, display names, supported generation methods, and other metadata.
google-gemini.gemini_get_model Read read 1 Get detailed information about a specific Gemini model, including supported generation methods, input/output token limits, and capabilities.
google-gemini.gemini_generate_content Write write 5 Generate content using a Gemini model. Send text prompts and receive AI-generated responses. Supports configurable generation parameters like temperature, topP, and maxOutputTokens.
google-gemini.gemini_list_files Read read 2 List files uploaded to the Gemini File API. Returns file names, MIME types, sizes, and states.
google-gemini.gemini_get_file Read read 1 Get metadata for an uploaded file in the Gemini File API, including its name, display name, MIME type, size, and processing state.
google-gemini.gemini_list_tuned_models Read read 2 List tuned (fine-tuned) Gemini models in your project. Returns model names, base models, tuning tasks, and display names.
google-gemini.gemini_get_current_user Read read 0 Get information about the currently authenticated Google user, including permissions and account details.