# missing_agent_key

> The MCP endpoint needs a Tickwire agent key, and none was sent.

Source: https://tickwire.io/docs/errors/missing_agent_key/

HTTP 401. Nothing reached the broker.

**Likely causes:**

- No `Authorization: Bearer …` header.
- The bearer value is not an agent key (agent keys start with `twag_`).

**What to do:** Create an agent key in the dashboard and send it as `Authorization: Bearer twag_…`.

**Retry:** No. The same request gets the same answer; change something first.

Listed under [Keys, tokens and permissions](https://tickwire.io/docs/errors/#keys-tokens-and-permissions) in [Errors](https://tickwire.io/docs/errors/). Send the error's `requestId` to support and we can find the request.
