ChatGPT
With **Developer mode** enabled, ChatGPT can attach a remote MCP server via **Apps & Connectors**. OpenAI does **not** publish a Cursor-style one-click **deeplink** to pre-install a third-party MCP; this page gives a **Open ChatGPT** button plus a **copyable MCP URL** so users finish setup inside ChatGPT settings, then complete OAuth in the browser.
Start from the docs site
Click below to open **chatgpt.com** in a new tab, then follow the steps to add Pairag as a remote MCP app.
Connector (MCP) URL
When ChatGPT asks for the MCP server / **Connector URL**, use exactly:
https://api.pairag.com/mcp
Steps inside ChatGPT
- Sign in on **chatgpt.com** with an account/plan that supports developer apps (see OpenAI’s Developer mode guide).
- Go to **Settings → Apps & Connectors → Advanced settings** and enable **Developer mode**.
- Go to **Settings → Apps & Connectors → Create** and enter a name and description (the model uses the description for tool discovery).
- Set **Connector URL** to the copied **https://api.pairag.com/mcp** (Pairag’s frozen production MCP root).
- Choose **OAuth** for authentication. If the form asks for a **Client ID**, use **pairag_mcp_chatgpt**. ChatGPT shows a per-connector callback such as **https://chatgpt.com/connector/oauth/…**; Pairag validates those OpenAI-hosted callbacks—normally you **do not** need to paste each callback into a database by hand. Finish login/consent on **app.pairag.com** in the browser.
- After the connector is created, start a new chat, use **+ → More** to enable your Pairag app, then prompt the model to use Pairag tools. Write actions typically require per-call confirmation.
OAuth (Pairag side)
Authorization server **issuer** is **https://app.pairag.com**. The public MCP OAuth **client_id** for ChatGPT is **pairag_mcp_chatgpt** (`audience=mcp`, seeded in production migrations).
Always use the callback URL shown by ChatGPT; do not substitute unknown pages (phishing risk).
Authorization codes are exchanged with **PKCE S256**; the interactive consent/login UI is served from **app.pairag.com** (same issuer as Cursor MCP).
OpenAI references
Verify credentials
After OAuth, sanity-check your MCP access token the same way as Cursor:
curl -sS -H "Authorization: Bearer <MCP_ACCESS_TOKEN>" https://api.pairag.com/api/v1/mcp/v1/me