Spaces:
Running
Running
metadata
title: MCP HUB
emoji: 🚀
colorFrom: indigo
colorTo: purple
sdk: docker
pinned: true
MCP HUB Portal
A centralized discovery and monitoring dashboard for all available Model Context Protocol (MCP) servers.
Telemetry & Metrics
The Hub acts as a centralized observability server for all MCP agents.
Architecture
- Data Ingestion:
- Local Hub: Writes directly to a lightweight SQLite database (
/app/data/logs.db). - Remote Agents: Send log events via HTTP POST to the Hub's
/api/telemetryendpoint.
- Local Hub: Writes directly to a lightweight SQLite database (
- Storage: Data is stored in a relational
logstable containing timestamp, server ID, and tool name. - Visualization: The dashboard polls the SQLite DB to render real-time "Usage Trends" charts.
Future Proofing (Production Migration)
To scale beyond this monolithic architecture, the system is designed to be swappable with industry-standard tools:
- OpenTelemetry (OTel): Replace
src/core/mcp_telemetry.pywith the OTel Python SDK to export traces to Jaeger/Tempo. - Prometheus: Expose a
/metricsendpoint (scrapingget_metrics()) for Prometheus to ingest time-series data. - Grafana: Replace the built-in Vue.js charts with a hosted Grafana dashboard connected to the above data sources.
Features
- Server Discovery: List of all 7 production-ready MCP servers.
- Real-time Analytics: Tracks hourly, weekly, and monthly usage trends.
- Team Adoption: Visual metrics to see how the team is utilizing different tools.
Tech Stack
- Frontend: Vue.js 3 + Vite
- Charts: Plotly.js
- Styling: Vanilla CSS
- Hosting: Docker + Nginx