pmind-veo-mcp
Enables video generation from text prompts and image-to-video using Google Veo AI models via the Gemini API.
README
PMIND Veo MCP Server
⚠️ Experimental: This MCP server is in an experimental state and may have rough edges. Please report any issues you encounter.
A Python implementation of an MCP (Model Context Protocol) server using FastMCP that provides tools for generating videos with Google's Veo AI models through the Gemini API. This server uses a subprocess-based architecture for reliable long-running video generation tasks with the official google-genai Python SDK.
🎯 Features
Core Capabilities
- Video Generation: Generate videos from text prompts using Veo models
- Image-to-Video: Animate images with Veo 3 models
- Fast Generation: Veo 3 Fast model for speed-optimized video creation
- Subprocess Architecture: Non-blocking video generation with isolated subprocess handling
- Progress Tracking: Real-time status updates via state file monitoring
- Video Downloads: Download completed videos using the official google-genai SDK
- Multiple Generations: Track and manage multiple concurrent video generations
- Process Management: Graceful cancellation and cleanup of generation processes
Installation & Setup
Step 1: Clone the Repository
git clone https://github.com/yourusername/pmind-veo-mcp.git
cd pmind-veo-mcp
Step 2: Install Dependencies
# Install dependencies using uv
uv sync
Step 3: Set Up API Key
- Get a Gemini API key from Google AI Studio
- Create a
.envfile in the project root:
cp .env.example .env
- Edit
.envand add your configuration:
# Required: Your Gemini API key for Veo access
GEMINI_API_KEY=your_api_key_here
# Required: Default Veo model to use
# Options: veo-2.0-generate-001, veo-3.0-generate-preview, veo-3.0-fast-generate-preview
VEO_MODEL=veo-3.0-generate-preview
# Optional: Configuration directory (default: ~/.pmind-veo-mcp)
# CONFIG_DIR=/path/to/config
Step 4: Configure with Your Client
Add the MCP server to your client's MCP configuration:
{
"mcpServers": {
"pmind-veo": {
"command": "uv",
"args": ["run", "--directory", "/path/to/pmind-veo-mcp", "pmind-veo-mcp"]
}
}
}
Configuration
Required Environment Variables
GEMINI_API_KEY: Your Gemini API key with video generation accessVEO_MODEL: Default model (must be full API name):veo-2.0-generate-001for Veo 2veo-3.0-generate-previewfor Veo 3veo-3.0-fast-generate-previewfor Veo 3 Fast (speed-optimized)
Optional Environment Variables
CONFIG_DIR: Directory for state files and downloads (default:~/.pmind-veo-mcp)
MCP Tools Reference
veo_generate_video- Start video generation with a text promptveo_check_generation- Check the status of a video generationveo_download_video- Download a completed videoveo_list_sessions- List all video generation sessionsveo_cleanup_sessions- Clean up old generation sessions
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.