# Keysquid > Keysquid is a zero-knowledge secrets manager that rotates API keys automatically (OpenAI, Stripe, Cloudflare, AWS IAM and 35+ more; Anthropic and Stripe are assisted) and syncs them to Vercel, Railway, AWS, Kubernetes and 50+ platforms. Secret values are encrypted to an agent the customer runs, so Keysquid's servers never see them. The Keysquid MCP server lets an AI assistant work with those keys without ever seeing a value. Plans: $9.99, $19.99 or $99.99 per workspace a month, unlimited team members, 7-day free trial, no free tier. This file is written for AI coding agents. If a user asked you to "set up keysquid", follow the steps below. ## The one rule You never see, receive, print or ask for a secret value, and no Keysquid tool will ever return one. - Never ask the user to paste an API key, password or token into the chat. When a value is needed, call `request_secret`: it returns a link where the user pastes the value in their browser, encrypted to their own agent. - Never read the MCP config file to get the credentials, and never call the agent's API directly. Your identity is "names only": the agent refuses to give it values anyway. - `rotate`, `rotate_all`, `kill` and `delete` never run directly. They return a dry-run plan; show it to the user; with `dry_run: false` they create a request the user approves with a passkey. Then poll `check_request`. ## Set up 1. No account yet? Send the user to https://keysquid.com/signup and wait. Setup includes starting the Keysquid agent (Docker, Railway, Render or Kubernetes); the app walks them through it. 2. Ask the user to open https://keysquid.com/app/settings/mcp ("Connect your AI"), pick the projects you may use, keep "Read-only" unless they want you to make changes, and click "Connect your AI". The page shows a ready-to-paste config for your client. Prefer letting the user paste it. If you write the config, ask only for the client id and let the user paste the client secret into the file themselves; never echo it. With passkey approvals on, the user also approves the identity at https://keysquid.com/app/approvals. 3. Install the server (npm package `keysquid-mcp`, stdio). Claude Code, one line: ``` claude mcp add keysquid -e KEYSQUID_AGENT_URL=http://keysquid-agent:8787 -e KEYSQUID_URL=https://keysquid.com -e KEYSQUID_CLIENT_ID=… -e KEYSQUID_CLIENT_SECRET=… -- npx -y keysquid-mcp ``` Cursor (`.cursor/mcp.json`), Windsurf (`~/.codeium/windsurf/mcp_config.json`) and Gemini CLI (`~/.gemini/settings.json`) use the same JSON: ```json { "mcpServers": { "keysquid": { "command": "npx", "args": ["-y", "keysquid-mcp"], "env": { "KEYSQUID_AGENT_URL": "http://keysquid-agent:8787", "KEYSQUID_URL": "https://keysquid.com", "KEYSQUID_CLIENT_ID": "…", "KEYSQUID_CLIENT_SECRET": "…" } } } } ``` VS Code / GitHub Copilot (`.vscode/mcp.json`): the same object under `"servers"` with `"type": "stdio"`. Codex (`~/.codex/config.toml`): `[mcp_servers.keysquid]` with `command = "npx"`, `args = ["-y", "keysquid-mcp"]` and the four values under `[mcp_servers.keysquid.env]`. Exact snippets for every client: https://keysquid.com/mcp-server.md Optional variables: `KEYSQUID_PROJECT`, `KEYSQUID_ENV` (defaults for tool calls), `KEYSQUID_MCP_READONLY=1` (read tools only), `KEYSQUID_MCP_RUN=1` (enables `run_with_secrets`), `KEYSQUID_MCP_RUN_ALLOW=npm,pytest` (programs it may start). `KEYSQUID_AGENT_URL` is required for `import_env`, `run_with_secrets` and Agent Vault. 4. Restart or reload the client, then call `overview` to check it works. AI apps with remote MCP connectors (Claude, ChatGPT) can instead add https://keysquid.com/mcp and sign in with OAuth. The remote server has no `run_with_secrets`, `import_env`, `scan_for_secrets`, `fix_leak` or `start_agent_vault_session`. ## Tools - Read (run freely): `overview`, `list_projects`, `list_secrets` (names and metadata), `list_connections`, `where_used`, `audit_query`, `check_request`, `scan_for_secrets`. - Change (run, audited as the machine identity): `request_secret`, `create_project` (optionally `like` another project), `reuse_connections`, `set_schedule`, `set_spend_cap`, `add_sync`, `import_env`, `fix_leak`, `start_agent_vault_session`, `run_with_secrets` (only when enabled). - Needs the user's passkey (dry run first, then a request link): `rotate`, `rotate_all`, `kill`, `delete`. Example prompts: "Give me a Keysquid overview." · "Use the same Stripe and OpenAI connections as project api for project billing." · "Rotate every key older than 90 days." · "What breaks if I kill STRIPE_SECRET_KEY?" · "Move my .env into Keysquid and take the values out of the file." · "Scan this repo for leaked keys and fix them." · "I need a Resend key for prod: ask me for it." ## Docs - [Docs](https://keysquid.com/docs.md): agent, secrets manager, CLI, SDKs, MCP, dynamic secrets, rotation, revoke tools, limits, provider support - [Full docs and security model in one file](https://keysquid.com/llms-full.txt) - [MCP server](https://keysquid.com/mcp-server.md): tools, safety tiers, install for every client - [Security model](https://keysquid.com/security.md): encryption, key custody, passkey approvals, threat model ## Rotation guides - [Rotation coverage for every provider](https://keysquid.com/rotate.md) - [OpenAI key formats and revoking](https://keysquid.com/rotate/openai.md) - [Anthropic (Claude)](https://keysquid.com/rotate/anthropic.md) - [Stripe](https://keysquid.com/rotate/stripe.md) - [AWS IAM access keys](https://keysquid.com/rotate/aws-iam.md) - [Cloudflare API tokens](https://keysquid.com/rotate/cloudflare.md) - [GitHub tokens and App keys](https://keysquid.com/rotate/github.md) ## Compare - [Keysquid vs Infisical](https://keysquid.com/vs/infisical.md) - [Keysquid vs Doppler](https://keysquid.com/vs/doppler.md) - [HCP Vault Secrets alternative](https://keysquid.com/vs/hcp-vault-secrets.md) - [Keysquid vs 1Password](https://keysquid.com/vs/1password.md) - [Keysquid vs AWS Secrets Manager](https://keysquid.com/vs/aws-secrets-manager.md) ## Careers Keysquid is hiring remote across Europe (EU, EEA, UK, Switzerland; employer in Amsterdam). Apply on each role's page; no CV needed. - [Careers and all open roles](https://keysquid.com/careers.md) - [Senior full-stack engineer, integrations](https://keysquid.com/careers/senior-full-stack-engineer-integrations.md): TypeScript, Next.js, Postgres, provider APIs - [Account manager, SaaS and developer teams](https://keysquid.com/careers/account-manager.md): trials, upgrades, renewals, security questionnaires - [Solutions engineer, onboarding and migrations](https://keysquid.com/careers/solutions-engineer-onboarding.md): customer onboarding, Docker, Kubernetes - [Marketing lead, developer tools](https://keysquid.com/careers/marketing-lead.md): positioning, launches, search, paid and lifecycle - [Open roles as JSON](https://keysquid.com/careers/jobs.json) ## Optional - [Home page summary and pricing](https://keysquid.com/index.md) - [Which API key is this? (browser-only identifier)](https://keysquid.com/tools/which-api-key) - [Blog](https://keysquid.com/blog) - [Privacy](https://keysquid.com/privacy) · [Terms](https://keysquid.com/terms) - Sign up: https://keysquid.com/signup