{% extends "base.html" %} {% block title %}Available Tools - MCP Manager{% endblock %} {% block page_title %}Available Tools via MCPO{% endblock %} {% block page_subtitle %}List of servers and their methods available through the running MCPO instance{% endblock %} {% block head_extra %} {# Styles for COMPACT design with URL in the header #} {# JS for URL copying - moved to head so function is available before use #} {% endblock %} {% block content %} {# Manager error messages and MCPO status (remain unchanged) #} {% if error_message %}
error_outlineManager Error: {{ error_message }}
{% endif %} {% if tools_data.status == "RUNNING" %} {# Base URL notification (remains unchanged) #} {% if not tools_data.base_url_for_links.startswith('http://127.0.0.1') %}
infoLinks and base URLs are generated using the public address: {{ tools_data.base_url_for_links }} (from settings).
{% else %}
warningLinks and base URLs are generated using the local address: {{ tools_data.base_url_for_links }}. It might not be accessible externally. You can specify a public URL in settings.
{% endif %} {% if tools_data.servers %} {# End collapsible #} {% elif not error_message %} {# Message when MCPO is running but no servers defined #}
info_outline MCPO is running, but no active server definitions found...
{% endif %} {% elif tools_data.status == "STOPPED" %} {# Message when MCPO is stopped #}
power_settings_new MCPO process is currently stopped...
{% else %} {# ERROR status #} {# Message when MCPO status is ERROR #}
error_outline MCPO process is not running correctly...
{% endif %} {% endblock %}