fix(context7): use local stdio MCP and clarify operator key path - #1623
Conversation
Keep the working CONTEXT7_API_KEY header form. Expand peer-library docs,
document that Cloud Secrets/.env.local do not feed project MCP ${env:},
and add a thin structural vitest pin for .cursor/mcp.json.Measured: CONTEXT7_API_KEY present in Cloud agent shell while host-injected
Context7 still returns monthly quota exceeded. Clarify desktop ${env:} vs
Secrets vs host connector paths.This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:21 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
Comment |
Retain this branch's host-injected vs Secrets wording; adopt main's stricter Supabase MCP URL pin and B1 follow-up done note.
Switch .cursor/mcp.json from unauthenticated remote host path to pinned
@upstash/context7-mcp@3.2.5 with CONTEXT7_API_KEY from ${env:}. Cloud Secrets
already populate process.env; local stdio and npx ctx7 use that key (host MCP
connector may still ignore it — fall back to npx ctx7).…MCP fix Resolve B1 follow-up footnote to local stdio + npx ctx7 fallback.
Resolve agents-guide and codex-cloud conflicts by keeping local Context7 stdio MCP guidance while adopting main's Railway/Codex Desktop MCP wording. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Document MCP reload after key changes, keyless empty-expansion behaviour, and update the tooling plan appendix/B1 rows from remote URL to local stdio. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
.cursor/mcp.jsonfrom remote HTTP (https://mcp.context7.com/mcp+ headers) to pinned local stdio (npx -y @upstash/context7-mcp@3.2.5withenv.CONTEXT7_API_KEY: ${env:CONTEXT7_API_KEY}).process.envand authenticate local stdio /npx ctx7, but do not authenticate the host connector (measured 2026-08-05).${env:CONTEXT7_API_KEY}to empty for anonymous/lower rate limits.tests/cursor-mcp-contract.test.ts.origin/mainto clear priorDIRTY/ PR-mergeability conflict (synced through outstanding-issues queue update).Verification
npx vitest run tests/cursor-mcp-contract.test.ts— 3 passednpm run format— committedgit merge-tree --write-tree origin/main HEAD— clean; branch current withmain88148ad8—PR requiredgreen (mergeability, PR Policy, Secret Scan, SAST, static-pr, unit, safety/config)verify:pr-local— lint/typecheck/docs gates green; unit suite 5326 passed / 1 unrelated timeout flake indesign-system-adoption(re-ran green alone)Risk and rollout
npxfetch of@upstash/context7-mcp@3.2.5. No clinical/RAG/product runtime impact.Notes
CONTEXT7_API_KEYin OS/user env or Cursor Settings → MCP, then reload MCP servers.npx ctx7when host-injected Context7 is quota-blocked.