Failsafe MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Failsafe MCP Serverrun health checks on all providers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Failsafe MCP Server
Credential resilience for AI agents.
Your agent runs on 50+ credentials. Failsafe makes sure they never break.
š Store credentials with AES-256 encryption
š„ Monitor health with automatic provider-specific checks
š Failover to backup credentials when primary fails
ā° Warn before credentials expire
š MCP native ā works with Claude Code, Cursor, LangChain, and any MCP client
Quick Start
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"failsafe": {
"command": "npx",
"args": ["-y", "failsafe-mcp-server"]
}
}
}With Claude Code
claude mcp add failsafe -- npx -y failsafe-mcp-serverManual
npm install -g failsafe-mcp-server
failsafe-mcp-serverRelated MCP server: clavis-mcp-server
What It Does
Store a credential
> failsafe_store provider:"openai" key:"sk-abc123" backup_key:"sk-xyz789"
ā Credential stored for openai. Backup configured.Get a credential (with auto-failover)
> failsafe_get provider:"openai"
{
"key": "sk-abc123",
"source": "primary",
"status": "healthy"
}If the primary key is unhealthy, Failsafe automatically returns the backup:
> failsafe_get provider:"openai"
{
"key": "sk-xyz789",
"source": "backup",
"warnings": ["Primary credential is unhealthy. Using backup."]
}List all credentials
> failsafe_list
{
"summary": { "total": 4, "healthy": 3, "unhealthy": 1, "expired": 0 },
"credentials": [
{ "provider": "openai", "status": "healthy", "has_backup": true },
{ "provider": "anthropic", "status": "healthy", "has_backup": false },
{ "provider": "github", "status": "unhealthy", "has_backup": true },
{ "provider": "stripe", "status": "healthy", "has_backup": false }
]
}Run health checks
> failsafe_health
{
"summary": { "total": 4, "healthy": 3, "unhealthy": 1 },
"results": [
{ "provider": "openai", "status": "healthy", "latency_ms": 245 },
{ "provider": "anthropic", "status": "healthy", "latency_ms": 189 },
{ "provider": "github", "status": "unhealthy", "response_code": 401 },
{ "provider": "stripe", "status": "healthy", "latency_ms": 312 }
]
}Supported Providers
Built-in health checks for:
Provider | Health Check Endpoint |
OpenAI |
|
Anthropic |
|
GitHub |
|
Stripe |
|
Any other provider works with a custom health_check_url:
> failsafe_store provider:"my-saas" key:"token_abc" health_check_url:"https://api.my-saas.com/health"Security
All credentials encrypted with AES-256-GCM at rest
Master key auto-generated and stored in
~/.failsafe/master.key(mode 0600)Or set
FAILSAFE_MASTER_KEYenvironment variable100% local ā credentials never leave your machine
No telemetry, no network calls except health checks to your own providers
How Failover Works
Agent requests credential for "openai"
ā
Failsafe checks primary key status
ā
āā Healthy? ā return primary key
āā Unhealthy/Expired? ā check for backup
ā āā Backup exists? ā return backup key + warning
ā āā No backup? ā return primary key + warningData Storage
All data stored locally in ~/.failsafe/:
~/.failsafe/
āāā master.key # Encryption key (auto-generated)
āāā credentials.json # Encrypted credential storeRoadmap
Store / Get / List / Remove credentials
AES-256-GCM encryption
Health checks (OpenAI, Anthropic, GitHub, Stripe + custom)
Automatic failover (primary ā backup)
Expiration warnings
Background health monitoring (cron)
Multi-key rotation / load balancing
Webhook notifications (Slack, Telegram)
Failsafe Cloud (hosted dashboard + team management)
License
MIT
Links
Website: failsafe.world
Twitter: @climber_sun
This server cannot be deployed
Maintenance
Related MCP Connectors
Encrypted secret store and rotation for autonomous agent credentials
- FullmaktOAuthai.fullmakt
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
- TAPOAuthtech.human
Credential isolation for AI agents: placeholder secrets, policy checks, optional human approval.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSelf-hosted credential store and API proxy for AI agents. One Bearer token, all your services. Handles OAuth refresh, encrypted storage, audit logging, and per-agent permissioning.77 npmMIT
- AlicenseAqualityBmaintenanceSecure credential management for AI agents ā encrypted storage, auto-refresh, and rate limiting via a single MCP call. Supports OpenAI, Anthropic, Stripe, GitHub, Brave Search, Kalshi, Coinbase, plus generic API key and OAuth2 for any service.455 npmMIT
- AlicenseNot gradedqualityDmaintenanceLocal, encrypted credential vault for AI agents that enables secure multi-account management across services like Supabase, GitHub, Vercel, and Stripe, allowing seamless account switching without restarting the chat client.14 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables secure credential storage for AI agents by encrypting secrets and providing agent-invisible references, ensuring sensitive data never leaks to the model.MIT