Skip to main content
Glama

gwanggo-mcp

Give your AI agent the power to generate images & video.

MCP server + CLI for the Gwanggo API — Seedream, Sora, Veo, Kling, GPT Image and 30+ more models behind one key.

npm License: MIT MCP

Works with Claude Code · Claude Desktop · Cursor · Codex — anything that speaks MCP.


You: "우리 신제품 세럼 광고 이미지 만들어줘, 화장품 무드로"
Agent: [calls generate_image with seedream-5] → https://…/result.png

Setup (2 minutes)

1. Connect your account (opens a browser approval — no password pasting):

npx gwanggo-mcp login
# or, after install:
gwanggo auth login

New accounts get free credits: sign up at gwanggo.ai. You can also skip login and set GWANGGO_API_KEY (create one at Dashboard → API keys).

2. Add to your agent:

Claude Code

claude mcp add gwanggo -- npx -y gwanggo-mcp

Claude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json)

{
  "mcpServers": {
    "gwanggo": {
      "command": "npx",
      "args": ["-y", "gwanggo-mcp"]
    }
  }
}

Codex CLI (~/.codex/config.toml)

[mcp_servers.gwanggo]
command = "npx"
args = ["-y", "gwanggo-mcp"]

To pass the key explicitly instead of login, add "env": { "GWANGGO_API_KEY": "gwk_..." }.

Related MCP server: Corent MCP Server

Tools

Tool

What it does

list_models

35+ image/video models with credit costs and per-model options

generate_image

Text→image / image edit. Waits for completion, returns the URL

generate_video

Text→video / image→video (Seedance 2.0, Kling 3.0, Veo 3.1, Sora 2 …)

get_task

Check a previous generation by id

get_credits

Remaining credit balance

Failed generations are auto-refunded server-side.

CLI usage

The same binary doubles as a CLI:

gwanggo auth login
gwanggo models
gwanggo generate image "neon alley cat, cinematic" --model gpt-image-2 --quality high
gwanggo generate video "waves crashing at dawn" --model seedance-2.0 --resolution 720p --duration 5 --generate-audio
gwanggo me          # account and credits
gwanggo task <id>   # check status

The gwanggo commands reuse the account saved by gwanggo auth login; no API-key environment variable is required. GWANGGO_API_KEY remains available for CI and other non-interactive environments.

How it works

Thin client over the public Gwanggo /v1 REST API — the same API that powers the open-source Gwanggo Studio. Your key is stored at ~/.config/gwanggo/config.json (0600) and sent only as a Bearer token. A browser-login key takes precedence over GWANGGO_API_KEY, so a stale environment key cannot override a newly approved login. In CI, where no login file exists, GWANGGO_API_KEY is used.

License

MIT

Available Tools

5 tools
generate_imageA

Generate an image with a Gwanggo model. Spends credits. Waits for completion and returns the image URL. Use list_models first to choose a model slug and see its options.

Inputs: model (required), prompt (required), quality, image_url, +1 more.

generate_videoA

Generate a video with a Gwanggo model. Spends credits (often per-second — check list_models). Waits up to 10 minutes and returns the video URL.

Inputs: model (required), prompt (required), duration, image_url, +3 more.

get_creditsA

Get the connected Gwanggo account email and remaining credit balance.

Inputs: no named parameters.

get_taskA

Check the status/result of a previous generation by its id.

Inputs: id (required).

list_modelsA

List available AI image/video generation models with credit costs and per-model options (aspect ratios, resolutions, durations). Call this first to pick a model slug.

Inputs: type.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool serves a distinct function: generating images, generating videos, checking credits, checking task status, and listing models. No overlaps or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (generate_image, generate_video, get_credits, get_task, list_models), making predictions easy.

    Tool Count5/5

    With 5 tools, the set covers the core workflow for an AI media generation service without being too sparse or excessive.

    Completeness4/5

    The surface covers model discovery, generation for both image and video, credit tracking, and task status. Missing a cancel/delete tool is a minor gap but not critical.

    Related MCP Connectors

    Related MCP Servers