Wan27 MCP — AI Image and Video Generation

io.github.DieselNiuPublished by GitHub account DieselNiuv0.1.2Updated Oct 24, 2026

Generate AI images and videos, estimate credits and track tasks. Paid Wan27 subscription required.

VerifiedSTDIODesktop onlyMedia & DesignAI & ML

Overview

AI-generated overview

Wan27 MCP lets an assistant generate AI images and videos, estimate credit costs and track tasks through a paid wan2-7.io account.

What you can do
  • Check account status and list or inspect available models
  • Estimate the credit cost of a generation request
  • Generate images and videos, including image-to-video from an uploaded first frame
  • List tasks and fetch the status or result of a specific task
When to use it
Useful when you want an assistant to produce AI images or short videos from prompts and to check credit cost before spending, using an existing paid Wan27 subscription.
Requirements
Local stdio process run via npx from the @wan27/cli npm package; Node 22+ on macOS or Linux (including WSL). A paid Wan27 subscription is required, and you sign in once with the CLI auth login command. An optional WAN27_ACCESS_TOKEN can supply a pre-issued token for automation, and WAN27_CONFIG_DIR changes where credentials are stored.
Before you install
Generation spends real credits from your Wan27 account at website prices, and access requires an active paid subscription. Credentials are stored in the macOS Keychain or a private file, and a pre-issued token in WAN27_ACCESS_TOKEN is a secret. Logging out or changing the website password revokes connections. Uploaded files and prompts are sent to the hosted wan2-7.io service.

Installation

In SourceWeft

  1. Open Wan27 MCP — AI Image and Video Generation in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Wan27 MCP and CLI — AI Image and Video Generation

Generate images and videos from your terminal or AI assistant with your wan2-7.io account. MCP and CLI spend the same credit balance as the website, at the same prices. Credits are topped up on the website.

Access requires an active paid subscription. Credit packs alone, free accounts and unpaid trials do not qualify. A subscription with auto-renew turned off keeps access until its paid period ends. Upgrade at https://wan2-7.io/pricing/.

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

Install

sh
npm install -g @wan27/cli

Use

sh
wan27 auth loginwan27 accountwan27 modelswan27 estimate --input request.jsonwan27 create --input request.json --waitwan27 download <taskId> --output result.mp4wan27 auth logout

request.json examples:

json
{"modelId":"wan27-text-to-video","prompt":"A paper boat on a rainy street","durationSeconds":5,"resolution":"720p"}
json
{"modelId":"wan2.7-image","prompt":"A paper crane on a desk","resolution":"2K"}

For image-to-video, upload the first frame and pass its URL:

sh
wan27 upload frame.png        # {"url":"https://..."}
json
{"modelId":"wan27-image-to-video","prompt":"The crane takes off","imageUrl":"https://..."}

wan27 model <modelId> prints every option and its 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. Failed tasks are refunded automatically. 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). WAN27_CONFIG_DIR changes that directory. WAN27_ACCESS_TOKEN accepts a pre-issued API token for automation. Logging out revokes this connection; changing your website password revokes every connection.

Connect an assistant (local MCP)

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

sh
codex mcp add wan27 -- wan27 mcpclaude mcp add wan27 -- wan27 mcp

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

After signing in, clients that accept JSON configuration can launch the same stdio server with npx:

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

Read account status and estimate the cost before generating. Image and video generation spend your website credits.

Documentation and support

Run this public distribution

This repository mirrors the readable JavaScript executable published in @wan27/[email protected]. The hosted service is operated at wan2-7.io.

sh
npm ci --ignore-scriptsnode dist/cli.mjs --helpnode dist/cli.mjs auth loginnode dist/cli.mjs mcp

License and provenance

MIT. See PROVENANCE.md for release provenance. The executable is unchanged from 0.1.1; 0.1.2 updates package discovery metadata and documentation.

Source: README.md at commit 9d1cd56

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestOct 12, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts