mcp-media-orchestrator
Allows audio generation through ElevenLabs as a backend, using the orchestrator's unified job lifecycle rather than provider-specific tools.
Allows media generation through Replicate as a backend, letting clients request generation jobs without specifying provider-specific model IDs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-media-orchestrator Generate a 10 second video, at most 1080p"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Media Orchestrator
A FastMCP server that fronts several independent image, video and audio generation backends behind one capability-oriented tool surface.
An MCP client asks for "a 10 second video, at most 1080p". It does not ask for Replicate, or Runway, or a specific model id. Routing, safety screening, job lifecycle, concurrency limits and retention all live server-side, which is what makes this an orchestration platform rather than a collection of adapters.
The design rationale is in ARCHITECTURE.md. That document is the point of this repository; the code is the proof it holds up.
Quickstart
No credentials required. A deterministic in-process backend ships with the server, so the full job lifecycle runs without a network call to any provider. FastMCP itself performs a version check against PyPI on startup, which is its behaviour and not this server's.
uv venv && uv pip install -e ".[dev]"
uv run pytest -q # full lifecycle, routing, safety and timeout coverage
uv run mcp-media-orchestratorRegister it with an MCP client:
{
"mcpServers": {
"media-orchestrator": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-media-orchestrator", "run",
"mcp-media-orchestrator"]
}
}
}Related MCP server: MiniMax MCP JS
Tools
Tool | Purpose |
| Every model reachable through this server, with cost, latency and ceilings |
| Start a generation. Returns a |
| Poll a job until |
| Best effort provider-side, always terminal locally |
| Recent jobs, newest first, optionally filtered by state |
There is deliberately no replicate_generate or elevenlabs_generate. A client that
knows which provider to call is holding the platform's topology in its context, and
every provider change becomes a client change.
Adding a backend
Implement four methods and register the adapter. Nothing else in the system changes.
class MyBackend:
name = "mybackend"
def capabilities(self) -> Sequence[Capability]: ...
async def submit(self, request, capability) -> str: ...
async def poll(self, provider_ref) -> BackendStatus: ...
async def cancel(self, provider_ref) -> None: ...Backends publish capabilities synchronously so routing never blocks on a provider, and they are submit/poll rather than await-to-completion because every serious media generation API is already asynchronous underneath.
Configuration
Environment variables, prefix MEDIA_ORCH_. See .env.example.
Credentials are read from the environment and never accepted as tool arguments. Tool arguments are authored by a language model and travel through the client's context, so a tool that takes an API key has already published it to the transcript.
Status
Reference implementation. Job state is in-process, which is the first thing to replace for a production deployment. See the scaling notes at the end of ARCHITECTURE.md.
MIT licensed.
Available Tools
5 toolscancel_jobCancel JobA
Cancel a running job. Best effort provider-side, always terminal here.
Inputs: job_id (required). Returns: object
generate_mediaGenerate MediaA
Start a generation and return a job handle.
Returns immediately. The job is not finished when this returns; poll get_job with the returned job_id until state is one of succeeded, failed, cancelled or rejected.
Set backend only to pin a specific provider. Leaving it unset lets the server route, which is normally what you want.
Inputs: prompt (required), modality (required), width, height, +3 more. Returns: object
get_jobGet JobB
Read the current state of a generation job.
Inputs: job_id (required). Returns: object
list_capabilitiesList CapabilitiesA
List every model this server can route to, with cost and latency.
Inputs: no named parameters. Returns: object
list_jobsList JobsB
List recent jobs, newest first, optionally filtered by state.
Inputs: limit, state. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct part of the media generation workflow: capability discovery, job submission, status polling, cancellation, and history listing. There is no meaningful overlap or risk of selecting the wrong tool for a given operation.
All tool names follow a consistent verb_noun pattern using snake_case: list_capabilities, generate_media, get_job, cancel_job, list_jobs. The verbs clearly indicate the action and the nouns clearly indicate the target resource.
Five tools is well-scoped for an orchestration server handling asynchronous media generation. Each tool covers a necessary part of the workflow without redundant or excessive surface area.
The toolset covers the full asynchronous job lifecycle: discover capabilities, create a job, poll for completion, cancel if needed, and list past jobs. There are no obvious dead ends for the stated purpose of routing and orchestrating media generation.
Maintenance
Related MCP Connectors
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Image, video, music and text generation across 100+ models through one endpoint.
Generate reproducible image, video, and audio assets with leading models and your own provider keys.
Generate and edit images, video, voiceovers, music and sound effects from chat.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to generate and upscale AI images, videos, music, and sound effects, manage generation jobs, access model catalogs, and track credits.3MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone and design voices, and create related media outputs.468 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone and design voices, and dynamically configure API interactions.468 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone voices, and design custom voices through provider APIs.468 npmMIT