Skip to content

API keys

Create an API key in Developers for Claude Code, Cursor or a script, copy it once, rotate it if it leaks, and revoke it when you are done.

On this page

An API key lets an AI client act as you, with your own permissions and no more. It is how Claude Code and Cursor connect to the MCP server. You create it in Developers, copy it once and revoke it when you are done.

Create a key

  1. Open Developers. As an Owner or Admin, open Settings and choose Developers.

  2. Name it. In API keys, type a Key name (up to 80 characters, for example the tool it is for) and choose Create key.

  3. Copy it once. A dialog shows the key once. Choose Copy key (it changes to Copied), store the key somewhere safe, then choose I've saved it. The same dialog offers a ready block for an AI client with the key already in it.

  4. Check the list. The key appears under Your API keys with the start of its value, who created it and when, and "never used" until a tool uses it.

Use a key

Send it as a bearer token on every request to the MCP server:

Request header
Authorization: Bearer <your key>

A missing, mistyped or revoked key is answered with 401 and "Not signed in.".

What a key can do

A key has no scopes to choose: it acts with the permissions of the member who created it, checked on every call, so removing or demoting that member limits the key on its next use. What it creates passes the same checks and approval rules as everything else.

Rotate or revoke

  • Rotate replaces the key in place: "The current credential stops working immediately, and you'll see the new one once." Use it when the tool should keep working with a fresh key.

  • Revoke retires it: choose Revoke beside the key, then Yes, revoke. Anything using it stops working immediately.

Create one key per tool, so revoking one affects only the tool you meant. Creation, rotation and revocation are written to the audit log.

If it did not work

  • Developers is not in your Settings. It is for Owners and Admins.

  • A tool says the key is rejected. Check you pasted the whole value and that the key is still listed; a revoked key never comes back.

  • A key that worked has stopped. It may have been revoked or rotated, or the member who made it was removed from the workspace. Create a new key.