# Wan27 MCP server

> Generate AI images and videos, estimate generation costs, and manage media tasks through an AI assistant.

- Repository: https://github.com/NotUsingGithub/wan27-mcp
- Page: https://hostedmcp.org/servers/notusinggithub/wan27-mcp
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.1.3

## Install

### Claude Code

```sh
claude mcp add wan27-mcp -- npx -y @wan27/cli
```

### Cursor (`~/.cursor/mcp.json`)

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

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "wan27-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wan27/cli"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"wan27-mcp","type":"stdio","command":"npx","args":["-y","@wan27/cli"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add wan27-mcp -- npx -y @wan27/cli
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.wan27-mcp]
command = "npx"
args = ["-y", "@wan27/cli"]
```

### Gemini CLI

```sh
gemini mcp add -s user wan27-mcp npx -- -y @wan27/cli
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## FAQ

### Do I need a subscription to use Wan27?

Yes, access requires an active paid subscription. Credit packs, free accounts, and unpaid trials do not qualify.

### How are credits charged for MCP and CLI usage?

MCP and CLI usage consumes the same credit balance and follows the same pricing as the Wan27 website.

### What happens if a generation task fails?

Failed tasks are automatically refunded.

### Can I estimate the cost before generating media?

Yes, you can use the estimate tool to check costs before starting a generation.
