# `Cairnloop.MCP`
[🔗](https://github.com/szTheory/cairnloop/blob/main/lib/cairnloop/mcp.ex#L1)

Public facade for the MCP token management and validation.

# `issue_token`

Issues a new token.
Returns `{:ok, token_record, raw_token_string}` on success.

# `list_active_tokens`

Lists all active tokens.

# `revoke_token`

Revokes an active token.

# `update_token`

Updates an existing token.

# `validate_token`

Validates a given raw token string.
Returns `{:ok, token}` if valid, or `{:error, :unauthorized}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
