Skip to main content
How to set up the Ref Plans MCP server with Claude Code. The one-line installer sets up Claude Code with the ref CLI, hooks, and the Ref MCP server. It signs you in through the browser — no API key needed:
Use this script for the local agent review loop. AwaitReview and Share are API-key only, and an OAuth connection does not include them.

Optional memory

The installer includes opt-in memory hooks. Run ref memory enable, then start a new chat. See Ref memory for requirements, configuration, and how it works alongside native memory.

Manual install

Add the server with no API key, then sign in:
In Claude Code, run /mcp and choose Authenticate. Sign in on Ref’s page. For plan-specific mode:
To use a specific team, see Team-scoped access.

API key

You can find your API key at ref.tools/keys. For plan-specific mode, append the plan ID:

Verify

Run the command:
You should see:

Get help

If you have any issues, please reach out to help@ref.tools. We’re happy to help you get started!