Files
agent-platform/agent_platform/templates/tools.html
T
Leopold 64b840c94c feat: agent platform initial commit
- FastAPI + HTMX UI: dashboard, agents CRUD, chat, audit, tools
- SQLite schema: agents, conversations, messages, audit, sessions
- Code-agent sync (agents/*.py -> DB on startup)
- MCP client with health check
- Token auth (Bearer + session)
- LiteLLM integration via llm.py
- Docker Compose: agent-platform + mcp-tools services
- Smoke tests pass: /health 200, /api/agents 200, / 401
2026-07-05 22:18:00 +02:00

47 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}MCP Tools Agent Platform{% endblock %}
{% block content %}
<div class="page-header">
<h1>MCP Tool-Server</h1>
<p class="subtitle">
Status:
{% if reachable %}
<span class="badge badge-green">erreichbar</span>
{% else %}
<span class="badge badge-red">nicht erreichbar</span>
{% if error %}<br><small>{{ error }}</small>{% endif %}
{% endif %}
</p>
</div>
<section class="card">
<h2>Verfügbare Tools ({{ tools|length }})</h2>
{% if tools %}
<div class="tools-grid">
{% for tool in tools %}
<div class="tool-card">
<h3><code>{{ tool.name }}</code></h3>
<p>{{ tool.description }}</p>
{% if tool.inputSchema %}
<details>
<summary>Schema</summary>
<pre><code>{{ tool.inputSchema | tojson(indent=2) }}</code></pre>
</details>
{% endif %}
</div>
{% endfor %}
</div>
{% else %}
<p class="empty-state">
{% if reachable %}
MCP-Server erreichbar, aber keine Tools registriert.
{% else %}
MCP-Server nicht erreichbar. Prüfe die Konfiguration.
{% endif %}
</p>
{% endif %}
</section>
{% endblock %}