Wan27 MCP — AI Image and Video Generation

io.github.DieselNiu由 GitHub 账号 DieselNiu 发布v0.1.2更新于 Oct 24, 2026

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

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

Wan27 MCP 让助手通过付费的 wan2-7.io 账户生成 AI 图片和视频、估算积分消耗并跟踪任务。

可以做什么
  • 查看账户状态,列出并查看可用模型
  • 估算生成请求所需的积分成本
  • 生成图片和视频,包括基于已上传首帧的图生视频
  • 列出任务,并查询指定任务的状态或结果
适用场景
适合希望让助手根据提示词生成 AI 图片或短视频、并在消耗积分前先确认成本的场景,前提是已有付费的 Wan27 订阅。
运行要求
通过 npx 运行 @wan27/cli npm 包提供的本地 stdio 进程;需要 macOS 或 Linux(含 WSL)上的 Node 22+。需要有效的付费 Wan27 订阅,并先用 CLI 的 auth login 命令登录一次。可选环境变量 WAN27_ACCESS_TOKEN 可提供预签发的令牌用于自动化,WAN27_CONFIG_DIR 可更改凭据存储目录。
安装前请注意
生成会按网站价格消耗账户中的真实积分,且使用需要有效的付费订阅。凭据保存在 macOS 钥匙串或私有文件中,WAN27_ACCESS_TOKEN 中的预签发令牌属于机密。登出或修改网站密码会撤销连接。上传的文件和提示词会发送到托管的 wan2-7.io 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wan27 MCP — AI Image and Video Generation,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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.

来源:README.md,提交 9d1cd56

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Oct 12, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分