Connect OpenGen MCP & CLI
to your AI coding agents.
Find an image, video, or audio model, inspect its options and published rates, and generate from the place you already work.
Read https://opengen.dev/docs/clients.md and https://opengen.dev/docs/mcp.md.
1. Connect to OpenGen via remote Streamable HTTP MCP at https://opengen.dev/mcp (OAuth DCR + PKCE) or zero-auth discovery at https://opengen.dev/mcp/readonly, or install the portable CLI (@opengen-dev/cli).
2. Run read-only discovery first (balance, find_models, get_model, estimate_cost) before requesting workspace approval for any billable generation.Hosted assistant
Add the gateway’s MCP address in your client. Sign in and choose the workspace that pays. There’s no local installer.
Local agent
Use the client’s MCP OAuth support, or OpenGen’s portable CLI with browser login and a private local profile.
Your application
Create a separate expiring API key in your workspace. Keep its read/generate permissions limited to the job.
Hosted sign-in, workspace billing, and live-verified official routes are live on https://opengen.dev (self-hosted gateways need their own configured identity and provider credentials). Third-party client guides were reviewed 2026-11-03–2026-11-30 from official documentation; live checks through 2026-11-30 verified bounded live image generation and first-party /media PNG delivery (each openai/gpt-image-2, 1K low quality, ~$0.006 settled) in ChatGPT web (with live OAuth refresh-token rotation), Claude web, and Grok Bot web (both with live OAuth refresh-token rotation verified on 484d99f), plus on commit 484d99f bounded live image generation in codex-cli 0.155.1 (with live OAuth refresh-token rotation) and source apps/cli 0.1.2 (with published @opengen-dev/cli 0.1.2 clean install, read-only commands, and logout revocation verified 2026-11-28), live OAuth login and MCP connection/6-tool discovery in Hermes Agent v0.16.0, live OAuth login and MCP connection in Claude Code 2.1.301, and live OAuth browser login and token exchange in Muse Code 1.4.25. Unexercised models and operations, upload/edit flows, post-publish @opengen-dev/cli 0.1.3 install, other clients (including desktop/mobile apps, Grok CLI, hosted Meta Muse, Cursor, OpenClaw, OpenCode, and pi), token refresh in other clients (including OpenGen CLI), and billable runs in other clients remain unverified.
New personal workspaces start with $0 managed credit — model discovery is free. Add workspace credit ↗ or connect your own provider keys when you are ready to generate.
See the support matrix ↓Ready to use a private reference? Follow the image-to-video walkthrough →
Where do you want to create?
Choose your setupChatGPT
Add a custom MCP plugin and authorize a paying workspace in your browser.
Live OAuth MCP + generation verifiedClaude
Use a remote connector, with no local installer or provider credentials.
Live OAuth MCP + generation verifiedClaude Code
Register an HTTP MCP server, then use the client’s browser authorization.
Live OAuth login + MCP connectedCursor
Preview a URL-only MCP configuration and authorize through Cursor.
Client verification pendingCodex
Add a Streamable HTTP server and use OAuth login with read/generate scopes.
Live OAuth MCP + generation verifiedMuse
Add a Streamable HTTP MCP server in Muse Code with native OAuth.
Live OAuth login verifiedOpenClaw
Use the client’s MCP settings and browser authorization; verify the connection separately.
Client verification pendingHermes Agent
Register the remote OAuth MCP server with the Hermes CLI or config.yaml.
Live OAuth + 6/6 tools discoveredOpenCode
Configure a remote MCP server and complete the client’s OAuth flow.
Client verification pendingpi
Use the portable OpenGen CLI; native MCP is not assumed.
Client verification pendingGrok Bot
Add OpenGen as a custom Remote HTTPS MCP connector in Grok Bot or Grok CLI.
Live OAuth MCP + generation verifiedCLI & API
Use the portable CLI with browser login, or create one scoped workspace API key.
Live browser login + generation verifiedWhat has actually been checked?
Documentation reviewed 2026-11-03–2026-11-30. “Protocol fixtures” means synthetic requests against local code, without a real client, identity provider or generation charge.
| Client | Setup path | Documentation | Tested client / version / date |
|---|---|---|---|
| ChatGPT | Hosted MCP with OAuth | Official OpenAI documentation ↗ | ChatGPT web (2026-11-30): live OAuth DCR + PKCE consent, refresh-token rotation, 6/6 tools discovered, bounded openai/gpt-image-2 1K low-quality generation ($0.00606 settled), first-party /media PNG delivery (?utm_source=chatgpt.com), and MCP App preview card verified |
| Claude | Remote connector with OAuth | Claude custom connector guide ↗ | Claude web (2026-11-30): live OAuth DCR + PKCE consent, refresh-token rotation (on 484d99f), 6/6 tools discovered, bounded openai/gpt-image-2 1K low-quality generation ($0.0061 settled), first-party /media PNG delivery, and MCP App preview card verified |
| Claude Code | Remote HTTP MCP or OpenGen CLI | Claude Code MCP documentation ↗ | Claude Code 2.1.301 (2026-11-30, 484d99f; logout 2026-11-28): live OAuth DCR + PKCE login and Connected MCP check (clean POST /mcp handshake) verified; LLM tool turn and generation pending |
| Cursor | Streamable HTTP MCP or OpenGen CLI | Cursor MCP documentation ↗ | None recorded — unverified |
| Codex | Native MCP OAuth or OpenGen CLI | Official OpenAI command reference ↗ | codex-cli 0.155.1 (2026-11-30, 484d99f): live OAuth refresh-token rotation, fresh DCR + PKCE login, 6/6 tools discovered, balance/catalog_get/pricing.list, bounded openai/gpt-image-2 1K low-quality generation ($0.00598 settled), and first-party /media PNG delivery (?utm_source=test) verified |
| Muse | Streamable HTTP MCP (OAuth DCR) | Meta AI developer documentation ↗ | Muse Code 1.4.25 (2026-11-30, 484d99f; local logout and muse.ai inspection 2026-11-29): live OAuth DCR + RFC 8252 ephemeral-port browser login, consent, and token exchange (auth=logged-in) verified; hosted muse.ai has no custom MCP UI |
| OpenClaw | Streamable HTTP MCP or OpenGen CLI | OpenClaw MCP documentation ↗ | None recorded — unverified |
| Hermes Agent | HTTP MCP with OAuth or OpenGen CLI | Hermes MCP documentation ↗ | Hermes Agent v0.16.0 (2026-11-30, 484d99f): live OAuth 2.1 PKCE login, hermes mcp test opengen (Connected, 6/6 tools discovered), and hermes chat tool registration verified; LLM tool invocation and generation pending |
| OpenCode | Remote MCP OAuth or OpenGen CLI | OpenCode MCP documentation ↗ | None recorded — unverified |
| pi | CLI through the agent’s shell | pi project documentation ↗ | None recorded — unverified |
| Grok Bot | Custom Remote HTTPS MCP (OAuth DCR) | Grok Bot app documentation ↗ | Grok Bot web (2026-11-30): live OAuth DCR + MCP connection, refresh-token rotation (on 484d99f), 6/6 tools discovered, balance/catalog_get, bounded openai/gpt-image-2 1K low-quality generation ($0.006 settled), and clickable first-party /media PNG delivery verified |
| CLI & API | OpenGen browser PKCE login / scoped API key | OpenGen MCP & CLI guide ↗ | Source apps/cli 0.1.2 at 484d99f (2026-11-30): unauthenticated pricing (178 routes)/catalog, live browser login, bounded openai/gpt-image-2 1K low-quality generate/wait/get/recover ($0.005985 settled), and first-party /media PNG delivery (?utm_source=test) verified; published @opengen-dev/cli 0.1.2 (2026-11-28) clean npm install, login, read-only doctor/balance/catalog search, and logout revocation verified |
The OpenGen protocol fixtures cover PKCE/state, workspace consent, permission boundaries, token rotation/revocation and private profiles. They do not certify any third-party client. pi’s documented core has no native MCP; its CLI path is unverified.