# How do I connect Qanary to claude.ai?

> Create a token in Qanary, on the "MCP" page, then add a custom connector in claude.ai: address https://mcp.qanary.dev, Authorization header.

Source: https://qanary.dev/en/help/connect-qanary-to-claude-ai  
Updated: 2026-11-27  
Product: Qanary, no-code automated testing for e-commerce  
Site index for AI assistants: https://qanary.dev/en/llms.txt

Qanary connects to claude.ai as a custom connector. Claude can then find your Qanary tests, run them, give you their results, and create new ones, right in a conversation. It takes about five minutes: one token to create in Qanary, one connector to add in claude.ai.

## Before you start

- **Your claude.ai account must offer request headers for connectors.** Qanary connects with an `Authorization` header: a piece of information claude.ai sends to Qanary with every call, here your token. In claude.ai, this option is still in beta and isn't open to every account: if the request headers section doesn't appear when you add the connector, connect Qanary to Claude Code, Cursor, or VS Code instead.
- **On a claude.ai Team or Enterprise account**, only an organization owner can add a custom connector, and the header is then the same for every member: they all act in Qanary with that person's token. On these accounts, use Claude Code, Cursor, or VS Code instead, where everyone uses their own token.
- **Choose what Claude will be allowed to do**: read and run your tests, or also create and delete them. The scopes are explained in [How do I use Qanary from my AI assistant (MCP)?](https://qanary.dev/en/help/use-qanary-from-your-ai).

## Create your token in Qanary

1. In Qanary, open "Settings," then "MCP" in the "Account" tab.
2. Click "New token."
3. In "Name," type `claude.ai`.
4. Keep "Expires in" at 90 days, or choose 30 or 365 days.
5. In "Scopes," keep "Read" and "Run." Keep "Author" too if Claude should create tests; uncheck it otherwise.
6. Click "Create token."
7. In the "Token created" window, click "Copy" next to "Authorization header value, for claude.ai and other hosts."

**Expected result**: you've copied a value that starts with `Bearer qanary_pat_`.

Qanary shows the token only once. Keep the window open until the connector is added in claude.ai.

## Add Qanary in claude.ai

1. On claude.ai, open "Settings," then "Connectors," and choose to add a custom connector.
2. Name: `Qanary`. URL: `https://mcp.qanary.dev`. Click "Continue."
3. For authentication, choose "No sign-in."
4. Add a request header:
   - name: `Authorization`;
   - value: what you copied in Qanary, for example `Bearer qanary_pat_…`.
5. Click "Add."

**Expected result**: Qanary appears in your list of claude.ai connectors.

The header value is the word `Bearer`, a space, then the whole token. The field you copied in Qanary already has this form: paste it without adding anything. claude.ai doesn't let you edit a header once the connector is added: to change tokens, remove the Qanary connector and add it again.

## Try it out

1. Open a new conversation in claude.ai.
2. Turn on "Qanary" in the conversation's connectors.
3. Ask: "List my Qanary projects."
4. Accept when Claude asks for permission to use Qanary.

**Expected result**: Claude answers with the list of your Qanary projects.

Then try a real question: "Which tests failed last night?" More ideas are in [What can I ask my AI assistant connected to Qanary?](https://qanary.dev/en/help/what-to-ask-your-ai).

## Should I allow Qanary once and for all in claude.ai?

By default, claude.ai may ask for your approval before a connector takes an action. To stop being asked, choose "Always allow" when Claude asks, or set a permission for each action in the Qanary connector's settings. Claude then acts without asking.

We recommend always allowing reading (listing tests, reading results, viewing screenshots) and running tests, but keeping the approval step for deleting a test (`delete_test`). Qanary can't restore a deleted test: see [What happens when I delete something in Qanary?](https://qanary.dev/en/help/deleting-in-qanary).

### On a Team or Enterprise account, the organization's setting wins

An owner of the claude.ai organization chooses, for each tool of the Qanary connector, "Always allow," "Needs approval," or "Blocked." This choice applies to every member, and no one can go beyond it: if a tool is set to "Needs approval" there, Claude asks for your approval on every call, even if you chose "Always allow" on your side.

This setting is in the claude.ai organization settings: "Connectors," then the Qanary connector, "Tools" tab. To stop being asked, the owner sets the tools you want to "Always allow," ideally keeping `delete_test` at "Needs approval." On an Enterprise account, a member's role can also require approval: the strictest rule always applies.

## If it doesn't work

- **claude.ai can't reach Qanary**: check the header value (the word `Bearer`, a space, then the whole token, without quotes). To fix it, remove the connector, create a new token in Qanary, and add the connector again.
- **Qanary stopped answering in claude.ai**: your token expired or was revoked. Create a new one, then remove the Qanary connector from claude.ai and add it again with the new value.
- **Claude can't find Qanary**: the connector isn't turned on in this conversation. Turn it on, then ask again.
- **Claude can't run your tests**: the token doesn't have the "Run" scope. Create a token that also has this scope, then remove the Qanary connector and add it again with the new value.
- **Claude can't create a test**: the token doesn't have the "Author" scope. Create a token that also has this scope, then remove the Qanary connector and add it again with the new value.
- **Claude asks for approval on every call, despite "Always allow"**: on a Team or Enterprise account, the organization's setting overrides yours. Ask an owner of the claude.ai organization to set Qanary's tools to "Always allow": see "On a Team or Enterprise account, the organization's setting wins."
- **There's no section for request headers**: your claude.ai account doesn't have access yet. Connect Qanary to Claude Code, Cursor, or VS Code: see [How do I connect Qanary to Claude Code, Cursor, or VS Code?](https://qanary.dev/en/help/connect-claude-code-cursor-vs-code).
- **You can't add a custom connector**: on a Team or Enterprise account, a claude.ai organization owner has to add it.
- **Still stuck**: email contact@qanary.dev with what claude.ai shows.

## Frequently asked questions

### Can my colleagues use my Qanary connector?

On a personal claude.ai account, no: each person creates their own token in Qanary and adds it to their own claude.ai. Claude then acts with that person's role, and "Revoke" only cuts off their access. On a Team or Enterprise account, the connector and its token are shared by the whole organization: see "Before you start."

### Can I connect Qanary to ChatGPT the same way?

Not yet. ChatGPT's connectors require an OAuth sign-in, which Qanary doesn't offer today.

### Does Claude see my passwords?

No, unless you give it one yourself. Values marked sensitive, such as passwords, stay masked in everything Qanary sends to Claude. For a journey with a sign-in, record the sign-in yourself in Qanary, as a block: Claude starts from that block without seeing the password. A password you give Claude (for a test account or a password-protected staging site) goes through Claude and Anthropic.
