
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.
概览
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 可更改凭据存储目录。
安装
在 SourceWeft 中
- 打开 控制台中的 Wan27 MCP — AI Image and Video Generation,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
Use
request.json examples:
For image-to-video, upload the first frame and pass its URL:
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:
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:
Read account status and estimate the cost before generating. Image and video generation spend your website credits.
Documentation and support
- Wan27 website
- MCP setup and client instructions
- CLI installation
- MCP and CLI workflow guide
- Subscription plans
- Public client distribution and issue tracker
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.
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版本历史
1- v0.1.2最新Oct 12, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分