{# The MCP access token list on the "Access tokens" sub-tab of /settings/ai/mcp. Included by llm-settings_mcp.html, and rendered on its own by the token routes after every ajax change (mcp-tokens.js swaps it in). Requires template context: mcp_tokens (see mcp_tokens_context()). #} {% set level_labels = {'none': _('None'), 'read': _('Read'), 'write': _('Write')} %} {% set area_labels = {'monitors': _('Monitors'), 'tags': _('Groups (tags)'), 'notifications': _('Notifications'), 'system': _('System info')} %} {% if mcp_tokens %}
{{ token.hint }}…
{%- if token.last_used %}{{ _('Last used %(when)s', when=token.last_used|format_timestamp_timeago) }}{% else %}{{ _('Never used') }}{% endif -%}
{%- if token.last_client %} · {{ token.last_client }}{% endif -%}