API & Integrations

    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.

    Updated 2026-07-10
    1 min read
    mcp
    tokens
    security

    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#

  1. Token format: lwm_<base32> — starts with lwm_
  2. Shown once at creation, then only the SHA-256 hash is stored
  3. Org-scoped (not user-scoped) — team members inherit access
  4. Only owners and admins can set a role override lower than their own
  5. Where to find it in Lemwatch#

    Settings → MCP tokens.

    How to rotate a token#

  6. Issue a new token with the same name.
  7. Update your AI client's config with the new value.
  8. Revoke the old token from the tokens list.
  9. Confirm the old token returns 401 within a minute.
  10. 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.

  11. MCP server overview
  12. MCP security and scopes
  13. MCP rate limits by tier
  14. Was this article helpful?