ChatGPT Desktop
The ChatGPT desktop app reads the same MCP configuration file as Codex, so it connects with a key in a config file rather than by signing in.
This page is for the desktop app only. ChatGPT on the web cannot use a pasted key — it connects by signing in instead. See ChatGPT.
Before you start
In AOV.ai Cart Drawer, open Settings → MCP connectors and add a connection. Choose the access level, then create a key and copy it — it is shown once. See Authentication.
Add the server
Open or create ~/.codex/config.toml on the computer where ChatGPT desktop is installed, and add:
[mcp_servers.aov-cart-drawer-your-store]
url = "https://aov-cart-drawer.firebaseapp.com/mcp"
http_headers = { Authorization = "Bearer aov_mcp_YOUR_KEY" }Replace aov-cart-drawer-your-store with a name that includes your store, and aov_mcp_YOUR_KEY with
your key.
If the file already contains a section with this server name, replace that section rather than adding a duplicate.
The header is written out in full here rather than pointing at an environment variable. A desktop app is often launched from the dock rather than from a terminal, so it never sees variables exported in your shell profile. A self-contained block keeps working either way.
Save the file, then restart the ChatGPT desktop app.
Check it worked
In a ChatGPT desktop chat, type /mcp. You should see aov-cart-drawer-your-store listed, with 12 or
13 tools for Read only, or 44 for Read and write.
Then ask something only your store can answer:
Is my cart drawer working right now?
If the server is listed but the question comes back with a refusal, the address is right and the key is not — see Troubleshooting.
Related
- Authentication
- Codex — same config file, different app
- Troubleshooting