Setting up the MCP in your editor

The Claude app and Codex sign in with your BYQ account, with no key. The other tools use the same BYQ address plus your key, and only the config format differs. Here's what each one expects.
Works with
  • AI coding tools
  • BYQ Website Builder

One connection covers both jobs: pulling from the library and building your BYQ sites. There are two ways to connect, depending on the tool. The Claude app (web, desktop and mobile) and Codex sign in with your BYQ account, with no key and no config file. Claude Code and Cursor can do either: sign in with your BYQ account, or use the BYQ address plus your MCP key. Lovable and other tools use the address plus your key; only the config format differs. Jump to your tool:

‍

Before you start: get your key

The key route (Claude Code, Cursor, Lovable and other tools) needs an MCP key. The Claude app, Codex and the sign-in routes for Claude Code and Cursor do not. Open your MCP setup page and generate one, or create one under Settings → Developers. It's shown once, so copy it straight away. New keys never replace old ones; revoke each one you no longer want in Settings → Developers. Keys expire after one year by default. The setup page also builds a ready-made snippet for each editor with the address and your key already filled in, so most of the time you only copy and paste. A key connects on any plan; searching and pulling sections, gems, wireframes and design systems needs Pro or Ultra.

‍

Claude

For Claude on the web, desktop and mobile. No key, no config file. The easiest route is the connector directory:

  1. Open the toolbox in the Claude sidebar and go to Customize → Connectors.
  2. Click +, then Browse connectors.
  3. Find BYQ Supply and click Connect.
  4. Sign in with your BYQ account. That's it.

Or add it as a custom connector: go to Settings → Connectors → Add custom connector, set the name to BYQ Supply and the server URL to https://app.byq.supply/api/mcp, then save. Claude opens a browser window for you to sign in and approve. Leave the Client ID and Client Secret fields blank; they aren't needed.

The sign-in screen has a Build sites box, ticked by default. Leave it ticked if you want Claude to build your BYQ sites as well as use the library.

On Team and Enterprise plans an owner adds it once for the organisation, and members then connect with their own BYQ account.

Check it: ask Claude to "search BYQ for a pricing section."

‍

Claude Code

Claude Code runs in your terminal. It can connect two ways.

Sign in with your BYQ account (no key). Run this once in your terminal, then type /mcp in a Claude Code session, pick byq and choose Authenticate. Approve on the BYQ page that opens.

Terminal
claude mcp add --transport http byq https://app.byq.supply/api/mcp

Or use a key. The steps below register the server as byq-supply.

  1. Get your key (see Before you start).
  2. Run this once in your terminal — not inside a Claude Code session — with your key in place of YOUR_API_KEY. It registers BYQ globally, so it's available in every project afterward.
Terminal
claude mcp add --transport http byq-supply https://app.byq.supply/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Check it: run claude mcp list — you should see byq-supply in the list. Restart any open session to pick it up.

‍

Cursor

Cursor can connect two ways.

Sign in with your BYQ account (no key). In the BYQ builder, choose Add to Cursor for a one-click install, then click Login next to byq in Cursor's MCP settings and approve on the BYQ page.

Or use a key. Cursor keeps its MCP servers in a JSON file.

  1. Get your key (see Before you start).
  2. Open ~/.cursor/mcp.json for all projects, or .cursor/mcp.json inside a single project. If the file doesn't exist yet, create it with the block below.
  3. If it already has other servers, merge byq-supply inside the existing mcpServers block — pasting a second one at the top level won't work.
  4. Restart Cursor.
JSON
{
  "mcpServers": {
    "byq-supply": {
      "url": "https://app.byq.supply/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Check it: open Cursor Settings → MCP; byq-supply should show a green dot.

‍

Codex

Codex signs in with your BYQ account, so there's no key. The CLI, the IDE extension and the desktop app all share it, so you only do it once.

  1. Run the command below in your terminal.
  2. Codex opens a BYQ page in your browser. Sign in and approve, with Build sites ticked if you want Codex to build your BYQ sites too.
Terminal
codex mcp add byq --url https://app.byq.supply/api/mcp

Added BYQ to Codex before with a key? Run codex mcp remove byq-supply first.

‍

Check it: ask Codex to "search BYQ for a pricing section."

‍

Lovable

Lovable doesn't use a config file — you add the server in the interface.

  1. Get your key (see Before you start).
  2. Open Settings → MCP and add a new server.
  3. Server URL: https://app.byq.supply/api/mcp
  4. API key: your BYQ key, pasted on its own (Lovable adds the rest of the header for you).
  5. Save. Lovable connects to BYQ for that project.

Check it: ask Lovable to "search BYQ for a pricing section."

‍

Other AI tools

Any tool that lets you add an MCP server by web address works. Look in your tool's settings for an option to add a custom MCP server, then give it the BYQ address and your key in an Authorization header, as below.

Connection details
URL: https://app.byq.supply/api/mcp
Authorization: Bearer YOUR_API_KEY
Confirming it works

The quickest test is to ask your AI for something BYQ-specific, for example "search BYQ for a pricing section." If it returns results, you're connected. If it says it can't, the server isn't registered yet, and it's almost always one of these:

  • You didn't restart the tool. Most tools only load MCP servers at startup, so restart and try again.
  • The key is wrong. A cut-off or mistyped key is the most common cause. Create a new one and paste the full snippet again.
  • The address is wrong. Copy https://app.byq.supply/api/mcp exactly. A missing piece stops the connection.
  • Your old key predates site building. Keys created before site building was added can't build sites. Reconnect, or create a new key.
  • Your AI asks for Pro or Ultra. The connection works on any plan, but finding and pulling sections, gems, wireframes and design systems needs Pro or Ultra.

Once your AI can see BYQ, you're ready to start. The next chapter covers what it can now do.

A plain-language tour of the eight tools the MCP gives your AI: searching and fetching sections, gems, wireframes, and design systems.