Open-source.
Inspect the credential-handling actions in Keychain’s public library, including the operations and destinations each action allows.
Read the sourceAgent Keychain
Store API keys, approve your agent, and connect through MCP. Keychain runs on Lit, so you can work across devices and sessions without deploying or maintaining a secrets server.
Get started with MCP
Give your agent the setup guide. You approve access; Keychain handles credential storage and delivery through Lit.
Agent setup guideSign in with Google, a passkey, or a wallet. Your browser encrypts credentials before they are stored in Keychain.
Your agent creates an identity on its device. In Keychain, choose which credentials it can use and when access expires.
Download the agent configuration and add Keychain to your MCP client. Reuse that setup across sessions while your approval remains valid.
Works with your tools
Connect through MCP in Claude Code, Cursor, or another compatible client. The SDK and CLI are there for your own integrations.
Deliver a stored secret to an approved agent or command when it needs it. The credential is decrypted in that environment.
SDK, CLI & MCP guideFor supported services, Lit can use the key and return the result. An agent can check a Stripe balance, for example, without receiving the Stripe key.
Explore supported actionsHow Lit powers Keychain
Inspect the credential-handling actions in Keychain’s public library, including the operations and destinations each action allows.
Read the sourceThe client checks hardware attestation and approved runtime measurements. Lit verifies your signed permission on each request.
How verification worksCredentials are stored encrypted. Lit checks access inside confidential hardware, then uses the credential or encrypts it for delivery to the approved agent.
Read the security modelKeychain is free for 5 secrets, or $10/month for up to 1,000.
Your stored credentials and approved access. Each device needs a configured client and an approved agent identity. Later sessions can reuse that setup while permission remains valid. Keychain does not sync conversations, agent memory, or private identity files.
You don’t need to host a credential server or database. Install the Keychain client on the machine running your tools. For MCP, the local connector runs alongside your agent and connects to the hosted Keychain and Lit services.
Your client, sign-in provider, and Lit runtime remain part of the security model. Keychain’s storage service supplies the current signed permission record; an operator can replay an older valid approval until it expires. These records are separate from ChainSecured wallet permissions. Revoke the provider key too if compromise is suspected. Full security model ↗
Add and test a second owner credential, and keep an encrypted backup. Connected-service credentials cannot be exported, so retain the original keys separately. Read the recovery guide ↗
Lit Agent Keychain