AIアシスタントを通じて、AI画像・動画の生成、生成コストの見積もり、およびメディアタスクの管理を行います。
別名 NotUsingGithub/wan27-mcp, wan27-mcp, @wan27/cli
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.1.3
- 最終コミット
- 2026年10月28日
- ライセンス
- MIT
Wan27 MCPとは
Wan27はMCPサーバーです。 AIアシスタントを通じて、AI画像・動画の生成、生成コストの見積もり、およびメディアタスクの管理を行います。.
プロジェクトのREADMEから生成された概要
Wan27 MCP server について
Wan27 MCPは、AIアシスタントとwan2-7.ioメディア生成プラットフォームを橋渡しします。generate_imageやgenerate_videoなどのツールを使用し、ローカルのstdioサーバーを介して画像や動画を作成できます。このサーバーはmacOSまたはLinuxシステムで動作し、公式ウェブサイトで使用されるものと同じクレジット残高を消費するため、機能を利用するには有効な有料サブスクリプションが必要です。
開発者は、npxまたはローカルのCLI経由でコマンドを登録することで、このサーバーをClaudeやCodexなどのクライアントに統合できます。ツールセットには、コスト予測のためのestimate_generation、利用可能なオプションを表示するlist_models、進捗を追跡するlist_tasksなど、メディアワークフローを管理するための特定の機能が含まれています。また、フレームをアップロードしてそのURLをモデルに渡すことで、image-to-videoワークフローもサポートしています。
セキュリティは、macOS Keychainまたは認証情報保存用のプライベートファイルを通じて管理されます。自動化された環境では、APIトークンとしてWAN27_ACCESS_TOKENを使用できます。モデルの確認やツールのリスト表示にはクレジットは消費されませんが、生成タスクを実行するには、認証されたアカウントと有効なサブスクリプションが必要です。
できること
- 1メディア生成コストの予測プロセスを開始する前に、特定の動画リクエストにどれくらいのクレジットが消費されるかをAIアシスタントに計算させます。
- 2テキストプロンプトからの動画作成AIクライアントに対し、雨の降る通りに浮かぶ紙舟の5秒間の720p動画を生成するよう指示します。
- 3静止画から動画への変換画像URLをアシスタントに提供し、image-to-videoモデルを使用して特定のシーンをアニメーション化します。
- 4実行中のメディアタスクの監視アシスタントを使用して、進行中または完了した生成ジョブのステータスを確認します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Wan27 MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにWan27 MCPをインストール
$ claude mcp add wan27-mcp -- npx -y @wan27/cliCursorにWan27 MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"wan27-mcp": {
"command": "npx",
"args": [
"-y",
"@wan27/cli"
]
}
}
}VS CodeにWan27 MCPをインストール
.vscode/mcp.json
{
"servers": {
"wan27-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wan27/cli"
]
}
}
}VS Code CLIにWan27 MCPをインストール
$ code --add-mcp '{"name":"wan27-mcp","type":"stdio","command":"npx","args":["-y","@wan27/cli"]}'Claude DesktopにWan27 MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"wan27-mcp": {
"command": "npx",
"args": [
"-y",
"@wan27/cli"
]
}
}
}CodexにWan27 MCPをインストール
$ codex mcp add wan27-mcp -- npx -y @wan27/cliCodex config.tomlにWan27 MCPをインストール
~/.codex/config.toml
[mcp_servers.wan27-mcp] command = "npx" args = ["-y", "@wan27/cli"]
Gemini CLIにWan27 MCPをインストール
$ gemini mcp add -s user wan27-mcp npx -- -y @wan27/cliGemini settings.jsonにWan27 MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"wan27-mcp": {
"command": "npx",
"args": [
"-y",
"@wan27/cli"
]
}
}
}自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能notusinggithub/wan27-mcp is public and reachablegithub.com/notusinggithub/wan27-mcp ↗合格
- パッケージがこのリポジトリをソースとして指定@wan27/cli names notusinggithub/wan27-mcp as sourcenpmjs.com/package/@wan27/cli ↗合格
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-28github.com/notusinggithub/wan27-mcp ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from @wan27/cli合格
- パッケージおよびその依存関係に重大な勧告なし99 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見る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
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 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:
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 same stdio server with npx:
{
"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
- 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 contains the readable JavaScript executable for
@wan27/cli@0.1.3.
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 repository and MCP Registry namespace to the NotUsingGithub account.
Container for directory introspection
docker build -t wan27-mcp .
docker run --rm -i wan27-mcp
The container runs the same pinned client distribution as the npm package,
with the required mcp subcommand, as a non-root user. Linux containers explicitly select the private-file credential
store because macOS Keychain is unavailable there; the empty container has no
credentials. It accepts MCP JSON-RPC
on stdin and writes protocol responses on stdout. MCP initialization and
tools/list do not require an account or token and do not create media or spend
credits. Calling account or generation tools requires an authorized Wan27
account; generation still requires a paid subscription and spends website credits.
The build copies only the distribution and public metadata. No credentials or host configuration are included. Do not embed a token in the Dockerfile or image.
Wan27 MCPのよくある質問
Wan27 MCPをClaude Codeに追加するには
ターミナルでclaude mcp add wan27-mcp -- npx -y @wan27/cliを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Wan27 MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Wan27を使用するにはサブスクリプションが必要ですか?
はい、利用には有効な有料サブスクリプションが必要です。クレジットパック、無料アカウント、および未払いのトライアルは対象外です。
MCPおよびCLIでの利用におけるクレジットの課金方法は?
MCPおよびCLIでの利用は、Wan27のウェブサイトと同じクレジット残高を消費し、同じ料金体系が適用されます。
生成タスクが失敗した場合はどうなりますか?
失敗したタスクのクレジットは自動的に返金されます。
メディアを生成する前にコストを見積もることはできますか?
はい、見積もりツールを使用して、生成を開始する前にコストを確認できます。