Wan 4.0 MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Wan 4.0 MCP Server (Wan 4 API, works today with Wan 3.0) for Claude, Cursor and any MCP client
Status notice: Wan 4.0 is an unconfirmed watchlist item. Alibaba has not announced a Wan 4.0 model (Wan 3.0, launched 2026-08-24, is the latest), and Muapi has no Wan 4.0 endpoint. This repository does not claim any Wan 4 specs, pricing or availability. What it does today is expose the live Wan 3.0 video endpoints on Muapi as MCP tools, with the model slug prefix configurable so it can be pointed at a newer model if and when Muapi publishes one. Watch muapi.ai/wan-4 for status.
An MCP server that lets Claude Desktop, Cursor, and any MCP-compatible client generate Wan video (Wan 4.0 API / Wan 4 API keyword, served by Wan 3.0 today) through one Muapi API key. Get a key at muapi.ai/access-keys. Live model page: muapi.ai/wan-3.
Related
Wan-3.0-API: Python client for Wan 3.0.
wan-3.0-comfyui: ComfyUI nodes for Wan 3.0.
Related MCP server: wan-mcp
Tools
Tool | Purpose | Muapi endpoint |
| Text prompt to video with synchronized audio |
|
| Animate a source image; optional |
|
| Guide a video with reference images, videos and audio |
|
| Check or wait for a request ( |
|
Parameters (current Wan 3.0 contract): resolution (480p, 720p, 1080p), aspect_ratio (adaptive, 16:9, 9:16, 1:1, 4:3, 3:4), duration (2 to 30 seconds), thinking_mode, enable_audio, seed (-1 for random). Reference-to-video needs at least one images_list (max 10), videos_list (max 5) or audios_list (max 5) entry.
Generation tools return immediately with a request_id; call wan_get_result until status is completed.
Quick start
git clone https://github.com/Anil-matcha/wan-4-mcp.git
cd wan-4-mcp
pip install -r requirements.txt
export MUAPI_API_KEY=your_keyClaude Desktop / Cursor
{
"mcpServers": {
"wan": {
"command": "python",
"args": ["/absolute/path/to/wan-4-mcp/mcp_stdio.py"],
"env": { "MUAPI_API_KEY": "your_key" }
}
}
}HTTP bridge / Docker
python mcp_server.py starts a small FastAPI bridge on port 8000 (/mcp/tools, /mcp/tools/{name}/call, /mcp/predictions/{id}). A Dockerfile and smithery.yaml are included.
Configuration
Variable | Default | Purpose |
| none (required) | Your Muapi key |
|
| Slug prefix; endpoints become |
|
| API base |
|
| Polling seconds when waiting |
About Wan 4.0: if Muapi later publishes a Wan 4.0 model, setting WAN_MODEL=wan-4.0 (or similar) is the expected way to use it. That slug naming (including wan-4) is an unverified guess, not a confirmed endpoint, and a Wan 4 model may take different parameters than the Wan 3.0 schema enforced here. Until Muapi lists it, leave the default. Wan 3.0 Prime is available with WAN_MODEL=wan3.0-prime.
Raw API equivalent
curl -X POST https://api.muapi.ai/api/v1/wan3.0-text-to-video \
-H "x-api-key: $MUAPI_API_KEY" -H "Content-Type: application/json" \
-d '{"prompt":"A cinematic aerial shot of mist moving through a mountain valley at sunrise.","resolution":"720p","duration":5}'
curl https://api.muapi.ai/api/v1/predictions/<request_id>/result -H "x-api-key: $MUAPI_API_KEY"Tests
pip install -r requirements.txt
python -m unittest discover -s tests -t . -vLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Plan, compare, price, generate, and recover AI video from compatible MCP clients.
Create and manage AI image and video generations through Quriov's fixed public MCP tools.
Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables MCP clients like Claude Desktop to generate AI-powered videos through the NoLang API, providing a standardized interface for video creation from text input.6MIT
- AlicenseBqualityBmaintenanceMCP server for the Wan model line enabling AI-driven animation, video editing, and image/video generation tasks via RunAPI with status polling and pricing.9282 npm1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP-capable clients to generate higher-fidelity videos via Wan 3.0 Prime, supporting text-to-video, image-to-video, multimodal reference-to-video, and async task status polling.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude and Cursor to generate and edit videos from text prompts, source images, or multiple reference media via MuAPI's Wan 3.0 and HappyHorse 1.1 model routes. Generation is asynchronous, returning a request ID that a result tool polls for status and output.MIT