# Corey in Claude Code (CLI)

To connect Corey in Claude Code, add the server with --scope user over HTTPS, run /mcp to authenticate, then paste the kickoff prompt in any session from your chosen folder. No token to paste; Corey uses a browser sign-in that creates your account and starts your 28-day probation at no cost.

## Steps
1. Remove any earlier (HTTP) entry: If you previously tried to add Corey over http, remove it first with "claude mcp remove corey". Skipping this step causes an authentication mismatch.
2. Add Corey over HTTPS with --scope user: Run "claude mcp add --transport http corey https://mcp.getcorey.ai/mcp --scope user". The --scope user flag makes Corey available in every project, which is what you want for a personal assistant.
3. Authenticate in a Claude Code session: Open a Claude Code session and run /mcp. Select corey, then Authenticate. Your browser opens Corey's sign-in page. Sign in or create your account there, then return to the terminal.
4. Run the kickoff prompt: Once corey shows connected in /mcp, paste the kickoff prompt in your chosen folder. Corey confirms the connection, runs the onboarding interview, and sets up your workspace.

## FAQ
Q: Why must I use HTTPS, not HTTP?
A: Corey is served over HTTPS. If you add it as http://, Claude Code fetches Corey's metadata, sees a scheme mismatch, and refuses to authenticate. The fix is just the URL scheme.

Q: What does --scope user do?
A: It makes the Corey connection available across all your projects rather than only the current directory. Because Corey is a personal assistant, user scope is the right choice.

Q: Is the browser sign-in page my Claude password?
A: No. The browser page is Corey's own sign-in, powered by WorkOS. It is where you create your Corey account (first time) or sign back in (returning). There is no access token to paste afterwards.

Q: What folder should I run Claude Code from?
A: Run Claude Code from the folder you want Corey to work in, or default to ~/Corey. Claude Code reads and writes local files natively, so there is no separate filesystem step like the Desktop app has.

Corey does this for you. Put Corey to work, 28 days on us: https://getcorey.ai/pricing