MCP Video Generation with Veo2

by mario-andreschak

33 stars
550 downloads
Not rated
GitHub

About

MCP for Video- or Image-Generation with Google VEO2

Details

Author
mario-andreschak
GitHub stars
33
Downloads
550
Categories
Media, AI

- Generate videos from text prompts
- Generate videos from images
- Access generated videos through MCP resources
- Supports both stdio and SSE transports
- Configurable resolution and duration (5-8 seconds)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Video Generation with Veo2
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node.js 18+ and obtain a Google API key with Veo2/Gemini access. Clone the repo, install dependencies (npm install), create a .env file with your GOOGLE_API_KEY, then build (npm run build). Start the server with npm start for stdio transport or npm start sse for SSE (port 3000). Use the exposed MCP tools generateVideoFromText, generateVideoFromImage, and listGeneratedVideos.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp video generation with veo2": {
            "mcp-veo2": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@mario-andreschak/mcp-veo2",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-veo2": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@mario-andreschak/mcp-veo2",
            "--client",
            "claude"
        ]
    }
}

MCP Video Generation with Veo2

smithery badge

This project implements a Model Context Protocol (MCP) server that exposes Google's Veo2 video generation capabilities. It allows clients to generate videos from text prompts or images, and access the generated videos through MCP resources.

<a href="https://glama.ai/mcp/servers/@mario-andreschak/mcp-veo2">
Video Generation with Veo2 MCP server
</a>

Features

- Generate videos from text prompts
- Generate videos from images
- Access generated videos through MCP resources
- Example video generation templates
- Support for both stdio and SSE transports

Example Images

1dec9c71-07dc-4a6e-9e17-8da355d72ba1

Example Image to Video

Image to Video - from Grok generated puppy

Image to Video - from real cat

Prerequisites

- Node.js 18 or higher
- Google API key with access to Gemini API and Veo2 model (= You need to set up a credit card with your API key! -> Go to aistudio.google.com )

Installation

Installing in FLUJO

1. Click Add Server 2. Copy & Paste Github URL into FLUJO 3. Click Parse, Clone, Install, Build and Save.

Installing via Smithery

To install mcp-video-generation-veo2 for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mario-andreschak/mcp-veo2 --client claude

Manual Installation

1. Clone the repository:
   git clone https://github.com/yourusername/mcp-video-generation-veo2.git
   cd mcp-video-generation-veo2
   

2. Install dependencies:

   npm install

3. Create a .env file with your Google API key:

   cp .env.example .env
# Edit .env and add your Google API key

The .env file supports the following variables:
- GOOGLE_API_KEY: Your Google API key (required)
- PORT: Server port (default: 3000)
- STORAGE_DIR: Directory for storing generated videos (default: ./generated-videos)
- LOG_LEVEL: Logging level (default: fatal)
- Available levels: verbose, debug, info, warn, error, fatal, none
- For development, set to debug or info for more detailed logs
- For production, keep as fatal to minimize console output

4. Build the project:

   npm run build

Usage

Starting the Server

You can start the server with either stdio or SSE transport:

stdio Transport (Default)

```bash
npm start

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.