{
  "slug": "railway-agent-setup-defaults-new-installs-to-the-remote-cli-proxy-88fd8b9f2ff8",
  "title": "railway agent setup defaults new installs to the remote CLI proxy",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-13T06:23:55.000Z",
  "announced_at": "2026-08-13T06:23:55.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For a new Railway agent install, run `railway setup agent -y` to configure the remote MCP proxy using your CLI login. Use `--local` to select the local GraphQL-backed server, or `--oauth` for editor OAuth.",
    "examples": [
      "railway setup agent -y",
      "railway setup agent -y --local",
      "railway mcp install --local --agent cursor"
    ],
    "gotchas": [
      "Version: v5.39.0",
      "-y: Runs agent setup without interactive prompts.",
      "--local: Selects the local GraphQL-backed MCP server instead of the default remote proxy.",
      "--agent <agent>: Selects the target agent tool; `cursor` is shown in the documented example.",
      "--oauth: Not documented in the v5.39.0 README or source pages read.",
      "Prerequisite: Install the Railway CLI; the README's agent install command is `bash <(curl -fsSL railway.com/install.sh) --agents -y`.",
      "Prerequisite: Authenticate with a Railway account using `railway login` before using the CLI.",
      "This changes defaults for new agent installs and voluntary setup/install reruns; bare `railway mcp` remains local.",
      "`--remote` remains a compatibility alias for the new default."
    ]
  },
  "why_it_matters": "Configure Railway MCP for a coding agent during a new agent install.",
  "before": "New agent installs defaulted to the local in-process `railway mcp` server.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.39.0",
    "https://github.com/railwayapp/cli/pull/1094",
    "https://github.com/railwayapp/cli/blob/v5.39.0/README.md"
  ],
  "rank": 0.97039,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-46654cd0ca0baa40-0:gate",
    "evidence_hash": "f09f243bde3dd874e83e55547b0e5230d2bfb352af8ac602ba8881cafea18ceb"
  },
  "review": {
    "draft_hash": "57016f3f64c93303a77832d42e8ac1d4ba318d7ce4f4966d7ee39c3de7c63181",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
