genrelay-mcp is an MCP (Model Context Protocol) server for generating videos and images in MCP-capable clients. It connects GenRelay's generation capabilities to Claude Desktop, Cursor, or other MCP clients, letting users initiate image or video generation requests directly in a conversational environment.
Purpose and model support The server provides unified access to multiple generation models: on the video side, Veo 3.1, Grok Imagine, and Omni Flash; on the image side, Nano Banana Pro, Nano Banana 2, and GPT Image 2. Users do not need to integrate with each model provider separately; they can call them all through the same MCP server.
How to use The project documentation states that no installation is required; npx lets the MCP client start the server. Claude Desktop is configured via claude_desktop_config.json, and Cursor via .cursor/mcp.json; the client must be restarted after changing the configuration. Before use, you need to register at genrelay.ai and create an API Key, then set it as the environment variable GENRELAY_API_KEY. Any MCP client that can start a stdio server with npx -y genrelay-mcp can use it.
Main capabilities and call characteristics Video generation usually takes 1 to 5 minutes, exceeding the allowed duration of a single MCP tool call. Therefore generate_video waits within a safe time limit and then returns a job ID; this is a normal result, not a failure, and the job continues running on the server. You should use check_job to query progress and not resubmit, because duplicate submissions are billed again. Image generation usually completes within the time limit and returns the result directly.
Resolution and billing Images offer 1k, 2k, and 4k tiers, and Veo videos offer 720p, 1080p, and 4k tiers. Billing differs by tier; if the size does not match any tier, it falls back to the model's base rate, so you should explicitly set the tier when cost-sensitive. Billing is via prepaid USD credits, pay-as-you-go.
SDK and compatibility The project provides a Python SDK (pip install genrelay) and a JavaScript/TypeScript SDK (npm install genrelay). The chat and image editing interfaces are compatible with the OpenAI format, and the official openai package can be pointed at https://genrelay.ai/v1 for use. The project has been published on npm and the official MCP Registry under the identifier io.github.gaoruitech/genrelay-mcp.
Use cases and limitations It is suitable for users who already work in Claude Desktop or Cursor and want to generate images and videos directly via MCP. Note: video jobs are asynchronous and must be queried by job ID; duplicate submissions incur extra charges; a GenRelay account and API Key are required before use; specific prices and quotas are subject to the official pricing page, as the material does not provide a detailed price list.