{% extends "base.html" %}{% from "_macros.html" import csrf, page_head %} {% block title %}Connect Claude{% endblock %} {% block content %} {{ page_head("Connect Claude") }}
{% if not info %}

This sign-in link has expired or isn't valid. Start again from your MCP client (in Claude: reconnect the racinglines connector).

{% elif not allowed %}

MCP access is open to {{ roles }} accounts, and {{ user.username }} isn't one. Sign in as another account, or ask an admin.

{{ csrf() }}
{% else %}

{{ info.client }} wants to use racinglines as {{ user.username }}: read the app's data and queue Lab jobs under your name. It can't place orders, quote or settle.

After you allow it, you'll go back to {{ info.redirect_host }}. You can disconnect it any time in Settings.

{{ csrf() }}
{% endif %}
{% endblock %}