{% extends "base.html" %} {% block title %}Overview · kb-mcp admin{% endblock %} {% block content %}
Active docs{{ stats.documents }}
Deleted docs{{ stats.deleted_documents }}
Types{{ stats.types }}
Links{{ stats.links }}
Orphans{{ stats.orphan_documents }}
Vectors{{ stats.vectors }}

Recent updates

{% for doc in recent_docs %}
{{ doc.title }}
{{ doc.type }} · {{ doc.id }}
{% else %}
No documents yet.
{% endfor %}

Type distribution

{% for type_name, count in type_counts %}
{{ type_name }}
{{ count }}
{% else %}
No document types yet.
{% endfor %}

Top tags

{% for tag, count in tag_counts %} {{ tag }} {{ count }} {% else %}
Tags will show up once documents start carrying them.
{% endfor %}

Doctor

{{ "Healthy" if doctor_report.ok else "Needs attention" }}
{% for check in doctor_report.checks %}
{{ check.name }}
{{ check.detail }}
{{ "OK" if check.ok else "Fail" }}
{% endfor %}
{% endblock %}