{% extends "base.html" %}{% from "_macros.html" import csrf, flash, page_head %} {% block title %}Settings{% endblock %} {% block content %} {{ page_head("Settings") }} {{ flash(success) }} {{ flash(error) }}

Email & Preferences

{{ csrf() }}

Your email helps with password resets and notifications. It will never be shared.

{% if mcp_available %}{# the public release has no MCP server (oss/manifest.toml) #}

Connect Claude (MCP)

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.

{% if mcp_clients %}

Signed in from: {% for name, at in mcp_clients.items() %}{{ name }} (last {{ at }}){% if not loop.last %}, {% endif %}{% endfor %}.

{% endif %}

Or a token

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 %}

{% endif %}
{% endif %} {% endblock %}