> ## 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. Contact [Portkey support](https://support.portkey.ai/forms/customer-portal-ticket-form) for early access.

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.

***

> [card] [Portkey is now PRISMA AIRS AI Gateway. See it in action.](https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\&utm_medium=referral\&utm_campaign=prisma_airs\&utm_content=docs_nav#contact)
>
> Contact Us


## Related topics

- [Circuit Breaker](https://docs.portkey.ai/docs/product/ai-gateway/circuit-breaker.md)
- [June](https://docs.portkey.ai/docs/changelog/2025/june.md)
- [May](https://docs.portkey.ai/docs/changelog/2026/may.md)
- [Gateway Config Object](https://docs.portkey.ai/docs/api-reference/inference-api/config-object.md)
- [Anthropic](https://docs.portkey.ai/docs/integrations/llms/anthropic.md)


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