mcp-server-health-monitor

v1.0.1
io.github.dbsectrainer/mcp-server-health-monitor Checked 4 days ago Published 1 month ago

Health monitoring for all your MCP servers

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

health_check_all

Ping every configured MCP server via list_tools, measure latency, and store results. Returns a summary of all servers.

ParameterTypeDescription
timeout_msnumberPer-server probe timeout in milliseconds (default: 5000). Example: 5000

get_server_status

Get detailed health status for a specific MCP server by name.

ParameterTypeDescription
server_name *stringThe name of the MCP server to query. Example: 'filesystem' (use the key from your MCP config)

list_degraded

List all MCP servers that are offline or have latency above the threshold.

ParameterTypeDescription
latency_thresholdnumberOverride latency threshold in ms (default: configured threshold). Example: 2000 (flag servers slower than 2 seconds)

check_updates

Compare current tool schemas against last stored schemas to detect version drift across MCP servers.

ParameterTypeDescription
timeout_msnumberPer-server probe timeout in milliseconds. Example: 5000

export_dashboard

Generate a self-contained HTML health dashboard with server status, latency trends, and uptime sparklines.

ParameterTypeDescription
output_pathstringOptional file path to write the HTML output. Example: '~/Desktop/mcp-health.html'. If omitted, HTML is returned as text.

get_history

Return the raw health check history for a specific MCP server, ordered most-recent first.

ParameterTypeDescription
server_name *stringName of the MCP server to retrieve history for.
limitnumberMaximum number of records to return (default: 50, max: 500).

configure_server

Register a new MCP server to monitor. Servers added this way are stored in a supplementary config file alongside the database and are merged with servers discovered from Claude's config. Use this to monitor servers not present in Claude Desktop's config.

ParameterTypeDescription
command *stringCommand to launch the server. Example: 'node'
name *stringUnique name for the server. Example: 'my-custom-server'
argsarrayArguments to pass to the command. Example: ['/path/to/server.js']
envobjectOptional environment variables to set when launching the server.

remove_server

Remove a manually configured MCP server from monitoring. Only affects servers added via configure_server — servers discovered from Claude's config are not affected.

ParameterTypeDescription
name *stringName of the server to remove.