Pro & Enterprise

ContextSwitch MCP for your terminal & IDE

Use ContextSwitch inside Claude Code, Cursor, VS Code, Codex, Gemini CLI and Windsurf. Compress long sessions, improve prompts, and save context in one tool to continue in another — no copy-pasting.

1. Get your API key

Sign in to get your API key

Use the same Google account as your ContextSwitch extension.

2. Connect your tool

Run once in your terminal:

claude mcp add --transport http contextswitch https://context-switch-backend.vercel.app/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Check it with: claude mcp list

Replace YOUR_API_KEY with your key. Never commit it to git.

Server URL: https://context-switch-backend.vercel.app/api/mcp · Transport: Streamable HTTP · Auth: Bearer API key

3. Just ask your AI

Hand off between tools

"Summarize what we did and the next steps, then save it with ContextSwitch as checkout-refactor." — later in another tool: "Load checkout-refactor from ContextSwitch and continue."

Shrink a long session

"Use ContextSwitch to compress this session so I can start a fresh chat without losing context."

Sharpen a prompt

"Improve this prompt with ContextSwitch before running it: add tests for the payment module."

Available tools

compress_contextSqueeze a long session, transcript, or notes into a compact context another AI can continue from.1 compression
improve_promptRewrite a rough prompt into a clear, structured one (without answering it).1 prompt improvement
save_contextSave a named snapshot (decisions, state, next steps). Stored encrypted. Same name overwrites.Free
load_contextLoad a saved snapshot in any tool — start in Claude Code, continue in Cursor or Codex.Free
list_contextsSee all your saved snapshots, newest first.Free
delete_contextPermanently delete a snapshot.Free
get_usageShow your plan and remaining monthly quota.Free

Troubleshooting

I get "401 Unauthorized"

The key is missing, mistyped, or revoked. Copy it again (it must start with cs_live_) and make sure the header is exactly "Authorization: Bearer <key>". If you lost the key, revoke it and create a new one.

I get "403 requires a Pro or Enterprise plan"

MCP is a paid feature. If your subscription recently ended, renew on the pricing page — your keys start working again immediately.

The tools don't show up in my client

Restart the client after editing its config. Check the JSON is valid (no trailing commas). In Claude Code run "claude mcp list"; in Codex or Gemini CLI run "/mcp".

Does it use my monthly quota?

Only compress_context and improve_prompt do — they share the same monthly quota as the Chrome extension. Saving, loading, listing, and usage checks are free.

Is my saved context private?

Saved contexts are encrypted (AES-256-GCM) before storage, tied to your account, and never shown to advertisers. Delete any snapshot anytime with delete_context.

Can I use it on multiple machines?

Yes. Create one key per machine or tool (up to 5) so you can revoke one without breaking the others.

Still stuck? Contact us and include your client name and the error message.