Skip to main content
How to set up Ref with Amp CLI.

Install

Run the claude install command. You can copy a version of the command with your API key pre-populated at ref.tools/install
amp mcp add Ref https://api.ref.tools/mcp --header "x-ref-api-key: <YOUR_API_KEY>"
You can find your API key at ref.tools/keys

Verify

Run the command:
claude mcp doctor
You should see:
➜  amp mcp doctor
User settings: <filepath>
Workspace settings: <filepath>

Ref (user settings): connected (2 tools: ref_search_documentation, ref_read_url)

Get help

If you have any issues, please reach out to [email protected]. We’re happy to help you get started!