MCP server
Mediamcp
Generate and edit images and video via OpenRouter or any OpenAI-compatible API.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 6 days ago
About Mediamcp
Mediamcp is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mediamcp --env OPENROUTER_API_KEY='<OPENROUTER_API_KEY>' -- npx -y mediamcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mediamcp": {
"command": "npx",
"args": [
"-y",
"mediamcp"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mediamcp": {
"command": "npx",
"args": [
"-y",
"mediamcp"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mediamcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mediamcp"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mediamcp": {
"command": "npx",
"args": [
"-y",
"mediamcp"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mediamcp": {
"command": "npx",
"args": [
"-y",
"mediamcp"
],
"env": {
"OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
OPENROUTER_API_KEYOpenRouter API key (https://openrouter.ai/keys)RequiredMEDIAMCP_OUTPUT_DIRDirectory for generated files (default: ~/Pictures/mediamcp)MEDIAMCP_MODELDefault image model slug (default: google/gemini-2.5-flash-image)
Pricing
Open source
Mediamcp FAQ
Is Mediamcp free?
Yes. Mediamcp is open source, so you can use and self-host it for free.
How do I add Mediamcp to Claude Code?
Run this command in your terminal: claude mcp add mediamcp --env OPENROUTER_API_KEY='<OPENROUTER_API_KEY>' -- npx -y mediamcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.