Add project-scoped Railway MCP server config#909
Conversation
Registers the Railway MCP server (railway mcp via npx @railway/cli) in .mcp.json so Claude Code sessions pick it up automatically. Requires RAILWAY_API_TOKEN (or railway login) at runtime for the server to start. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016UrrzgrBtQRXvshDhvz3Hs
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds ChangesRailway MCP server
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
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 @.mcp.json:
- Around line 4-5: Update the MCP configuration command to use the bundled
Railway CLI instead of invoking `npx -y `@railway/cli`` at runtime. Preserve the
existing MCP argument while selecting the locally available railway executable,
or pin `@railway/cli` to an approved version if the executable is not guaranteed
to be installed.
🪄 Autofix (Beta)
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 Plus
Run ID: 09d9a0fd-42f1-415e-9ee2-bd3b92a48560
📒 Files selected for processing (1)
.mcp.json
…-code-global-9ioe8n
Addresses review: unpinned npx would fetch the latest CLI from npm at runtime. Pin to the version verified against the MCP handshake. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016UrrzgrBtQRXvshDhvz3Hs
….0.0.1:41729/git/BigSimmo/Database into claude/install-claude-code-global-9ioe8n
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 26cbdb70cc
ℹ️ 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".
Summary
.mcp.jsonregistering the Railway MCP server (npx -y @railway/cli mcp) at project scope, so Claude Code sessions load Railway tooling (deployments, logs, status, variables) automatically.railway loginon the machine or aRAILWAY_API_TOKENaccount token provided as an environment secret. No credentials are included in this change.Verification
.mcp.json); no source, test, build, or app behavior is touched, so the local verification gates do not apply.railway mcpcompletes the MCP initialize handshake and, when authenticated, lists account projects.Risk and rollout
.mcp.json.Clinical Governance Preflight
Not applicable — no ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output is touched.
Notes
use-railwayagent skill was intentionally not vendored into.claude/skills/in this PR; installing agent-behavior-steering files into the repo is left as an explicit follow-up decision.🤖 Generated with Claude Code
https://claude.ai/code/session_016UrrzgrBtQRXvshDhvz3Hs
Generated by Claude Code
Summary by CodeRabbit
mcpsubcommand vianpx).