Generate AI images and videos with Wan27 from Claude, Cursor, Codex and the terminal. MIT MCP client; paid service subscription required.

Wan27 MCP and CLI — AI Image and Video Generation

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

Access requires an active paid subscription. Credit packs alone, freeaccounts and unpaid trials do not qualify. A subscription with auto-renew turnedoff keeps access until its paid period ends. Upgrade athttps://wan2-7.io/pricing/.

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

Install

npm install -g @wan27/cli

Use

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

request.json examples:

{"modelId":"wan27-text-to-video","prompt":"A paper boat on a rainy street","durationSeconds":5,"resolution":"720p"}
{"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:

wan27 upload frame.png        # {"url":"https://..."}
{"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 nevercharged twice. Failed tasks are refunded automatically. A wait timeout onlystops 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 apre-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:

codex mcp add wan27 -- wan27 mcp
claude 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 samestdio server with npx:

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

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

Documentation and support

Run this public distribution

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

npm ci --ignore-scripts
node dist/cli.mjs --help
node dist/cli.mjs auth login
node dist/cli.mjs mcp

License and provenance

MIT. See PROVENANCE.md for release provenance.The executable is unchanged from 0.1.1. Version 0.1.3 updates the GitHub repositoryand MCP Registry namespace to the NotUsingGithub account.

MCP Server · Populars

MCP Server · New

    AIAnytime

    Awesome MCP Servers

    A curated directory of Model Context Protocol (MCP) servers, plus runnable reference implementations in Python.

    Community AIAnytime
    wiresage

    MikroTik MCP

    MCP server for Mikrotik

    Community wiresage
    n24q02m

    email

    IMAP/SMTP email for AI agents -- read, send, organize folders, and manage attachments across multiple accounts, with auto-discovery.

    Community n24q02m
    reticlehq

    reticle

    AI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.

    Community reticlehq
    tubeagentkit

    YouTube MCP Server: Transcripts, Search, Channels & Playlists

    YouTube MCP server: get YouTube video transcripts, search YouTube, browse channels and playlists from Claude, ChatGPT, Cursor and VS Code. Remote, free tier.

    Community tubeagentkit