Connect Pocketsflow to ChatGPT with Developer mode.
Turn on Developer mode, add Pocketsflow as an app with OAuth, and ChatGPT can answer “who are my best customers” from your real orders. It asks you before every change it makes, so a discount or a new product only happens when you say yes.
- Connects via
- Developer mode app
- Works in
- chatgpt.com (set it up on the web)
- Plan
- Paid plans: Plus, Pro, Business, Enterprise and Edu.
From an ask in ChatGPT to your store and back.
You type in ChatGPT. It calls a Pocketsflow tool, your store changes or answers, and the result comes back to the chat.
How an ask in your AI app becomes a change in your store:
- ChatGPT: “What did I sell this week?” The Pocketsflow MCP server checks the key you approved, calls get_analytics_summary, and answers: “41 orders for $2,184 so far this week.”
- ChatGPT: “Give me a checkout link for Notion Business OS.” The Pocketsflow MCP server checks the key you approved, calls create_checkout_session, and answers: “Here is your checkout link for Notion Business OS, $59.00. Share it anywhere.”
- ChatGPT: “What has Amelia Hart bought?” The Pocketsflow MCP server checks the key you approved, calls get_customer_profile, and answers: “$429.95 over 5 orders and 5 Pro Membership payments. She is tagged vip.”
Connect ChatGPT in 4 steps.
Turn on Developer mode
On chatgpt.com, open Settings → Security and login (on some builds Apps & Connectors → Advanced settings) and turn on Developer mode.
Create the app
In Settings, create an app (under Apps): name it Pocketsflow, paste
https://www.pocketsflow.com/mcpand pick OAuth.Allow access
Sign in to Pocketsflow and click Allow access. Pocketsflow adds a key named
MCP: <app>under Developers → API keys, in the mode your dashboard is in (live or test).Switch it on in a chat
In a new chat, open +, choose Developer mode and turn Pocketsflow on. Ask something read only first.
Server address https://www.pocketsflow.com/mcp
Developer mode is in beta, so menu names move. On Business and Enterprise, a workspace admin may need to allow custom apps first.
What to ask ChatGPT.
Write it the way you would ask a colleague. Under each ask are the Pocketsflow tools it calls.
“Who are my 10 best customers, and when did each last buy?”
Ranks buyers by lifetime value with their last purchase.
- list_best_customers
“Where did this month's revenue come from?”
Splits revenue by source: direct, social, search, affiliates.
- get_revenue_by_source
“How much can I withdraw, and did my last payout land?”
Reads the available and pending balance and your recent payouts.
- get_payout_balance
- list_payouts
“Find Jane's order from yesterday and check it was paid.”
Searches by name or email, then opens the order.
- search_store
- get_order
“Set a 14-day refund policy and use it on my course.”
Creates the policy buyers see at checkout and attaches it.
- create_refund
- update_product
What it can and can't do.
Connecting an AI is not handing over the keys. You approve it, you see every change, and you can unplug it in one click.
It can
- Use the same 303 tools as the public API: products, checkout links, discounts, upsells, orders, customers, subscriptions, license keys, usage billing, webhooks, newsletters and analytics.
- Read your payouts: what is ready to withdraw, what is still clearing, and why a payout is on hold.
- Set the refund policy buyers see at checkout, and look up any order's payment, fees and tax.
- Work in test mode with no real money, if your dashboard is in test mode when you click Allow.
It can't
- Refund a payment or withdraw money. Refunds and withdrawals stay in your dashboard.
- Connect without you: nothing happens until you sign in to Pocketsflow and click Allow access.
- See another store. Every call is scoped to the account you approved.
- Use a paid feature your plan lacks. It gets a clear error and tells you which plan unlocks it.
ChatGPT asks you before each change it makes, and every change shows in your dashboard. To disconnect any app, delete its MCP: <app> key under Developers → API keys. It stops on the next request. Access tokens last an hour and renew themselves; one left unused for 30 days expires.
For developers.
The server speaks streamable HTTP with OAuth 2.1 (PKCE, dynamic client registration) and exposes 303 tools, the same public API as our REST endpoints and the pocketsflow SDK.
Questions
Which ChatGPT plans can do this?
Developer mode apps need a paid plan: Plus, Pro, Business, Enterprise or Edu. The free plan cannot add custom apps.
Can I set it up in the phone app?
Set it up on chatgpt.com. Developer mode lives in the web settings.
Do I need an API key?
No. You sign in to Pocketsflow and click Allow access, and the app gets a token for your account. API keys are only for headless servers and CI, where nobody can click Allow.
Can ChatGPT refund a buyer?
No. Payment refunds are issued from your dashboard. ChatGPT can find the order, check its payment and set the refund policy buyers see at checkout.
How do I disconnect ChatGPT?
Delete the MCP: ChatGPT key (the name the app gives itself) under Developers → API keys in your dashboard. Access stops on the next request.
Connect ChatGPT, then ask for your first product.
Free to start, no monthly fee. Your AI works in your account with the access you approve.
Start selling free