Setup
Enable Developer Mode
In ChatGPT, open Settings → Apps & Connectors → Advanced settings and switch Developer Mode on. This unlocks the “Add custom connector” flow.
Create a new connector
Still in settings, go to Apps & Connectors → Add new connector (some plans label it Connectors → Create).
Fill in the connector details
| Field | Value |
|---|---|
| Name | Grain |
| Description (optional) | Query my Grain analytics workspace |
| Icon (optional) | Your Grain logo if you have one handy |
| MCP server URL | https://grainql.com/api/mcp |
| Authentication | OAuth |
Trust and create
Tick the I trust this application checkbox and click Create. ChatGPT opens Grain’s consent screen in your browser.
Authorize the workspace
Pick the workspace you want ChatGPT to see, review the three scope rows, and click Authorize.
ChatGPT closes the browser tab and marks the connector as connected.
What ChatGPT is good at with Grain
ChatGPT shines at narrative synthesis — turning rows into a paragraph your CEO will actually read. A few framings that work well:Monday‑morning briefing
Monday‑morning briefing
Pull last week’s digest from Grain and write me a 4‑bullet Slack summary. Bold anything that looks surprising, and link the dashboard at the end.ChatGPT uses
grain.query.digest, then formats. Grain’s surprise hints (concentration, volatility, rank changes) are embedded in the response, so the “surprising” bullets are data‑driven, not guessed.Stakeholder follow‑ups
Stakeholder follow‑ups
We just ran a paid campaign on utm_source=hackernews. Break down the resulting signups by first‑touch source and tell me the conversion rate versus organic.
ChatGPT uses grain.query twice (with and without the filter) and does the math.Tracking sanity check
Tracking sanity check
Is my Grain integration healthy? Any events that stopped firing in the last 7 days?ChatGPT uses
grain.integration.status and grain.query.compare.Troubleshooting
“Add custom connector” is greyed out
“Add custom connector” is greyed out
Developer Mode hasn’t been enabled yet, or your plan doesn’t support it. The feature is currently Pro/Team/Enterprise/Edu only.
Create button errors on submit
Create button errors on submit
Consent screen opens but never returns to ChatGPT
Consent screen opens but never returns to ChatGPT
Make sure popups are allowed for
chat.openai.com (or chatgpt.com). If the browser swallowed the redirect, revoke the half‑created connector in ChatGPT’s settings, and from Grain’s Connections panel, then retry.Tool calls fail with 401 after a week
Tool calls fail with 401 after a week
Grain refresh tokens rotate. ChatGPT should do this silently, but if it doesn’t, click the connector and hit Reconnect — one OAuth round‑trip and you’re back.
Next steps
Tool reference
The eleven tools available over MCP.
Security & scopes
How to audit what ChatGPT can see.