[docs] Fix Cursor MCP connection — use native url field, not mcp-remote#123
[docs] Fix Cursor MCP connection — use native url field, not mcp-remote#123matthallett1 wants to merge 1 commit intomainfrom
Conversation
mcp-remote@latest now attempts OAuth client registration before sending custom headers, which breaks against Open Brain's simple key-based auth. Cursor supports remote MCP servers natively via the url field, so mcp-remote is unnecessary. Changes: - Add dedicated Cursor section to getting-started guide (7.5) and remote-mcp primitive with native url config - Update mcp-remote examples to pass key via ?key= query parameter instead of --header to avoid OAuth discovery issues - Clarify x-brain-key (core) vs x-access-key (extensions) in troubleshooting guides Made-with: Cursor
OB1 Automated ReviewThis PR modifies docs or repo governance files. Contribution checks skipped. ✅ No issues found. |
|
@claude review this PR |
1 similar comment
|
@claude review this PR |
|
Claude finished @matthallett1's task in 1m 6s —— View job PR Review: [docs] Fix Cursor MCP connection — use native url field, not mcp-remote
SummaryThis is a solid, well-scoped docs fix that addresses a real breakage introduced by What Works WellTechnically correct. The diagnosis is accurate — Consistent changes across files. The fix is applied in all three relevant places: Useful separation of concerns. Splitting "Other Clients" into a dedicated Cursor section (7.5) and a general stdio-bridge section (7.6) makes the guide easier to follow. Users who just need Cursor don't have to parse through The The warning note is well-placed. The "do not use Minor ObservationsThe
This is accurate and useful. However, the same nuance in Claude Code section still uses This is intentional — Claude Code's native No test instructions for "Other Clients." The PR's test plan covers Cursor and Alignment with OB1 Standards
VerdictApprove. This fixes a real, user-facing breakage caused by an upstream |
Summary
urlconfig — nomcp-remoteneeded.mcp-remotefallback examples (for clients that still need stdio bridging) to pass the access key via?key=query parameter instead of--header, avoiding OAuth client registration failures withmcp-remote@latest.x-brain-keywhile extension servers usex-access-keyin the troubleshooting guides.Why
mcp-remote@latestnow defaults tohttp-firsttransport, which attempts OAuth client registration before forwarding custom headers. Open Brain uses simple key-based auth (not OAuth), so this registration attempt fails with aServerError. Since Cursor natively supports remote MCP servers via theurlfield (like Sentry's config),mcp-remoteis unnecessary and actively harmful.Files changed
docs/01-getting-started.md— Split "Other Clients" into dedicated Cursor (7.5) and Other Clients (7.6) sectionsprimitives/remote-mcp/README.md— Added Cursor section, updated mcp-remote examples, fixed 401 troubleshootingprimitives/troubleshooting/README.md— Clarified header names and added Cursor-specific guidanceTest plan
urlfield config (~/.cursor/mcp.json)mcp-remotewith?key=query parameter works for stdio-only clientsmcp-remotewith--headerfails with OAuthServerErroronmcp-remote@latestMade with Cursor