Reasons and how to fix
The header is missing or malformed
Send the key on every request, exactly asAuthorization: Bearer <key>, with the word Bearer and one space:
The key was regenerated
Each account has one key. Clicking Regenerate on the API key page stops the old one immediately. Update your server’s environment variable and your MCP client config with the new key.The key isn’t reaching your server code
If the key comes from an environment variable, check that it’s set where the code runs (your host’s dashboard, not only your local.env), and that it has no quotes or trailing spaces.
See Authentication.