ConquerorDocs

CLI authentication

Create a Conqueror API key, give it to the CLI, and point the CLI at a self-hosted instance.

The CLI authenticates with a Conqueror API key. The same key works for the REST API and for any MCP client that can send a bearer header.

Create a key

  1. Sign in to Conqueror and open Developers.
  2. Under API keys & CLI, type a name for the key, such as n8n or nightly cron.
  3. Click Create key and copy the key. It starts with cq_.

The key is shown once. Conqueror stores only a hash of it, so nobody can show it to you again. If you lose it, revoke it and create a new one.

What a key can do

  • A key acts as you, in the workspace where you created it. It can do what you can do through MCP, and it spends the same credits.
  • Each person sees and revokes only their own keys.
  • Members with read-only access can't create keys.
  • A key stops working when you revoke it, and when you leave or are removed from the workspace.

Give the key to the CLI

There are two ways. The environment variable wins when both are set.

Environment variable

Use this in cron, CI, n8n and anywhere else that runs unattended:

export CONQUEROR_API_KEY=cq_your_key

Keep the key in your tool's secret store. Don't commit it to a repository.

Saved login

On your own machine you can save the key once:

conqueror login

The CLI asks for the key, checks it against Conqueror, and saves it to ~/.config/conqueror/config.json with permissions that let only your user read it. You can also pass the key directly, or pipe it in:

conqueror login cq_your_key
echo "$KEY" | conqueror login

To remove the saved key:

conqueror logout

Self-hosted Conqueror

The CLI talks to https://winwith.conquerorapp.com by default. For a self-hosted instance, set its address and create the key on that instance:

export CONQUEROR_URL=https://seo.your-company.com
export CONQUEROR_API_KEY=cq_your_key

conqueror login --url https://seo.your-company.com saves the address together with the key.

Use the key without the CLI

A client that lets you set request headers can call Conqueror MCP directly with the key:

URL:     https://winwith.conquerorapp.com/mcp
Header:  Authorization: Bearer cq_your_key

This is how the n8n MCP Client Tool node connects. See Recipes.

Troubleshooting

MessageWhat to do
No API key. Run conqueror login or set CONQUEROR_API_KEY.The CLI found no key. Set the variable in the same shell or job that runs the command.
This API key is invalid or was revoked.Create a new key. A key also stops working when its owner leaves the workspace.
Could not reach …Check CONQUEROR_URL and your network.