How do I create and revoke MCP tokens?

MCP tokens are org-scoped bearer secrets. Create them in Settings, copy once, and revoke any time — hashes are stored, plaintext never is.

Quick answer

Go to Settings → MCP tokens → Issue. Name it, pick a role override (optional), copy the lwm_... token immediately, and paste it into your AI client. Revoke from the same page any time.

What to know

Where to find it in Lemwatch

Settings → MCP tokens.

How to rotate a token

  1. Issue a new token with the same name.
  2. Update your AI client's config with the new value.
  3. Revoke the old token from the tokens list.
  4. Confirm the old token returns 401 within a minute.

FAQ

I lost my token — can I retrieve it?

No. Revoke and issue a new one.

Who can see token names?

Any team member with viewer+ role. Only owners/admins can create or revoke.

Related