{% extends "base.html" %} {% block content %}

MCP 代理状态

运行状态: {{ '运行中' if mcp_status.running else '已停止' }} PID: {{ mcp_status.pid or '-' }}
配置文件: {{ mcp_status.config_file }}

健康检查

{% if mcp_status.health.status == 'healthy' %} 健康 {% elif mcp_status.health.status == 'error' %} 错误

{{ mcp_status.health.message or '无法连接到 MCP 代理' }}

{% else %} 未知 {% endif %}

MCP 服务器配置

{% if mcp_status.config %} {% for name, server in mcp_status.config.items() %} {% endfor %}
名称 类型 命令 状态
{{ name }} {{ server.type or 'stdio' }} {{ server.command }} {{ server.args | join(' ') }} {% if server.disabled %} 已禁用 {% else %} 已启用 {% endif %}
{% else %}

未配置 MCP 服务器

{% endif %}

发现的服务

正在加载...

{% if token %} {% else %} {% endif %} {% endblock %}