SelfHeal MCP
v0.1.1Self-healing proxy for MCP servers with retry, circuit breaker, and observability
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wrap_call Self-Healing Function Call
Execute a function call with retry, circuit breaker, and metrics. Pass a target name and the function will be retried on transient failures. Use this to wrap any unreliable external call.
| Parameter | Type | Description |
|---|---|---|
description * | string | Human-readable description of what this call does |
target * | string | Identifier for the target service (used for circuit breaker tracking) |
body | string | Request body (for POST/PUT/PATCH) |
headers | object | HTTP headers |
method | string | HTTP method (default: GET) |
timeoutMs | number | Timeout per attempt in ms (default: 30000) |
url | string | URL to call (for HTTP targets) |
circuit_status Circuit Breaker Status
Check the health status of a target. Returns circuit state, failure count, and cooldown.
| Parameter | Type | Description |
|---|---|---|
target | string | Target to check. Omit to see all targets. |
circuit_reset Reset Circuit Breaker
Reset a circuit breaker back to closed (healthy). Use after fixing the underlying issue.
| Parameter | Type | Description |
|---|---|---|
target | string | Target to reset. Omit to reset all. |
metrics Call Metrics
Get observability metrics — success rates, latency, top errors, breakdown by tool and target.
| Parameter | Type | Description |
|---|---|---|
windowMinutes | number | Time window in minutes (default: 60) |
recent_errors Recent Errors
Get the most recent failed calls with full error details and retry logs.
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of errors to return (default: 20) |