mcp-hub-002: WebSocket backend registration and health tracking

This commit is contained in:
Agent 2026-03-12 16:46:30 +00:00
parent 60d92af13b
commit a93bcfffa7
4 changed files with 138 additions and 2 deletions

View file

@ -1,4 +1,5 @@
const express = require('express');
const registry = require('./backend-registry');
const app = express();
@ -16,7 +17,7 @@ app.get('/health', (req, res) => {
res.json({
status: 'ok',
uptime: process.uptime(),
connectedBackends: 0,
connectedBackends: registry.count(),
});
});