fix: configure Cloud provider MCP access - #1561
Conversation
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:38 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 (1)
📝 WalkthroughWalkthroughThe PR replaces Railway CLI MCP access with hosted Railway OAuth and read-only Supabase MCP endpoints. It adds MCP metadata validation, Cloud setup scope handling, task-only Git baseline support, npm proxy cleanup, and related tests. ChangesHosted MCP and Codex Cloud setup
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Cloud provider connector write acceptance complete: the GitHub connector created this draft PR comment and successfully edited it. No merge, deployment, workflow rerun, label, or review action was requested by this comment. |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:da6c839cce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/codex-cloud-setup.test.ts`:
- Around line 213-214: Update the ProcessEnv fixtures passed to localGitBaseline
in the affected test: add NODE_ENV: "test" to both environment objects, while
retaining CODEX_CLOUD: "1" in the cloud fixture.
🪄 Autofix (Beta)
❌ Autofix failed (check again to retry)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 5f11a6bb-d5f6-41e2-9b14-bced8ca5be53
📒 Files selected for processing (5)
.mcp.jsondocs/codex-cloud.mdscripts/check-codex-cloud-setup.mjsscripts/setup-codex-cloud.shtests/codex-cloud-setup.test.ts
Uh oh!
There was an error while loading. Please reload this page.
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. ❌ Failed to clone repository into sandbox. Please try again. |
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. The agent ran but didn't make any changes. The issues may already be fixed or require manual intervention. |
Summary
Why
Fresh Cloud containers cannot inherit a developer machine's Railway CLI login. The prior stdio MCP therefore discovered Railway but could not authenticate project operations. Supabase access also lacked a checked-in project-scoped, read-only MCP contract.
Files
.mcp.jsondocs/codex-cloud.mdscripts/check-codex-cloud-setup.mjsscripts/setup-codex-cloud.shtests/codex-cloud-setup.test.tsVerification
node scripts/check-codex-cloud-setup.mjs— PASSgit diff --check— PASSstatus --project 5deaad0b-675a-4c13-978e-5ca2b5b877f9 --environment production --json— expected project, workspace, services, and running deployments confirmed read-only30705178751— 1 test file passed, 1 test passedChecks not completed
zodfrom the interrupted install; no production-readiness assertion failedRisk and follow-up
RAG impact: no retrieval behaviour change — this PR changes Cloud/MCP setup and validation only.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation