> ## Documentation Index
> Fetch the complete documentation index at: https://docs.petakopi.my/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect ChatGPT

> Add petakopi.my to ChatGPT as a custom MCP server so it can read your shop's reports.

**Outcome:** ChatGPT can read your shop's reports and answer questions about them.

> [!NOTE]
>
> You need a petakopi.my account that owns at least one shop, and ChatGPT open in a web browser at [chatgpt.com](https://chatgpt.com). You add petakopi.my on the web.

ChatGPT calls outside connections like petakopi.my **plugins**. Custom ones work on Business, Enterprise and Edu workspaces. Pro accounts can connect custom servers that only read data, which is all petakopi.my does.

On a **Business** workspace, only admins and owners can add a custom plugin. Ask yours to follow the steps below and publish petakopi.my to the workspace. Each member then installs it and signs in with their own petakopi.my account.

## Connect

**1. Switch on AI access**

Open **Manage → AI Apps** for the shop and switch on AI access. See [Switch on AI access for the shop](https://docs.petakopi.my/ai-assistant/overview.md#switch-on-ai-access-for-the-shop).

**2. Open Plugins**

Go to [chatgpt.com/plugins](https://chatgpt.com/plugins).

**3. Add a custom MCP server**

Click the **+** button, then **Add custom MCP server**. If you don't see it, turn on **Developer mode** under **Settings → Apps → Advanced settings** and try again.

**4. Name it and paste the address**

Type `petakopi.my` as the name. Under **Connection**, paste this as the **Server URL**:

```text theme={null}
https://petakopi.my/mcp
```

**5. Choose OAuth**

For authentication, choose **OAuth**. Leave the client ID and secret empty: ChatGPT registers itself with petakopi.my.

**6. Accept the warning**

Read the risk warning and select **I understand and want to continue**. Then select **Create as a plugin**.

**7. Install it and sign in**

Install the plugin. A petakopi.my page opens. Sign in if asked.

**8. Approve on petakopi.my**

The page says the app "wants read-only access to your petakopi.my shops". It lists **Shops it can read** and **What it can see**. Check that your shops are there, then tap **Approve**.

## Ask your first question

Start a new chat. Type `@` in the message box and pick **petakopi.my**, then ask:

```text theme={null}
@petakopi.my How did we do this month?
```

## Ready-made questions

The three guided prompts are a Claude feature. In ChatGPT, paste one of these instead:

* "Review last month's profit and give me three actions with the RM effect of each."
* "Which items should I raise, and to what?"
* "Plan next month: what do I need to sell a day, and which weekdays and hours fall short of break-even?"

ChatGPT reads the same eight reports as Claude. It never sees customer names, phone numbers, order notes or feedback text, and it cannot change anything. See [what is shared](https://docs.petakopi.my/ai-assistant/overview.md#what-is-shared) and the [limits](https://docs.petakopi.my/ai-assistant/overview.md#limits).

## Disconnect ChatGPT

Open **Manage** for your shop, tap **AI Apps** in the sidebar, find ChatGPT and tap **Revoke**. ChatGPT loses access straight away. To use it again, install the plugin and approve it again.

## Troubleshooting

> [accordion] "AI access is off for \<shop>"
>
> AI access is switched off for that shop. Open **Manage → AI Apps** for the shop, switch on AI access, then ask again. You don't need to connect again.

> [accordion] The approval page says no shop is switched on
>
> None of your shops has AI access switched on yet. Open **Manage → AI Apps**, switch on AI access for a shop, then connect again.

> [accordion] "Couldn't connect" or a 404 error
>
> Check the address is exactly `https://petakopi.my/mcp`. If it is, Ask AI isn't switched on for your account yet. Message us on WhatsApp and we will turn it on.

> [accordion] petakopi.my says the account doesn't own a coffee shop
>
> You signed in with an account that doesn't own a shop. Sign out of petakopi.my in that browser, connect again, and sign in with the account you use in Manage.

> [accordion] ChatGPT says it is signed out or the token expired
>
> Connect again: open the plugin at [chatgpt.com/plugins](https://chatgpt.com/plugins), sign in again when asked, and tap **Approve** on petakopi.my.

> [accordion] One of my shops is missing
>
> ChatGPT only sees shops your account owns and has switched on. If a shop is missing from **Shops it can read**, switch on AI access for it under **Manage → AI Apps**. If it is still missing, sign in with the account that owns that shop.

> [accordion] ChatGPT answers without your numbers
>
> Start a new chat, type `@` and pick **petakopi.my** before your question.

> [card] [Still stuck? WhatsApp us](https://wa.me/60199171765)
>
> Send us your shop's name and the step you are on.

**Next:** [Connect Claude](https://docs.petakopi.my/ai-assistant/claude.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.