Wan27 MCP — AI Image and Video Generation

Generate AI images and videos from Claude, Cursor or Codex. Browse models, estimate credits and track tasks. Active paid Wan27 subscription required.

Documentation

Logo Wan27

Send a prompt to create with Wan27 in your agent

Copy this prompt to your agent to get started.

Prompt

Read https://wan2-7.io/agent/wan27-guide.md. Help me connect Wan27 MCP. Let me authorize in my browser, and show me the credit estimate before generating.

Active paid subscription required · Website credits and pricing Full guide

Configure a client manually

Choose your client for the right instructions.

Connect Codex to Wan27 through the CLI, which runs a local MCP server signed in to your account.

01Install and sign in to the CLI

Follow the CLI guide to install the CLI, then sign in through your browser. Your password and access tokens do not belong in the conversation.

CLI setup →

wan27 auth login
wan27 account

02Add the local MCP server

codex mcp add wan27 -- wan27 mcp

03Check the connection

Ask your agent

Check my Wan27 account and available models. Show my credit balance. Do not generate anything yet.

Frequently asked questions

Who can use MCP and CLI?

An active paid subscription is required. MCP and CLI access is available only with an active paid subscription. Credit-pack purchases alone, free accounts, unpaid trials and admin-granted Pro do not qualify.

Use the same credits as the Wan27 website. Generations deduct credits at the corresponding website model price. Credit packs can add to your balance while subscribed, but do not replace a subscription.

When your subscription expires or becomes inactive, MCP and CLI stop accepting new requests. Tasks already created keep running and stay visible on the website. Turning off renewal preserves access until the current paid period ends.

Upgrade your subscription · View account credits

Do I need another balance or an API key?

No separate wallet or API key is needed. Sign in through your browser and use the same website credits at the corresponding model price. Upgrade or top up on the website; your agent does not process payments.

Which clients can I connect?

Sign in with the CLI, then add it as a local MCP server in Codex, Claude Code or Cursor. You can also use the CLI directly from your terminal.

Can I use a reference image?

Yes. Run wan27 upload with a PNG, JPEG or WebP under 5 MiB to get an https URL. Pass it in imageUrls for image models, or as imageUrl for image-to-video.

What if a request is interrupted?

Retry with the same request ID. It returns the same task and is never charged twice. The CLI prints the request ID and retries transient failures with it automatically. A wait timeout does not cancel a task.

What happens to failed tasks and expired subscriptions?

Failed tasks are refunded automatically. When your subscription ends, MCP and CLI stop accepting new requests; tasks already created keep running and appear on the website.

Where do I get results and revoke access?

A succeeded task lists download URLs in outputs, or run wan27 download. Run wan27 auth logout to disconnect the CLI. Changing your website password disconnects every assistant.