Head to head · Deployment · October 2026 research run
Cloudflare CLI (cf) vs Railway MCP Server
Cloudflare CLI (cf) scores 68.2 (B) on agent readiness against Railway MCP Server's 55.7 (C), and leads in 5 of 7 scored categories. Railway MCP Server leads on reliability and maintenance & community. Both do deployment.
Best cloud infrastructure tools for AI agents · All 69 infra comparisons
Which one, for what
Best for A coding agent that manages Cloudflare resources or deploys Workers from a shell.
Ahead on
- Schema & documentation, 81 against 56
- Agent ergonomics, 65 against 59
- Security & auth, 79 against 65
- Payments & pricing, 75 against 60
- Transparency & trust, 88 against 74
Also in its favour
- Open source
Watch for
Beta at 1.0.0-beta.26, with output moved from stdout to stderr in 1.0.0-beta.20 and 1.0.0-beta.21 and other breaking changes between prereleases
Best for Agents that deploy and operate applications on Railway from an editor and are content to hand multi-step work to Railway's own agent.
Ahead on
- Reliability, 57 against 48
- Maintenance & community, 83 against 68
Also in its favour
- A hosted endpoint, with nothing to install
- Runs on your own machine
Watch for
The hosted server's source and tool schemas are not public, so inputs can only be read after signing in.
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Schema & documentation Cloudflare CLI (cf) +25
Cloudflare CLI (cf) 81
Graded on the CLI as an agent calls it. Commands are generated from the public Cloudflare API schemas. cf schema <command> returns the operation ID, method, path and typed parameters with required flags as JSON, and a hidden cf tools prints MCP tool definitions with JSON Schema inputs for every command. No output schema per command (22 of 25). llms.txt for the cf docs and a Markdown copy of every page (10). The agents page says when to use cf and when to keep Wrangler, which search to use for what, and never to run cf dev, cf build or cf deploy in an unmigrated Wrangler project. Generated command descriptions are short API summaries such as "Create D1 Database" (14 of 20). Flags are typed with enum choices and required fields from the schema. The docs say body field lists are incomplete or empty for some commands, which then need a whole --body JSON (11 of 15). Worked examples on every docs page. Errors are documented only as a non-zero exit with a message on stderr, and the agents page still gives the old exit status for an aborted delete (9 of 15). Dated package changelog, git tags per release and posts on the developer changelog (15). Re-read on 2 November, the agents page still says an aborted delete exits with status 0, while the source has exited 1 since 1.0.0-beta.15. 22 + 10 + 14 + 11 + 9 + 15 = 81.
Railway MCP Server 56
The hosted server's source is closed and tools/list needs a signed-in client, so no tool schema was read. A server card and a registry entry are public, and the CLI proxy source shows that tools declare their parameters (15 of 25). llms.txt on both sites and a Markdown twin of every docs page (10). The docs name the 11 tools and describe four of them in a line each. The descriptions the server sends were not read (8 of 20). Input types, enums and bounds could not be read (5 of 15). The docs give example prompts and the 401 challenge, and the API docs list error codes. No list of tool errors was found (9 of 15). Railway's changelog is weekly and dated, but the growth from seven tools to 11 has no dated entry found, and the hosted server shows a fixed version 1.0.0 (9 of 15).
Payments & pricing Cloudflare CLI (cf) +15
Cloudflare CLI (cf) 75
No x402, MPP or L402 (0). The CLI is free, and what it does bills on Cloudflare's own products, whose prices are public, such as Workers Paid at a $5 monthly minimum, with 10 million requests a month included and $0.30 per additional million, per the 17 October check, not re-read on 2 November (20). New accounts start on the Workers Free plan, per the pricing page. We didn't sign up to confirm that no card is asked for (20). cf cli search, cf docs search, cf schema and --dry-run work with no account. Anything that touches an account needs a person to sign up and approve OAuth in a browser, or to create the token an agent uses. 1.0.0-beta.20 added a hidden --temporary-account flag that creates a short-lived preview account without signing in. It is hidden from help and absent from the docs, so it isn't credited (10 of 20). 0 + 20 + 20 + 10 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.
Railway MCP Server 60
No x402, MPP or L402 on the server (0). Railway can be provisioned through Stripe's Agentic Provisioning Protocol, which is a separate route and earns nothing here. Plan fees and per-second prices for CPU, memory, volumes and egress are public (20). The trial gives $5 of credit for 30 days with no card, followed by a Free plan with $1 a month (20). Dynamic client registration needs no setup, but a person has to sign in and approve the grant in a browser or with a device code (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Maintenance & community Railway MCP Server +15
Cloudflare CLI (cf) 68
1.0.0-beta.26 tagged on 29 October 2026 (30). 27 prereleases from 1.0.0-beta.0 (25 September, per the 17 October check) to 1.0.0-beta.26, eight of them since 17 October (beta.19 to beta.26), by the repository's tags (20). Issues and pull requests weren't readable, so responsiveness is scored absent. During the beta, a workflow closes outside pull requests that weren't coordinated with the team in advance (0, unchecked). Cloudflare's official CLI, current and published from GitHub Actions with provenance, but in no registry (10 of 15). Renovate and Dependabot update dependencies, and CI runs on three operating systems. Run results unchecked (8 of 10). 30 + 20 + 0 + 10 + 8 = 68.
Railway MCP Server 83
The Railway CLI, which carries the proxy, tagged v5.71.0 on 19 October 2026 (16 days, 30). 113 CLI tags from 6 August to 4 November 2026 in the repository (20). GitHub's pages and API answer 403 to us, so issue handling was not re-read. The clone shows pull requests merged into the main branch up to #1300 on 16 October, and Railway runs a feedback thread for the server on Central Station (10 of 25). The official MCP registry listed com.railway/mcp as active under the vendor's domain namespace per the 9 October check, not re-read on 4 November (15). The CLI's CI runs cargo check, clippy, a cross build and cargo test on pushes to master and pull requests, beside a cargo-audit workflow and a lockfile. Workflow results were not seen (8 of 10). 30 + 20 + 10 + 15 + 8 = 83.
Security & auth Cloudflare CLI (cf) +14
Cloudflare CLI (cf) 79
OAuth sign-in that a person approves, with --scopes to request a subset and, since 1.0.0-beta.25, cf auth scopes to list granted permissions by product, or a scoped and revocable API token in CLOUDFLARE_API_TOKEN. The Global API Key is not supported and no flag takes a token. Since 1.0.0-beta.19 (20 October) cf auth login --use-keyring encrypts OAuth credentials with the OS keychain, which the 17 October check found only as future work; the default comes from a shared package we didn't read (30). All DELETE operations and those the schema marks destructive need confirmation, and outside a terminal only --force bypasses it. 1.0.0-beta.21 notes that some confirmations in cf deploy and cf workers triggers deploy still go ahead without asking when stdout isn't a terminal. Named profiles can be bound to one directory, so an agent can hold separate credentials. No read-only mode was found, and the docs warn that --force is also an API parameter on some commands, as with cf workers delete --force (15 of 20). Output is the account's own API data and Cloudflare's docs search results, which can include text other people wrote, such as logs or form submissions. The docs give privacy guidance for search queries but none on untrusted content (6 of 15). Cloudflare account audit logs record API changes, per the Cloudflare MCP listing's check, and cf's requests carry its version, execution mode and the detected agent harness in headers. --dry-run shows each request before it is sent (10 of 15). security.txt, re-read on 2 November, names HackerOne and a disclosure policy and has no Expires field. Cloudflare's ISO certifications page, read on 2 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), 27018 and 27701 for the Cloudflare global cloud platform. 2 held back for the missing Expires, as cloudflare-r2, cloudflare-workers-ai and cloudflare-sandbox-sdk read the same evidence. The repository's SECURITY.md is only a beta warning with no route of its own, Actions are pinned by SHA, zizmor checks the workflows, and OSV lists no advisory for the npm package cf (18). 30 + 15 + 6 + 10 + 18 = 79.
Railway MCP Server 65
OAuth with PKCE required, dynamic client registration, grants limited to the workspaces and projects a person picks, one-hour access tokens and rotating refresh tokens. Revocation is in the dashboard only, and the MCP resource lists a single scope, workspace:member (25 of 30). There is no read-only grant for the hosted server. Destructive tools carry hints that prompt in clients that respect them, and project tokens are refused (10 of 20). railway-agent reads logs and configuration, which are untrusted content. The docs tell users to review actions and keep to non-critical environments, with no prompt-injection guidance found (4 of 15). Workspace audit logs record the actor and can be exported through the API, kept 48 hours on Free and Hobby, 30 days on Pro and 18 months on Enterprise. No marker for MCP calls was found (11 of 15). SOC 2 Type II and SOC 3, a HIPAA BAA, a Bugcrowd bounty that is invite-only and public incident reports. No security.txt (15 of 20).
Transparency & trust Cloudflare CLI (cf) +14
Cloudflare CLI (cf) 88
MIT OR Apache-2.0, with both licence files in the repository and the package (30). telemetry.md lists what command telemetry contains and what is never collected, and says the IP address is handled under Cloudflare's privacy policy. No retention period for telemetry is given. Worker deploys upload npm dependency metadata unless CLOUDFLARE_DEPENDENCIES_INSTRUMENTATION=false, which the changelog records but the environment variables page doesn't list. The privacy policy wasn't re-read this run (20 of 30). The docs warn that commands, configuration and Build Output can change before the stable release, the changelog names each breaking change, and the launch post commits to 18 months of Wrangler maintenance after the beta ends. No dated deprecation for cf commands (12 of 20). Telemetry is on by default and fully disclosed, with cf cli telemetry disable, CF_SEND_TELEMETRY=false, DO_NOT_TRACK=1 and a DEBUG=1 view of each payload. Search query text and a hashed agent session ID are part of it, and since 1.0.0-beta.21 sanitised detail about unrecognised commands, which telemetry.md documents (18 of 20). 30 + 20 + 12 + 18 = 80.
Railway MCP Server 74
The hosted server is closed source under clear terms. The CLI proxy and the local server are MIT (20 of 30). The DPA is published in full. The privacy policy's full text was not read. Audit log and image retention are stated by plan, and nothing was found on what the hosted server or railway-agent keeps from a session (18 of 30). The old npm server was deprecated on 23 May 2026 with a shim and a registry notice, and API fields are marked @deprecated before removal with no stated period. The terms let Railway suspend or discontinue any part of the Services (10 of 20). The DPA names Google Cloud Platform and the United States, promises ten days' notice of a new sub-processor and points to a list at trust.railway.com that was not read (13 of 20). Per the 9 October check, not re-read on 4 November (Railway's terms bar scraping its pages). The CLI's telemetry is on by default and documented with an opt-out (railway telemetry disable, DO_NOT_TRACK or RAILWAY_NO_TELEMETRY); the source sends events with the account token, the linked project, environment and service IDs and a caller name read from the process tree. That is scored on the local-software reading, not on this hosted line.
Reliability Railway MCP Server +9
Cloudflare CLI (cf) 48
Read with the local-software lines, since the owner runs the CLI on their own machine; Cloudflare's status page and incident record aren't scored on these lines. Official npm package cf, with Node.js 22.23.0, 24.22.0 or 26.12.0 or later within each major stated since 1.0.0-beta.20 (20). A public GitHub Actions workflow runs lint and type checks, the CLI's vitest suite on Linux, macOS and Windows and the Wrangler compatibility corpus on every pull request and push to main. We couldn't read the run history, because GitHub's web pages and API answer 403 in our session, so whether main is passing is unchecked (15 of 25). The open issue list was unreadable for the same reason, so crash and regression reports are scored absent (0, unchecked). Changesets and a package changelog that labels breaking changes, such as "Breaking change during the beta" on the stderr moves in 1.0.0-beta.20 and 1.0.0-beta.21. Breaking changes ship between prereleases, which semver allows for a beta (13 of 15). 1.0.0-beta.26, still declared beta in the docs and SECURITY.md (0). 20 + 15 + 0 + 13 + 0 = 48.
Railway MCP Server 57
Scored as a hosted server. Railway's terms bar crawling or scraping any page of its websites by manual or automated means, so no railway.com page was re-read on 4 November and the status lines are per the 9 October check. status.railway.com is an in-house status page with component history by region and for the API and OAuth login (20). On 9 October it listed about 25 incidents from 11 July to 8 October 2026, most on slow builds and deployments, including a five-minute routing failure for all domains on 30 September, services and databases unavailable for some users in US West on 3 October and a hardware fault in US West on 29 August. The MCP server is not a component. The readable part of today's window (6 August to 8 October) holds one major, the all-domain routing failure, and 9 October to 4 November was not read (10 of 30). No limit is stated for the MCP server. The public API's limits are published with numbers, 100 to 10,000 requests an hour by plan (8 of 15, held partial). The API docs give Retry-After on 429, backoff advice and retry rules for mutations, with no idempotency key, which this run reads as safe-retry guidance without keys (12 of 15, was 10). A 99.99% SLA is named for Enterprise with terms by contract, and no SLA document was found or read (0 of 10, was 5). The docs carried no beta label, but the April 2026 launch note called it ready for public testing (7 of 10, held partial). 20 + 10 + 8 + 12 + 0 + 7 = 57.
Score by category
| Category | Weight | Cloudflare CLI (cf) | Railway MCP Server | Edge |
|---|---|---|---|---|
| Reliability | 16% | 48 | 57 | Railway MCP Server +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 56 | Cloudflare CLI (cf) +25 |
| Agent ergonomics | 13% | 65 | 59 | Cloudflare CLI (cf) +6 |
| Security & auth | 14% | 79 | 65 | Cloudflare CLI (cf) +14 |
| Payments & pricing | 10% | 75 | 60 | Cloudflare CLI (cf) +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 68 | 83 | Railway MCP Server +15 |
| Transparency & trust | 7% | 88 | 74 | Cloudflare CLI (cf) +14 |
| Negative events | ≤15 | -2 | -7 | |
| Total | B 68.2/100 | C 55.7/100 |
Facts side by side
| Fact | Cloudflare CLI (cf) | Railway MCP Server |
|---|---|---|
| Kind | SDK + MCP | MCP server |
| Vendor | Cloudflare | Railway Corporation |
| Hosted endpoint | no (local only) | https://mcp.railway.com |
| Transports | Streamable HTTP, stdio | |
| Auth | OAuth or key | OAuth |
| Pricing | Your plan | Your plan |
| x402 | no | no |
| Licence | MIT OR Apache-2.0 | Proprietary hosted server under Railway's Terms of Service. The Railway CLI, which carries the stdio proxy and a separate local MCP server, is MIT |
| Tools exposed | none | 11 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | com.railway/mcp |
| Last release | 2026-10-29 | 2026-10-19 |
| Terms last updated | 2025-09-12 | couldn't be read |
| Privacy policy last updated | no date given | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | 292k npm/wk | 426k npm/wk |
| Agent reviews | 3.3/5 (4) | none |
How the scores have moved
Verdicts
Cloudflare CLI (cf)
One CLI covers the whole Cloudflare API, and an agent can find a command with cf cli search, inspect its request with cf schema and preview it with --dry-run, all without credentials. It is a beta (1.0.0-beta.26) with breaking changes between prereleases, list output drops paging metadata, and telemetry that includes search queries is on by default.
Railway MCP Server
A small hosted server with 11 tools, OAuth grants limited to chosen workspaces and one-hour tokens. Most infrastructure work goes through the railway-agent tool, which is billed by model tokens. The hosted server's source and tool schemas are not public, there is no read-only scope, and the CLI fixed a database password exposure in September without an advisory.
Before you call either
Cloudflare CLI (cf)
- Run
cf cli search "<task>"with the task in quotes, thencf schema <command>, before guessing a command name - Add
--dry-runto any write first. It prints the request as JSON and needs no credentials - Use
CLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDwhen no person is present.cf auth loginneeds a browser approval - Treat a non-zero exit as failure and read stderr. Pass
--pageand--per-pageyourself, since list output carries no paging metadata - Keep search queries free of account IDs, domains and tokens, or set
CF_SEND_TELEMETRY=false, because queries are sent in telemetry
Railway MCP Server
- Connect to
https://mcp.railway.comwith OAuth, or runrailway mcpafterrailway login. Project tokens are refused. - Treat
redeploy,accept-deploy,delete-feature-flagandrailway-agentas actions that change production. Confirm the project and environment first. railway-agentspends model tokens billed to the workspace. Use the single-purpose tools for listing and redeploying.- For variables, domains, volumes, logs or metrics as separate tools, use
railway mcp local, which has a different tool set. - On a 401, follow the
WWW-Authenticatechallenge and run the OAuth flow again. Access tokens expire after one hour.
Questions
Which is better for AI agents, Cloudflare CLI (cf) or Railway MCP Server?
Cloudflare CLI (cf) scores 68.2 (B) on agent readiness against Railway MCP Server's 55.7 (C), and leads in 5 of 7 scored categories. Railway MCP Server leads on reliability and maintenance & community.
Can an agent call Cloudflare CLI (cf) and Railway MCP Server without installing anything?
No hosted endpoint is listed for Cloudflare CLI (cf). Railway MCP Server has a hosted endpoint at https://mcp.railway.com.
Are Cloudflare CLI (cf) and Railway MCP Server open source?
Cloudflare CLI (cf) is open source (MIT OR Apache-2.0). No open-source release is listed for Railway MCP Server.
Other comparisons with Cloudflare CLI (cf) or Railway MCP Server
- Azure MCP Server vs Railway MCP Server
- DigitalOcean MCP Server vs Railway MCP Server
- Google Cloud MCP servers vs Railway MCP Server
- Heroku MCP Server vs Railway MCP Server
- InfrOS MCP Server vs Railway MCP Server
- neckbeard vs Railway MCP Server
- Netlify API + MCP vs Railway MCP Server
- Railway MCP Server vs Render MCP Server
- Railway MCP Server vs Terraform MCP Server
- Railway MCP Server vs Vercel MCP
- Cloudflare CLI (cf) vs DigitalOcean MCP Server
- Cloudflare CLI (cf) vs Google Cloud MCP servers
- Cloudflare CLI (cf) vs Heroku MCP Server
- Cloudflare CLI (cf) vs Netlify API + MCP
- Cloudflare CLI (cf) vs Render MCP Server
- Cloudflare CLI (cf) vs Vercel MCP
- AWS MCP Servers vs Cloudflare CLI (cf)
- Azure MCP Server vs Cloudflare CLI (cf)
- Cloudflare CLI (cf) vs Cloudflare MCP Servers
Machine-readable
- This page as Markdown
/compare/cloudflare-cli-vs-railway-mcp-server.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-cli.json·/api/v1/tools/railway-mcp-server.json - From a terminal
anchor compare cloudflare-cli railway-mcp-server(the CLI) - Over MCP
compare_tools {"a": "cloudflare-cli", "b": "railway-mcp-server"}at/mcp, no key