Skip to Content

dev_health

Monitor MCP server health and component status. Useful for diagnostics and proactive monitoring.

Usage

dev_health(format?)

Parameters

ParameterTypeDefaultDescription
format"compact" | "verbose""compact"Output format

Example

β€œUse dev_health”

## MCP Server Health Status: βœ… Healthy Uptime: 2h 34m 12s Components: - Vector Storage: βœ… Pass (24ms) - Repository Index: βœ… Pass (12ms) - GitHub Index: βœ… Pass (8ms) - Rate Limiter: βœ… Pass (89/100 tokens available)

Verbose Output

β€œUse dev_health format verbose”

## MCP Server Health (Verbose) Status: βœ… Healthy Version: 0.1.0 Started: 2024-01-15T08:00:00Z Uptime: 2h 34m 12s Process ID: 12345 Components: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Component β”‚ Status β”‚ Latency β”‚ Details β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ Vector Storage β”‚ βœ… Pass β”‚ 24ms β”‚ LanceDB connected β”‚ β”‚ Repository Indexβ”‚ βœ… Pass β”‚ 12ms β”‚ 1,832 components β”‚ β”‚ GitHub Index β”‚ βœ… Pass β”‚ 8ms β”‚ 172 documents β”‚ β”‚ Rate Limiter β”‚ βœ… Pass β”‚ <1ms β”‚ 89/100 tokens β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ Memory Usage: 145 MB CPU: 2.3%

Health States

StateMeaning
βœ… HealthyAll components operational
⚠️ DegradedSome components have warnings
❌ UnhealthyCritical components failing

Component Checks

ComponentWhat It Checks
Vector StorageLanceDB connection and query capability
Repository IndexIndex exists and is readable
GitHub IndexGitHub metadata is accessible
Rate LimiterToken bucket has capacity

Use Cases

Proactive monitoring. Check health before important operations to catch issues early.

Debugging tool failures. If a tool returns errors, health check can identify the root cause.

Response Metadata

{ "metadata": { "tokens": 156, "duration_ms": 45, "status": "healthy", "components_checked": 4 } }
Last updated on