{% extends "auth_layout.html" %} {% block title %}MCP server sign-in{% endblock %} {% block heading %}MCP server sign-in{% endblock %} {% block content %} {% if per_user %} {% if signed_in %}
You are signed in to the MCP server {{ server }} as yourself. Its tools are now available to you in Spark.
You can close this window and return to Spark.
{# The sign-in window the tools panel or a conversation opened closes itself after a short pause, so the person is back in Spark. That window has no opener (the page cuts it off before the authorisation server loads), so its own close is tried: browsers ignore it for a window no script opened, which therefore stays open. #} {% else %}Your sign-in{% if server %} to the MCP server {{ server }}{% endif %} did not succeed.
{% if message %}You can close this window, return to Spark and choose Sign in again.
{% endif %} {% else %} {% if signed_in %}Signed in to the MCP server {{ server }}. Its tools are available to the roles it is granted to.
{% else %}The sign-in{% if server %} to the MCP server {{ server }}{% endif %} did not succeed.
{% if message %}You can close this window and return to the settings page.
{% endif %} {% endblock %}