{# 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'), 'browser': _('Browser steps & JavaScript'), 'system': _('System info')} %} {% if mcp_tokens %} {% else %} {# Nothing can connect without one, so the empty list is the next step, not just a note #} {% endif %}