Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mediamcp

MCP server by legolev Community

Generates and edits images and short videos for AI assistants through OpenRouter or any OpenAI-compatible API. Built for developers who use MCP clients such as Claude Code, Claude Desktop, Cursor and VS Code.

  • Score 73
  • 5 stars
  • 69 a week
  • MIT
  • Updated

Install mediamcp

Built from the published package, never by AI.

claude mcp add mediamcp -e OPENROUTER_API_KEY=YOUR_OPENROUTER_API_KEY -- npx -y mediamcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mediamcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mediamcp block.

About

mediamcp is an MCP server that connects AI assistants such as Claude Code, Claude Desktop, Cursor, Windsurf and VS Code to cloud media models. The source names Gemini Flash Image, GPT-5 Image, Seedream, Veo and Sora. It works through OpenRouter or any OpenAI-compatible API. The assistant can generate images from text, edit one or more existing images, and create videos from text or from a still image.

Generated files are saved to disk, by default in ~/Pictures/mediamcp. Each result includes the absolute file path and a small inline preview. Video jobs run asynchronously and can be resumed with a polling URL. The project suits people who want an AI agent to make images or short videos inside their editor or chat client and who have an OpenRouter API key.

Written from the project's README and checked against it.

Tools it gives your assistant

  • generate_imageCreates one or more images from text, with optional aspect ratio and model override.
  • edit_imageEdits an existing image from a file path, https URL or data URL using a text instruction.
  • generate_videoCreates a video from text or from a first frame image, saving the result as an mp4 file.
  • check_video_statusResumes waiting for a video job using its polling URL or id and downloads the finished result.
  • list_modelsLists image and video model slugs and prices so the agent can pick a suitable model.
  • check_configChecks the API key, endpoint, defaults and write access to the output folder.

What you need

  • OpenRouter API key
  • Node.js 20 or later
  • An MCP-compatible client such as Claude Code, Claude Desktop, Cursor, Windsurf or VS Code
SettingNeededWhat it is
OPENROUTER_API_KEYEnvironment variable, secretRequiredOpenRouter API key (https://openrouter.ai/keys)
MEDIAMCP_OUTPUT_DIREnvironment variableOptionalDirectory for generated files (default: ~/Pictures/mediamcp)
MEDIAMCP_MODELEnvironment variableOptionalDefault image model slug (default: google/gemini-2.5-flash-image)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Generate a 16:9 hero image for my landing page
  • Edit logo.png and remove its background
  • Make an 8-second video of ocean waves at sunset

Good to know

  • Video generation is asynchronous and usually takes 1 to 5 minutes.
  • Image-to-video needs a supported model such as bytedance/seedance-2.0, bytedance/seedance-2.0-fast or google/veo-3.1.
  • Each HTTP request times out after 120000 ms by default.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mediamcp

All alternatives →
HyperFrames by HeyGen heygen-com
100

HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.

AAA Remote 92k
Remocn: Remotion MCP server Remocn
96

Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.

AAA Remote 2k
Agent-Native AssetsBuilderIO
94

Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.

AAA Remote 7.8k
AIHOTKKKKhazix
94

Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.

AAA Remote 12k
openshortsmutonby
94

Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.

AAA Remote 10k
Remove AI Watermarkswiltodelta
94

Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.

AAA Local 6.6k

Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets

mediamcp: common questions

Can mediamcp use a provider other than OpenRouter?

Yes. Set MEDIAMCP_BASE_URL to any OpenAI-compatible endpoint and provide the key as MEDIAMCP_API_KEY.

Where are generated files saved?

By default they go to ~/Pictures/mediamcp, or ~/mediamcp if ~/Pictures does not exist. The MEDIAMCP_OUTPUT_DIR variable changes this location.

What should I do if the server does not work?

Ask the agent to run the check_config tool, or run npx -y mediamcp --check in a terminal. It reports what is misconfigured.

How do I install mediamcp?

In Claude Code run claude mcp add mediamcp -e OPENROUTER_API_KEY=YOUR_OPENROUTER_API_KEY -- npx -y mediamcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mediamcp the official server?

mediamcp is a community project by legolev, not verified by a company domain.

Is mediamcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mediamcp safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mediamcp?

Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.

Does mediamcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mediamcp Install

Add to stack

Loading.