feat(beszel): expose Beszel systems, alerts, and stats via MCP

Register beszelRouter in the MCP server with .meta({ mcp: enabled })
on getSystems, getAlerts, and getSystemStats procedures. AI assistants
can now query Beszel-monitored systems, view alerts, and fetch
historical metrics through the MCP protocol.

Ref #5968
This commit is contained in:
Thomas Camlong committed 2026-06-16 15:09:36 +02:00
1 parent 2a5398bec0
commit 8600c63bab
4 files changed
+27

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ import { healthMonitoringRouter } from "./router/widgets/health-monitoring";
import { mediaRequestsRouter } from "./router/widgets/media-requests";
import { mediaServerRouter } from "./router/widgets/media-server";
import { smartHomeRouter } from "./router/widgets/smart-home";
import { beszelRouter } from "./router/widgets/beszel";
export const mcpRouter = createTRPCRouter({
app: appRouterForApps,
@@ -26,6 +27,7 @@ export const mcpRouter = createTRPCRouter({
info: infoRouter,
integration: integrationRouter,
invite: inviteRouter,
beszel: beszelRouter,
calendar: calendarRouter,
dnsHole: dnsHoleRouter,
downloads: downloadsRouter,