# Quickstart

> Get a key, connect your MCP client, and check the connection with one prompt.

Cookie Crowbar scans company websites and DNS and tells you which tools they run: CRM, marketing
automation, analytics, outbound and more. You use it from your AI assistant through MCP, or call the
same operations over HTTP.

You need:

- an API key. It starts with `cs_live_`. Keys are issued by hand during the private beta:
  [request one](https://tally.so/r/zENj8M). Treat it like a password.
- an MCP client: Claude Code, Claude Desktop, or any client that speaks Streamable HTTP.

MCP endpoint: `https://api.cookiecrowbar.com/mcp`

## Claude Code

Run this in the repo where you want to use it:

```bash
claude mcp add --transport http cookiecrowbar https://api.cookiecrowbar.com/mcp \
  --header "Authorization: Bearer cs_live_YOUR_KEY"
```

This adds the server to the current project only. Add `--scope user` to make it available in every
project.

Then start Claude Code and run `/mcp`. `cookiecrowbar` should show as connected.

## Claude Desktop

Claude Desktop's connector screen can't send an API key header, so use the `mcp-remote` bridge
(needs Node.js 18+). Open Settings → Developer → Edit Config, and add:

```json
{
  "mcpServers": {
    "cookiecrowbar": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.cookiecrowbar.com/mcp",
               "--header", "Authorization:${CC_AUTH}"],
      "env": { "CC_AUTH": "Bearer cs_live_YOUR_KEY" }
    }
  }
}
```

If the file already lists other servers, put a comma between the entries. Quit Claude Desktop fully
(Cmd+Q) and reopen it.

`mcp-remote` is only a local relay that adds your key. The scanning still runs on our server. If the
server fails to start, check `~/Library/Logs/Claude/mcp-server-cookiecrowbar.log`. The usual cause
is that Claude Desktop can't find `npx`. Use its full path (from `which npx`) as `command`.

## Other MCP clients

Point the client at `https://api.cookiecrowbar.com/mcp` (Streamable HTTP) and send one header:
`Authorization: Bearer cs_live_YOUR_KEY`. `X-API-Key: cs_live_YOUR_KEY` also works.

There is no OAuth yet, so clients that only accept a bare URL, such as claude.ai custom connectors,
can't connect. Clients that can send a header (Claude Code, Cursor, the Agent SDK) can.

## Check it works

Ask your assistant:

> Use cookiecrowbar to list the CRM vendors it can detect.

It should call the `catalog` tool and list vendors such as HubSpot and Salesforce.

| What you see | What it means |
|---|---|
| `401 Missing API key` | No key header was sent. Check the `Authorization` header is set. |
| `401` with a key set | The key is unknown or revoked. Ask for a new one. |
| Server not listed or failing in `/mcp` | Check the URL and restart the client. |

## Calling the HTTP API instead

Every MCP tool except `guide` calls the HTTP API, and you can call it directly with your key in the
`X-API-Key` header. Ask us for the routes.

## Beta limits

- Keep batches small for now (a few dozen domains). The beta is shared by every key holder.
- Results arrive progressively. Collection time varies by site and queue load, and some DNS
  findings arrive after the first result.
- Each beta key carries a per-key monthly domain allowance. Explore, scan and results responses
  report what is left in `usage.month`.
- Only scan domains you have a business reason to look at.

Next: [using it](https://cookiecrowbar.com/docs/using-it).
