SelfHeal MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SELFHEAL_CONFIG | No | Config file path for proxy mode | ./selfheal.config.json |
| SELFHEAL_MAX_RETRIES | No | Max retry attempts | 3 |
| SELFHEAL_MAX_DELAY_MS | No | Max delay cap | 30000 |
| SELFHEAL_BASE_DELAY_MS | No | Base delay for backoff | 1000 |
| SELFHEAL_CIRCUIT_THRESHOLD | No | Failures before circuit opens | 5 |
| SELFHEAL_CIRCUIT_COOLDOWN_MS | No | Cooldown before half-open test | 120000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wrap_callA | 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. |
| circuit_statusA | Check the health status of a target. Returns circuit state, failure count, and cooldown. |
| circuit_resetA | Reset a circuit breaker back to closed (healthy). Use after fixing the underlying issue. |
| metricsA | Get observability metrics — success rates, latency, top errors, breakdown by tool and target. |
| recent_errorsA | Get the most recent failed calls with full error details and retry logs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/carsonroell-debug/selfheal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server