# ChatGPT — OpenGen Setup

> Add a custom MCP plugin and authorize a paying workspace in your browser.

- **Client kind:** Hosted assistant
- **Integration approach:** Hosted MCP with OAuth
- **Verification status:** LIVE GENERATION VERIFIED
- **Reviewed:** 2026-11-30
- **Canonical HTML:** https://opengen.dev/docs/clients/chatgpt
- **Source reference:** [Official OpenAI documentation](https://developers.openai.com/api/docs/guides/custom-mcp-server)

## Agent Prompt

```text
Walk the user through connecting ChatGPT to OpenGen (https://opengen.dev/mcp for authenticated read+generate OAuth, https://opengen.dev/mcp/readonly for zero-auth catalog discovery, or @opengen-dev/cli for shell workflows) following https://opengen.dev/docs/clients/chatgpt.md. Review configuration commands before running them, keep credentials out of prompts and version control, and verify read-only access (balance / find_models / opengen doctor) before proposing any paid generation.
```

## Setup Steps

1. On ChatGPT web, open Plugins (chatgpt.com/plugins), select Add → Add custom MCP server. Workspace permissions can restrict this option.
2. Name it OpenGen, enter https://opengen.dev/mcp (or your self-hosted gateway’s /mcp URL) and select OAuth. Use dynamic client registration (DCR); OpenGen does not advertise Client ID Metadata Documents.
3. Select Create as a plugin, choose Continue connecting app to complete OpenGen’s workspace consent, and invoke the installed plugin in a new conversation.

## Verification Evidence & Cautions

**Recorded evidence (2026-11-30):** ChatGPT web (2026-11-30): verified live OAuth DCR + PKCE consent, live refresh-token rotation (POST /oauth/token 200), 6/6 MCP tools discovered, read-only balance and catalog calls, bounded live openai/gpt-image-2 text-to-image (1K, low quality; $0.00606 settled), first-party /media PNG delivery (with ?utm_source=chatgpt.com), and MCP App preview card against https://opengen.dev/mcp. Other models/operations and ChatGPT desktop/mobile remain separately unverified.

**Important boundaries:** Hosted OAuth is live on https://opengen.dev; self-hosted gateways need public HTTPS and configured sign-in. ChatGPT web completed live OAuth DCR + PKCE consent, live refresh-token rotation (POST /oauth/token 200), 6/6 MCP tool discovery, read-only balance/catalog calls, a bounded live openai/gpt-image-2 text-to-image generation (1K, low quality; $0.00606 settled), and first-party /media capability PNG delivery (?utm_source=chatgpt.com resilient, plus MCP App preview card after Refresh tools) against https://opengen.dev/mcp on 2026-11-30; other models/operations and ChatGPT desktop/mobile remain separately unverified.

## Related Links

- [All Agent Clients & Support Matrix](https://opengen.dev/docs/clients.md)
- [MCP Integration Guide](https://opengen.dev/docs/mcp.md)
- [Quickstart Guide](https://opengen.dev/docs/quickstart.md)
- [Installable Skill (skill.md)](https://opengen.dev/skill.md)
- [AI Index (llms.txt)](https://opengen.dev/llms.txt)
