> ## Documentation Index
> Fetch the complete documentation index at: https://portkey-docs-feat-alice-guardrail-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Circuit Breakers

> Automatic failure handling for upstream MCP servers.

<Info>
  This feature is coming soon. Contact [Portkey support](https://support.portkey.ai/forms/customer-portal-ticket-form) for early access.
</Info>

Circuit breakers automatically detect unhealthy upstream MCP servers and fail fast to protect your agents.

## What's coming

* **Automatic detection.** Monitor failure rates and response times.
* **Fast failure.** Stop sending requests to unhealthy servers immediately.
* **Recovery checks.** Periodically test if servers have recovered.
* **Configurable thresholds.** Set failure rate and latency thresholds per server.
* **Status visibility.** See circuit state (closed, open, half-open) in the dashboard.


## Related topics

- [Circuit Breaker](/aigw/product/ai-gateway/circuit-breaker.md)
- [Gateway Config Object](/aigw/api-reference/inference-api/config-object.md)
- [Anthropic](/aigw/integrations/llms/anthropic.md)
- [Enterprise Gateway](/aigw/changelog/enterprise.md)
- [Architecture](/aigw/self-hosting/hybrid-deployments/architecture.md)
