Skip to main content
Glama

Wan30 MCP and CLI — Wan 3.0 AI Video Generation

Generate Wan 3.0 videos from your terminal or AI assistant with your wan30.video account. MCP and CLI spend the same credit balance as the website, at the same prices. Credits are bought on the website.

Access requires remaining purchased credits. Sign-up, check-in and gift credits alone do not qualify. Buy credits at https://wan30.video/pricing/.

Node 22+, macOS or Linux (including WSL).

Install

npm install -g @wan30/cli

Related MCP server: Wan 3.0 Prime API MCP Server

Use

wan30 auth login
wan30 account
wan30 models
wan30 estimate --input request.json
wan30 create --input request.json --wait
wan30 download <taskId> --output result.mp4
wan30 auth logout

On Linux, sign in with wan30 auth login --credential-store file.

request.json examples. Text to video:

{"modelId":"wan30-text-to-video","prompt":"A paper boat on a rainy street","durationSeconds":5,"resolution":"720p"}

Image to video, with one HTTPS image as the first frame:

{"modelId":"wan30-image-to-video","prompt":"The crane takes off","imageUrls":["https://example.org/first-frame.jpg"]}

Reference to video, with 1–10 HTTPS reference images:

{"modelId":"wan30-reference-to-video","prompt":"Move the camera slowly toward the scene","imageUrls":["https://example.org/reference.jpg"]}

Every mode takes 2–30 seconds and 480p, 720p or 1080p. The default is 5 seconds at 480p. wan30 model <modelId> prints every option as a JSON Schema.

create prints a request ID on stderr. Re-running it with --request-id <id> after a network error returns the same task and is never charged twice. A wait timeout only stops waiting; the task keeps running.

Credentials are stored in the macOS Keychain, or with --credential-store file in a private file (directory 0700, file 0600). WAN30_CONFIG_DIR changes that directory. WAN30_ACCESS_TOKEN accepts a pre-issued access token for automation. Logging out revokes this connection; changing your website password revokes every connection.

Connect an assistant (local MCP)

Sign in once with wan30 auth login, then register the stdio server:

codex mcp add wan30 -- wan30 mcp
claude mcp add wan30 -- wan30 mcp

Tools: account_status, list_models, get_model, estimate_generation, generate_video, list_tasks, get_task.

Clients that accept JSON configuration can launch the same stdio server with npx:

{
  "mcpServers": {
    "wan30": {
      "command": "npx",
      "args": ["-y", "@wan30/cli", "mcp"]
    }
  }
}

The server starts and lists its tools before you sign in. A tool call made without a sign-in tells the assistant to run wan30 auth login; no restart is needed afterwards.

Read the account status and estimate the cost before generating. Video generation spends your website credits.

Documentation and support

License

MIT. The hosted generation service is operated at wan30.video.

Available Tools

7 tools
account_statusB
Read-only

Available website credits and access to generation.

Inputs: no named parameters.

estimate_generationB
Read-only

Quote credits before generation.

Inputs: input (required).

generate_videoA
Idempotent

Spend website credits on a text, first-frame or reference video. Confirm the estimate and reuse requestId on retries.

Inputs: input (required), requestId (required).

get_modelC
Read-only

Input options for the selected video model.

Inputs: modelId (required).

get_taskB
Read-only

Poll your video task for its status and download URL.

Inputs: taskId (required).

list_modelsC
Read-only

Supported generation models.

Inputs: no named parameters.

list_tasksC
Read-only

Recent supported video tasks for this account.

Inputs: limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct step: account status (credits), model discovery (list/get), cost estimation, generation, and task tracking (list/get). The list/get pairs are standard and clearly separable, and estimate_generation vs account_status are distinguished by purpose (per-request quote vs overall balance).

    Naming Consistency4/5

    Six of seven tools follow a clean verb_noun convention (list_models, get_model, estimate_generation, generate_video, list_tasks, get_task). account_status breaks the pattern as a bare noun phrase, a minor deviation but still readable and consistent with the domain.

    Tool Count5/5

    Seven tools map to a complete, well-scoped workflow (credits -> model options -> estimate -> generate -> poll). No tool feels redundant or unnecessary for the stated purpose.

    Completeness4/5

    The core lifecycle from credit check through generation to download URL is fully covered, including pre-flight estimation and requestId-based retry guidance. Minor gaps exist around task lifecycle management (e.g., cancel/delete a task) that agents cannot perform.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables high-quality AI video generation using Google's Veo 3.1 model for text-to-video, style-guided, and frame-interpolation tasks. It features token-efficient reference image handling, batch processing, and video extension capabilities with built-in cost estimation.
      6
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Generate video from a prompt, from an image, or from up to thirty reference images, routed across the field of AI video models (Sora, Veo, Kling, Seedance, Hailuo, Wan and more). Quotes the credit cost before spending it and refunds a technical failure automatically.
      5
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Free open-source Video Studio for Wan · Seedance · Kling, plus more models via the PowerTokens API. Excel/CSV batch, compare, storyboard, and safe resume. MCP tools check API keys, estimate cost, generate and download MP4s, and resume interrupted tasks. The app is free; video credits are on PowerTokens. https://powertokens.ai/?utm_source=glama&utm_medium=mcp&utm_campaign=video-studio
      7
      2
      MIT