# Cloudflare CLI (cf) vs Railway MCP Server > Cloudflare CLI scores 63.7 (B) to Railway's 56.7 (C) for deployment. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server - Markdown: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server.md (~2,350 tokens) - Slim: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key) - Licence: CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author. - Updated: 2026-10-17 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. - Cloudflare CLI (cf): grade B, 63.7/100, rank #416 of 1133. Markdown https://www.anchorterminal.com/tools/cloudflare-cli.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-cli.json - Railway MCP Server: grade C, 56.7/100, rank #694 of 1133. Markdown https://www.anchorterminal.com/tools/railway-mcp-server.md · JSON https://www.anchorterminal.com/api/v1/tools/railway-mcp-server.json - Best cloud infrastructure tools for AI agents: https://www.anchorterminal.com/best/infrastructure/index.md - All 24 infra comparisons: https://www.anchorterminal.com/compare/infrastructure/index.md ## Which one, for what ### Cloudflare CLI (cf) (B) Good 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) Good 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 | Category | Weight | Cloudflare CLI (cf) | Railway MCP Server | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 48 | 60 | Railway MCP Server +12 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 81 | 56 | Cloudflare CLI (cf) +25 | | Agent ergonomics | 13% (16.2 this run) | 65 | 59 | Cloudflare CLI (cf) +6 | | Security & auth | 14% (17.5 this run) | 72 | 65 | Cloudflare CLI (cf) +7 | | Payments & pricing | 10% (12.5 this run) | 50 | 40 | Cloudflare CLI (cf) +10 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 68 | 83 | Railway MCP Server +15 | | Transparency & trust | 7% (8.8 this run) | 87 | 73 | Cloudflare CLI (cf) +14 | | Negative events | ≤15 | -2 | -4 | | | **Total** | | **63.7 · B** | **56.7 · C** | | ## Facts side by side | Fact | Cloudflare CLI (cf) | Railway MCP Server | | --- | --- | --- | | Kind | SDK + MCP | MCP server | | Vendor | Cloudflare, Inc. | 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-16 | 2026-10-08 | | 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 | ## 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 ""` with the task in quotes, then `cf schema `, 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. ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-cli-vs-railway-mcp-server.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "cloudflare-cli", "b": "railway-mcp-server"}`. From a terminal: `anchor compare cloudflare-cli railway-mcp-server` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-cli.json and https://www.anchorterminal.com/api/v1/tools/railway-mcp-server.json ## Other comparisons with Cloudflare CLI (cf) or Railway MCP Server - [Azure MCP Server vs Railway MCP Server](https://www.anchorterminal.com/compare/azure-mcp-vs-railway-mcp-server.md) - [DigitalOcean MCP Server vs Railway MCP Server](https://www.anchorterminal.com/compare/digitalocean-mcp-vs-railway-mcp-server.md) - [neckbeard vs Railway MCP Server](https://www.anchorterminal.com/compare/neckbeard-vs-railway-mcp-server.md) - [Railway MCP Server vs Render MCP Server](https://www.anchorterminal.com/compare/railway-mcp-server-vs-render-mcp-server.md) - [Railway MCP Server vs Terraform MCP Server](https://www.anchorterminal.com/compare/railway-mcp-server-vs-terraform-mcp.md) - [Cloudflare CLI (cf) vs DigitalOcean MCP Server](https://www.anchorterminal.com/compare/cloudflare-cli-vs-digitalocean-mcp.md) - [Cloudflare CLI (cf) vs Render MCP Server](https://www.anchorterminal.com/compare/cloudflare-cli-vs-render-mcp-server.md) - [AWS MCP Servers vs Cloudflare CLI (cf)](https://www.anchorterminal.com/compare/aws-mcp-servers-vs-cloudflare-cli.md) - [Azure MCP Server vs Cloudflare CLI (cf)](https://www.anchorterminal.com/compare/azure-mcp-vs-cloudflare-cli.md) - [Cloudflare CLI (cf) vs Cloudflare MCP Servers](https://www.anchorterminal.com/compare/cloudflare-cli-vs-cloudflare-mcp.md) --- Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp