Wan MCP logo

Wan MCP

Run Wan image and video generation tasks through MCP, with asynchronous status polling and pricing lookup.

Install Wan MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "wan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/wan-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env RUNAPI_API_KEY=YOUR_VALUE_HERE --transport stdio wan-mcp -- npx -y @runapi.ai/wan-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 9 tools correctly ().

Overview

wan-mcp connects MCP-compatible assistants to RunAPI's Wan model line for image and video generation. It exposes task creation for animation, video editing, image-to-video, speech-to-video, text-to-image, and text-to-video workflows, along with task status and pricing tools. Tasks can be submitted without waiting or followed until a terminal status, with task IDs and output URLs returned. Reach for it when an agent should use Wan models without loading the broader RunAPI catalog.

Use cases

  • Generate images from text prompts with Wan models
  • Create videos from text or source images
  • Edit existing videos through a Wan endpoint
  • Poll asynchronous generation tasks for output URLs
  • Check Wan pricing before submitting a task

Key features

  • Six Wan generation and transformation endpoints
  • Asynchronous task creation with optional waiting
  • Task status and payload retrieval
  • Pricing lookup without authentication
  • Support for 18 listed Wan model variants
  • stdio configuration for MCP-compatible hosts

Tools9

What Wan MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 88d

What it can do

From the 9 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 1Read-only tools · 9
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age132 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @runapi.ai/wan-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads657Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.

How Wan MCP works

What wan-mcp does

wan-mcp provides focused access to RunAPI's Wan model family through the Model Context Protocol. It covers six generation and transformation endpoints:

  • Animation
  • Video editing
  • Image-to-video generation
  • Speech-to-video generation
  • Text-to-image generation
  • Text-to-video generation

The package supports 18 listed Wan model variants across those endpoints. Agents can create tasks, optionally wait for completion, and receive the task ID, status, and resulting output URLs. Existing tasks can be inspected later with get_task, which returns the current status and latest payload.

Use check_pricing to inspect the price for a selected Wan model and endpoint before submitting work. Pricing lookup is available without authentication, making it suitable for checking costs before an agent starts a generation task.

How it works

The server runs as an MCP process over stdio. An MCP host starts the package with npx, then makes the Wan operations available as agent tools. Generation requests are asynchronous: a create tool can return immediately with a task ID, or wait for a terminal status when the request includes the appropriate wait option.

For work submitted without waiting, the agent can call get_task later to retrieve updated status and output data. The available model choices depend on the endpoint. Model availability may change between package releases, so check_pricing or the Wan model page should be used as the current catalog reference.

Setup and configuration

Install it in an MCP-compatible host with the stdio command below:

config.json
{
  "mcpServers": {
    "wan": {
      "command": "npx",
      "args": ["-y", "@runapi.ai/wan-mcp"]
    }
  }
}

Claude Code can also register it directly with claude mcp add, using either user or project scope. The same stdio configuration works with Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts.

Authentication is resolved in this order:

  1. RUNAPI_API_KEY
  2. ~/.config/runapi/config.json
  3. No credential, which still permits check_pricing

The MCP login flow opens a browser and stores credentials in the RunAPI configuration file. Headless or CI environments can set RUNAPI_API_KEY before starting the MCP host. A pre-provisioned configuration file can contain an apiKey field. API keys should not be committed to source control.

Tools and capabilities

  • animate: submit a Wan animation task and optionally wait for completion.
  • edit_video: submit a video-editing task and optionally wait for completion.
  • image_to_video: create video from an image and optionally wait.
  • speech_to_video: create video from speech input and optionally wait.
  • text_to_image: generate an image from text and optionally wait.
  • text_to_video: generate video from text and optionally wait.
  • get_task: retrieve the latest status and payload for an existing task.
  • check_pricing: look up pricing for a Wan model and endpoint without authentication.

Creation tools return task identifiers, statuses, and output URLs. The endpoint-specific model catalog includes Wan 2.2, 2.5, 2.6, and 2.7 variants listed by the package.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wan MCP

wan-mcp is an MCP server that connects AI assistants to RunAPI's Wan model line. Its main tools create animation, editing, image-to-video, speech-to-video, text-to-image, and text-to-video tasks, then retrieve task status and output URLs. It also checks current pricing for Wan models and endpoints.

Install wan-mcp by adding `npx -y @runapi.ai/wan-mcp` as an MCP server's stdio command. Claude Code can register it with `claude mcp add`, while other hosts can use a JSON configuration with `command` set to `npx` and the package in `args`.

Yes, wan-mcp works with Cursor through its standard stdio MCP configuration. Add `npx` as the command and `-y`, `@runapi.ai/wan-mcp` as the arguments, then configure RunAPI authentication with `RUNAPI_API_KEY` or the RunAPI config file.

Call the `check_pricing` tool before submitting a generation task. It looks up pricing for a selected Wan model and endpoint without authentication, so an assistant can inspect cost before calling one of the task-creation tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWan MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wan-mcp?style=directory)](https://allmcps.com/mcp/wan-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/wan-mcp"><img src="https://allmcps.com/api/badge/wan-mcp?style=directory" alt="Wan MCP on AllMCPs" /></a>