Skip to main content
MeiGen also runs as a remote MCP server — no local process, no npm package, nothing to install or keep updated. Point any MCP-compatible host at the URL below and start generating.

Connect

Claude Code

Other MCP hosts

Most hosts that support Streamable HTTP servers use a config shape like this — check your host’s docs for the exact field names:
Get an API key: sign in at meigen.ai → avatar → SettingsAPI Keys → create a new key.
No provider setup, no environment variables to manage — the token is the only thing you configure.

Why remote

Zero install

No Node.js, no npx, no local process to keep running.

Always current

New models, capability changes, and pricing take effect immediately — nothing to upgrade.

Nothing to reconfigure

The same URL keeps working as the model lineup changes underneath it.

Tools

The remote server exposes 6 tools:
Not available remotely: enhance_prompt, manage_preferences, comfyui_workflow. These stay local-only — see the comparison below.

Remote vs. local npm package

Local Setup Guide

Prefer the local package instead? See installation for Claude Code, Cursor, Codex, and more.

Authentication

The remote server uses the same API tokens (meigen_sk_...) as the REST API.
  • Read-only toolslist_models, search_gallery, get_inspiration — work without a token.
  • Generation toolsgenerate_image, generate_video, check_generation — require a valid token.
API tokens can only spend purchased credits, not daily free credits. Make sure your account has purchased credits before generating.

Limitations

  • Can’t connect to a local ComfyUI server — remote generation uses MeiGen Cloud models only.
  • Can’t save preferences or favorite prompts (no manage_preferences).
  • Results are returned as URLs, not saved to disk. Download the file yourself if you need a local copy.
If you need any of these, use the local npm package instead.

Next Steps

MCP Overview

Full tool reference and provider details.

REST API

Prefer HTTP directly? Integrate without MCP.