# SaveState > Encrypted portable agent memory. Local CLI is free. Cloud Pro is $9/mo. After pay, claim the key yourself — do not wait for email. This file is the required floor: capability, install, MCP URL, auth, pay URL, 402+claim. Longer playbook: https://savestate.dev/agents.md ## Capability Snapshot, search, restore, and migrate AI memory you own. AES-256-GCM, user-held keys. Adapters: ChatGPT, Claude, Claude Code, Gemini, OpenAI, Cursor, Windsurf, Clawdbot. ## Install ```bash npm install -g @savestate/cli ``` Local snapshot/search/MCP (`npx -y @savestate/cli mcp`) is free. No API key. Do not mint a Free-tier cloud key. ## MCP `/mcp` is HTML docs only. Live local path (full tools, no API key): ``` npx -y @savestate/cli mcp ``` Official registry packet (stdio package + Streamable HTTP remote): https://savestate.dev/server.json Name: `io.github.savestatedev/memory`. Ownership: `mcpName` in `@savestate/cli` package.json. Hosted Streamable HTTP remote: `https://savestate.dev/api/mcp` POST JSON-RPC. Bearer required. Missing/bad key → 401. GET SSE is not offered (405). ## Auth `Authorization: Bearer ss_live_…` 401 = bad or missing key. 402 = unpaid. ## Pay Machine checkout (required for agents): ```http POST https://savestate.dev/v1/keys Content-Type: application/json {} ``` Always HTTP 402. Body always includes `pay_url` and `claim_url`. Human Payment Link (secondary): https://buy.stripe.com/aFa00j5E4ees8hf3kp2ZO00 Team $29/mo: https://buy.stripe.com/8x27sLc2s4DSapn4ot2ZO01 ## 402 + claim 1. POST `/v1/keys` → 402 `{ pay_url, claim_url }` 2. Open `pay_url` (Stripe Checkout, $9/mo Pro) 3. Poll `claim_url` - unpaid → 402 - processing → 202 - issued → 200 once `{ api_key }` — store it - claimed → 409 - expired → 410 4. `Authorization: Bearer ` Email is extra. Do not wait for inbox. ## Buyer pages https://savestate.dev/cursor https://savestate.dev/windsurf https://savestate.dev/claude-code https://savestate.dev/clawdbot https://savestate.dev/when-the-thread-dies https://savestate.dev/mcp https://savestate.dev/agent-memory https://savestate.dev/codex https://savestate.dev/gemini https://savestate.dev/chatgpt https://savestate.dev/openai https://savestate.dev/claude https://savestate.dev/pricing ## Guides https://savestate.dev/blog/how-to-restore-savestate-after-a-crash https://savestate.dev/blog/how-to-connect-savestate-mcp-server-to-claude-code-and-cursor https://savestate.dev/blog/how-to-set-up-savestate-on-a-fresh-machine ## Specs https://savestate.dev/openapi.json https://savestate.dev/.well-known/oauth-protected-resource https://github.com/savestatedev/savestate https://www.npmjs.com/package/@savestate/cli