> ## Documentation Index
> Fetch the complete documentation index at: https://portkey-docs-feat-gmail-mcp-server.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 us at [support@portkey.ai](mailto:support@portkey.ai) 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.

***

<Card title="Portkey is now PRISMA AIRS AI Gateway. See it in action." href="https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey&utm_medium=referral&utm_campaign=prisma_airs&utm_content=docs_nav#contact" icon="arrow-up-right-from-square">
  Contact Us
</Card>
