{% extends "base.html" %}{% from "_macros.html" import csrf, flash, page_head %} {% block title %}Settings{% endblock %} {% block content %} {{ page_head("Settings") }} {{ flash(success) }} {{ flash(error) }}
Let Claude, or any MCP client, read racinglines data and queue Lab jobs as you. Server: {{ mcp_url }}
Pro access includes shared race data and Lab research, plus your own positions, signals and jobs. Other accounts' records and jobs are not accessible. SQL and audit tools are admin-only; demo accounts cannot connect.
{% if not mcp_allowed %}MCP access is open to {{ mcp_roles }} accounts; ask an admin if you need it.
{% else %}In claude.ai or Claude Desktop: Settings > Connectors > Add custom connector, URL {{ mcp_url }}, then
Connect and Allow. In Claude Code: claude mcp add --transport http racinglines {{ mcp_url }}, then /mcp.
No token to copy: you sign in here.
Signed in from: {% for name, at in mcp_clients.items() %}{{ name }} (last {{ at }}){% if not loop.last %}, {% endif %}{% endfor %}.
{% endif %}For scripts and clients without sign-in.
{% if mcp_issued_at %}You have a token, issued {{ mcp_issued_at }}. A new one replaces it.{% else %}You have no token yet.{% endif %}