Gemini

Gemini

Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation, chat completions, and multimodal AI capabilities via the Google Gemini API.

4VIEWS
2525USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app gemininpx @composio/cli add cursor --app gemininpx @composio/cli add cursor --app gemininpx @composio/cli add cursor --app gemini

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Count Tokens (gemini)

Counts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.

Download Video (veo)

Downloads a generated veo video to local storage. takes the video uri from a completed operation and saves it to the specified file path.

Embed Content (gemini)

Generates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.

Generate Content (gemini)

Generates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.

Generate Image (gemini 2.5 Flash)

Generates images from text prompts using gemini 2.5 flash image preview model. supports creative image generation with customizable parameters like aspect ratio, safety settings, and optional file saving.

Generate Videos (veo)

Generates videos from text prompts using google's veo models. creates high-quality video content with customizable aspect ratios, duration, and style controls. returns operation id for tracking progress.

Get Videos Operation (veo)

Checks the status of a veo video generation operation. use the operation name from generatevideos to track progress and get the download url when complete.

List Models (gemini Api)

Lists available gemini and veo models with their capabilities and limits. useful for discovering supported models and their features before making generation requests.

Wait For Video (veo)

Polls a veo video generation operation until completion or timeout. automatically checks status at intervals and returns the final video url when ready.

9 actions available