multimodal-mcp

One MCP server for media generation and media understanding across OpenAI, Gemini, MiniMax, Volcengine Ark, DeepSeek, self-hosted vLLM and vLLM-Omni deployments, multi-provider gateways and more. It covers reference-guided and masked image generation and editing (image), text, frame and multimodal-reference video generation (video), speech synthesis, zero-shot voice cloning, voice design and timed speech (tts), timed and speaker-labeled speech recognition (asr), text and layout recognition in documents and images (ocr), background multimodal sub-agents (omni) and structured decisions (decision).
- Capability-gated tools and model selection: Declare providers, models and capabilities in TOML; the server registers only tools backed by a configured model, scopes each tool's
model enum to capable models, and validates call-specific requirements (references, masks, first and last frames, reference video and audio, voice samples, timestamps, speakers, hotwords) before sending a request.
- Model-specific prompt and API guides:
get_model_guide pairs endpoint and model parameter rules with per-family official vendor prompt guides fetched from upstream on demand and indexed to the exact sections for the task; with the companion multimodal skill, agents check guides before drafting prompts, inspect generated images, video frames, transcripts and OCR pages afterward, and make at most one targeted repair call.
- Background omni sub-agents: Built on Pydantic AI, omni agents give text-only coding harnesses asynchronous background inspection of images, audio and video with native image and audio inputs,
ffmpeg/ffprobe, and transcription tools.
Installation
The server requires Python 3.12 or later and runs over stdio:
uvx multimodal-mcp
or install it with pip install multimodal-mcp and run multimodal-mcp. For the development version, run uvx --from git+https://github.com/Vigilans/multimodal-mcp multimodal-mcp.
Register it with your MCP client as a stdio server named multimodal, for example:
{
"mcpServers": {
"multimodal": {
"command": "uvx",
"args": ["multimodal-mcp", "--config", "/home/me/.agents/mcp/multimodal/config.toml"]
}
}
}
Install the companion multimodal skill (-g installs it globally):
npx skills add Vigilans/multimodal-mcp -s multimodal
Claude Code, Codex, OpenCode and Pi can install the server and the skill together as the multimodal plugin from this repository:
claude plugin marketplace add Vigilans/multimodal-mcp
claude plugin install multimodal@multimodal-mcp
codex plugin marketplace add Vigilans/multimodal-mcp
codex plugin add multimodal@multimodal-mcp
opencode plugin add multimodal@git+https://github.com/Vigilans/multimodal-mcp.git # OpenCode 2.x
opencode plugin -g multimodal@git+https://github.com/Vigilans/multimodal-mcp.git # OpenCode 1.x
pi install git:github.com/Vigilans/multimodal-mcp
Each plugin runs the server with uvx from the installed plugin's own copy, and finds the config as described under Configuration; Codex passes MULTIMODAL_MCP_CONFIG through to the server, and OpenCode and Pi pass their whole environment.
Without the skill installed, the server's built-in MCP instructions still direct clients to call list_models and get_model_guide before writing prompts.
On Windows, omni agents run their commands in Git Bash, so they require Git for Windows with git on PATH.
Configuration
The config file is read from --config <path>, then MULTIMODAL_MCP_CONFIG, then ~/.agents/mcp/multimodal/config.toml.
[providers.openai]
endpoint = "openai" # default for models without endpoint
env_key = "OPENAI_API_KEY" # or: api_key = "..."; base_url omitted: the official API
[providers.gateway] # a gateway serving several endpoints
env_key = "GATEWAY_API_KEY"