Skip to content

fix: correct Claude Code and Cursor MCP install steps#46

Merged
lhagenWP merged 1 commit into
mainfrom
smb-1396-fix-mcp-install-docs
Jun 12, 2026
Merged

fix: correct Claude Code and Cursor MCP install steps#46
lhagenWP merged 1 commit into
mainfrom
smb-1396-fix-mcp-install-docs

Conversation

@trichardswp

@trichardswp trichardswp commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

The MCP setup page shipped install instructions that don't work for Claude Code and route Cursor through an unnecessary bridge. The Claude Code CLI command was missing its transport and URL (it errors on run), and both the Claude Code and Cursor JSON configs used an npx mcp-remote stdio bridge — but both clients support remote HTTP servers with custom headers natively.

Changes

  • content/docs/documentation/mcp/index.mdx — Claude Code tab: replace the broken claude mcp add whitepages --scope user with the working claude mcp add --transport http whitepages https://api.whitepages.com/mcp --header "x-api-key: …" --scope user, and the mcp-remote JSON with a native {type: http, url, headers} config.
  • Cursor tab: replace the mcp-remote bridge with a native {url, headers} config.
  • Soften the Claude Code restart note to the in-session /mcp reconnect (full restart only needed when hand-editing the JSON).
  • Claude Desktop and Zed tabs unchanged — they genuinely require the mcp-remote stdio bridge.

The x-api-key header config stays correct under the upcoming anonymous + bring-your-own-key MCP model, so this won't need re-touching.

"type": "http",
"url": "https://api.whitepages.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY_HERE"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not case sensitive, I confirmed this myself, but I will fix it here to be consistent.

"WHITEPAGES_API_KEY": "YOUR_API_KEY_HERE"
"url": "https://api.whitepages.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY_HERE"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

The Claude Code tab shipped a CLI command missing its transport and
URL (it errored on run) and an unnecessary mcp-remote stdio bridge in
both the Claude Code and Cursor JSON configs. Both clients support
remote HTTP servers with custom headers natively.

Replace with the working one-liner and native http configs, and
soften the restart note to the in-session /mcp reconnect. Claude
Desktop and Zed keep mcp-remote — they require the bridge.
@trichardswp trichardswp force-pushed the smb-1396-fix-mcp-install-docs branch from 060f40d to 7b2f4d7 Compare June 11, 2026 21:40
@lhagenWP lhagenWP merged commit c83dfea into main Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants