Expand description
GET /api/admin/mcp — the console’s window into the tool channel
(GL#104). GET-only like every admin endpoint (config changes stay
git-reviewed file diffs); mounted behind the gateway’s Bearer middleware
by gateway serve.
Structs§
- McpAdmin
Response - McpInventory
Row - McpServer
Row - One registered MCP server, enriched with live inventory counts.
- McpTool
Row - McpTotals
Functions§
- get_mcp
GET /api/admin/mcp?from=&to=— inventory, per-tool activity and window totals. With no registered servers the endpoint still answers (empty lists), so the console can render its “register a server” empty state.