MCPInstall
mcp_tracker logo

mcp_tracker

by agg111 3 stars agg111/mcp_tracker

MCP Tracker

READMEmain

MCP Tracker

MCP server

MCP tracker server - monitor.py

Supposed to pull metrics, logs, provide debugging suggestions

In user MCP, add function to record metric -

def record_metric(server_name: str, metric_name: str, value: float, unit: str = "", tags: dict[str, Any] = {}) -> str:
    supabase.table("mcp_metrics").insert({
        "server_name": server_name,
        "metric_name": metric_name,
        "value": value,
        "unit": unit,
        "tags": tags
    }).execute()

Record metric from mcp.tool function as -

# Send temperature as metric
    record_metric(
        server_name="weather-mcp",
        metric_name=f"forecast_temp_{name}",
        value=temp,
        unit=unit,
        tags={"wind": wind, "description": desc}
    }

Streamlit dashboard for metrics

To run -

streamlit run dashboard.py    

Open http://localhost:8501 to view metrics dashboard

More Monitoring MCP servers

Similar servers from the same category.

VictoriaLogs

victoriametrics-community

Provides a bridge between VictoriaLogs and language models for querying and analyzing log data, enabling DevOps teams to troubleshoot issues and extract insights without writing complex query syntax.

LogText+2

VictoriaMetrics

victoriametrics-community

Provides direct access to VictoriaMetrics monitoring instances for querying metrics, exploring time series data, analyzing alerting rules, and debugging configurations without requiring online access.

TextModel+1

Provides structured access to CloudWatch Logs data for searching, analyzing, and correlating logs across AWS services to help with troubleshooting and pattern identification.

search

Understand how your Worker projects are performing via logs, traces, and other data sources.

Monitoring