How to connect another AI assistant to Pandectes
Overview
The Pandectes AI assistants connector works with any assistant or developer tool that supports MCP (Model Context Protocol), such as Cursor, VS Code or Windsurf. This guide shows the two ways to connect one: through the Connect to Pandectes sign-in page, or with your key in the tool's configuration.
The assistant can only read: it can't change settings or see customer data. For what the connector does and how to cut access, see AI assistants connector: ask Claude or ChatGPT about your privacy setup.
Using Claude or ChatGPT? Follow How to connect Claude to Pandectes or How to connect ChatGPT and Codex to Pandectes instead.
Before you start
- Your Pandectes plan is Plus or higher.
- Your tool supports remote MCP servers over HTTP (often called Streamable HTTP). Tools that only run local MCP servers can't connect.
Step 1: Generate your store key
- In Shopify Admin, go to Apps > Pandectes GDPR Compliance > Integrations.
- Open the AI assistants tab and click Set up on the Other AI assistants card.
- Under Store key, click Generate key.
- Click the eye icon (Show key) to see the key, then click Copy.
You can show the key for 10 minutes only. After that the page shows just its last four characters, and you need to generate a new one if you lost it.
Keep this page open: you also need the Connector URL and the Configuration snippet.
Step 2: Add Pandectes to your tool
Option A: Sign in with the Connector URL
If your tool can add a remote MCP server by URL and supports sign-in (OAuth):
- Add a new MCP server in your tool and paste the Connector URL.
- If a Connect to Pandectes page opens, paste your key in Pandectes key and click Approve.
The tool then appears under Connected assistants on the Pandectes page, and Pandectes emails your store's address about the new connection.
If no Connect to Pandectes page opens, use Option B.
Option B: Add the configuration with your key
Most tools read MCP servers from a JSON file. Copy the snippet under Configuration (replace YOUR_STORE_KEY with your key) on the Pandectes page. It already contains your connector URL and looks like this:
{
"mcpServers": {
"pandectes": {
"url": "CONNECTOR_URL",
"headers": {
"Authorization": "Bearer YOUR_STORE_KEY"
}
}
}
}- Replace
YOUR_STORE_KEYwith your key. Keep the wordBearerand the space before the key. Pandectes never fills the key in for you. - Add the
pandectesentry to your tool's MCP configuration. If the file already has anmcpServerssection, add only thepandectesentry inside it. In Cursor, for example, this is themcp.jsonfile you open from Cursor's MCP settings. - Save the file and restart the tool or reload its MCP servers.
VS Code uses a slightly different format in its mcp.json file: the section is called servers instead of mcpServers, and each server needs "type": "http":
{
"servers": {
"pandectes": {
"type": "http",
"url": "CONNECTOR_URL",
"headers": {
"Authorization": "Bearer YOUR_STORE_KEY"
}
}
}
}A tool connected this way sends the key with every request, so it doesn't appear under Connected assistants. Under Store key you see Also used directly, without the sign-in page and when the key was last used.
Step 3: Ask your questions
Open your tool's AI chat and ask, for example:
- "Is my cookie banner showing?"
- "How many cookies are uncategorized in my latest scan?"
- "What were my consent rates in the last 30 days?"
Your tool may ask for permission the first time it uses a Pandectes tool.
Disconnect the tool
On the Other AI assistants page in Pandectes:
- For a tool that signed in through the Connect to Pandectes page, click Disconnect next to it under Connected assistants and confirm. Your key keeps working.
- For a tool that uses the key in its configuration, click Revoke key and confirm. This stops every connection made with the key.
Removing the pandectes entry from your tool's configuration doesn't revoke the key in Pandectes.
Troubleshooting
- The tool shows an authorization error. Check that the header reads
Bearerfollowed by the whole key, starting withpdx_mcp_. If you generated a new key or revoked it, the old one no longer works. - "This key is not valid or was revoked." (on the Connect to Pandectes page) Copy the whole key again, or generate a new key and connect again.
- "Connecting AI assistants needs a paid Pandectes plan (Plus or higher)." Upgrade your Pandectes plan, then connect again.
- "This key can't be shown any more." The 10 minutes to show the key have passed. Click Generate new key and copy the new one. This disconnects anything that used the old key.
Related articles
- AI assistants connector: ask Claude or ChatGPT about your privacy setup
- How to connect Claude to Pandectes
- How to connect ChatGPT and Codex to Pandectes
Updated on: 11/11/2026
Thank you!
