feat(cursor): ship socket's hosted oauth mcp server in the cursor plugin #26
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.73) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 152 lines diff across 9 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.301
Sensitive Paths
sensitive_paths
0.073
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #26"
general
weight: 0.35
jdalton
ljharb
The Cursor plugin now declares https://mcp.socket.dev/ in .cursor-plugin/mcp.json, so users sign in to Socket in the browser instead of pasting one org's API key. The manifest also gets a display name, a logo, and a rule that tells the agent when to use the Socket MCP tools and how to fall back to the CLI if sign-in does not complete.
The shipped-content gates now scan .cursor-plugin/rules, including .mdc files, because agents read and obey them.
Known limitation
Hosted OAuth does not complete in current Cursor versions. The socket-mcp README compatibility matrix lists Cursor 3.22.12 hosted OAuth as failing. The cause is described in the Cursor forum report: Cursor shows Authenticate only when the server returns 401 during connect. The live
mcp.socket.devanswers an unauthenticatedinitializewith 200 and returns 401 only ontools/call.The fix is on the server side:
WWW-Authenticatechallenge on connect, with tests.mainalready returns 401 on an unauthenticatedinitialize, but productionmcp.socket.devruns different code. The hosted deployment must be updated as well before Cursor can sign in.Until then, the README and the Cursor rule say this plainly and point users to the CLI sign-in (
pnpm dlx socket login).Testing
mainafter #25 and #28 landed.pnpm run checkpasses, and all repo tests pass locally: 56 files, 1253 tests.pnpm run generate:checkreports the generated files are up to date.<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->