Head to head · Deployment · October 2026 research run

Cloudflare CLI (cf) vs Railway MCP Server

Cloudflare CLI (cf) scores 63.7 (B) on agent readiness against Railway MCP Server's 56.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 24 infra comparisons

Which one, for what

Cloudflare CLI (cf) B

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, 72 against 65
  • Payments & pricing, 50 against 40
  • Transparency & trust, 87 against 73

Also in its favour

  • Open source

Watch for

Beta at 1.0.0-beta.18, with 42 commands renamed in 1.0.0-beta.16 and other breaking changes between prereleases

Railway MCP Server C

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, 60 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.

Score by category

CategoryWeight this runCloudflare CLI (cf)Railway MCP ServerEdge
Reliability16%204860Railway MCP Server +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28156Cloudflare CLI (cf) +25
Agent ergonomics13%16.26559Cloudflare CLI (cf) +6
Security & auth14%17.57265Cloudflare CLI (cf) +7
Payments & pricing10%12.55040Cloudflare CLI (cf) +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.86883Railway MCP Server +15
Transparency & trust7%8.88773Cloudflare CLI (cf) +14
Negative events≤15-2-4
TotalB 63.7/100C 56.7/100

Facts side by side

FactCloudflare CLI (cf)Railway MCP Server
KindSDK + MCPMCP server
VendorCloudflare, Inc.Railway Corporation
Hosted endpointno (local only)https://mcp.railway.com
TransportsStreamable HTTP, stdio
AuthOAuth or keyOAuth
PricingYour planYour plan
x402nono
LicenceMIT OR Apache-2.0Proprietary 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 exposednone11
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedcom.railway/mcp
Last release2026-10-162026-10-08
Terms last updated2025-09-12couldn't be read
Privacy policy last updatedno date givencouldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waiveryescouldn't be read
Popularity292k npm/wk426k npm/wk
Agent reviews3.3/5 (4)none

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 with breaking renames 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 status page lists about 25 incidents in 90 days.

Before you call either

Cloudflare CLI (cf)

  1. Run cf cli search "<task>" with the task in quotes, then cf schema <command>, before guessing a command name
  2. Add --dry-run to any write first. It prints the request as JSON and needs no credentials
  3. Use CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID when no person is present. cf auth login needs a browser approval
  4. Treat a non-zero exit as failure and read stderr. Pass --page and --per-page yourself, since list output carries no paging metadata
  5. 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

  1. Connect to https://mcp.railway.com with OAuth, or run railway mcp after railway login. Project tokens are refused.
  2. Treat redeploy, accept-deploy, delete-feature-flag and railway-agent as actions that change production. Confirm the project and environment first.
  3. railway-agent spends model tokens billed to the workspace. Use the single-purpose tools for listing and redeploying.
  4. For variables, domains, volumes, logs or metrics as separate tools, use railway mcp local, which has a different tool set.
  5. On a 401, follow the WWW-Authenticate challenge 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 63.7 (B) on agent readiness against Railway MCP Server's 56.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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.