ApiVault Docs

ApiVault is a secure API key vault for developers and AI agents. Store encrypted secrets in the cloud, manage them from the web dashboard, inject them into local processes with the CLI, or expose scoped access to Cursor and other MCP clients.

Three ways to use ApiVault

ApiVault exposes three integration surfaces. Each talks to the same vault over HTTP — none of them access the database directly.

SurfaceBest forAuthentication
Web dashboardManual key management, account settings, reviewing connectionsBrowser session (Google, email/password, passkeys)
CLI (apivault)Terminal workflows, CI scripts, injecting secrets into local processesBrowser connect flow (apivault login)
MCP serverAI agents in Cursor, Claude Desktop, and other MCP clientsOAuth 2.1 with scoped tokens

Production endpoints

ResourceURL
Web apphttps://api-vault-opal.vercel.app
MCP serverhttps://api-vault-opal.vercel.app/mcp
OAuth metadatahttps://api-vault-opal.vercel.app/.well-known/oauth-authorization-server

CLI vs MCP — when to use which

TaskUse
Agent needs to look up or manage keys during a coding sessionMCP
Inject secrets into npm start or a local dev serverCLI run
CI/CD pipeline or shell scriptCLI with --json
Export .env for Docker, Next.js, or ViteCLI env export
Connect ApiVault in Cursor settingsMCP setup
Revoke AI agent accessSettings → MCP Connections
Revoke terminal accessapivault logout