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

# Circuit Breakers

> Automatic failure handling for upstream MCP servers.

> [!NOTE]
>
> This feature is coming soon.

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](https://docs.portkey.ai/docs/aigw/product/ai-gateway/circuit-breaker.md)
- [Gateway Config Object](https://docs.portkey.ai/docs/aigw/api-reference/inference-api/config-object.md)
- [Anthropic](https://docs.portkey.ai/docs/aigw/integrations/llms/anthropic.md)
- [Enterprise Gateway](https://docs.portkey.ai/docs/changelog/enterprise.md)
- [Architecture](https://docs.portkey.ai/docs/aigw/self-hosting/hybrid-deployments/architecture.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.