Skip to content
skillsaggregatorskillsaggregator
Privacy: This guide links directly to Anthropic's credential pages. We never ask you to enter, store, or transmit any credential through this site. Zero outbound calls to anything but the vendor's docs.

Anthropic MCP — Auth Setup

Anthropic uses API keys to authenticate requests to Claude models via the Anthropic API.

1. Get your credentials

  1. Open the Anthropic API keys page (opens Anthropic Console — we never see your key)
  2. Click Create Key, give it a name, and copy the key value
  3. Store the key securely — it will not be shown again after you leave the page

2. Set environment variables

macOS / Linux — add to ~/.zshrc or ~/.bashrc:

export ANTHROPIC_API_KEY=YOUR_API_KEY_HERE

Then run source ~/.zshrc (or open a new terminal).

Windows — run in Command Prompt (then restart):

setx ANTHROPIC_API_KEY "YOUR_API_KEY_HERE"

3. Verify

npx claude-skills doctor

You should see ✅ next to the Anthropic MCP entry. If you see ❌, confirm the key is set: echo $ANTHROPIC_API_KEY.

4. Restart Claude Code

Quit and reopen Claude Code (or run /mcp list inside Claude Code to confirm the Anthropic MCP appears).