Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.railwayapp/mcp-server

NPM · @RAILWAY/MCP-SERVER · SCANNED AUG 3

Official Railway MCP server

Available components

+54 this week 79 Trust /100

Deprecated

This server is marked deprecated in the MCP registry.

Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (99 of 103), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (99 of 103), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to railwayapp/railway-mcp-server). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 72 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 1387 tokens (~99/item across 14 items; 14 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage99
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 98% of tool parameters carry a description.Partial
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @railway/mcp-server

# add to Claude Code
claude mcp add railwayapp-mcp-server -- npx -y @railway/mcp-server
# add to Codex CLI
codex mcp add railwayapp-mcp-server -- npx -y @railway/mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "railwayapp-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@railway/mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add railwayapp-mcp-server --command npx --arg -y --arg @railway/mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  railwayapp-mcp-server:
    command: "npx"
    args: ["-y", "@railway/mcp-server"]
// mcp.json
{
  "mcpServers": {
    "railwayapp-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@railway/mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +58
    • Install scripts: unverified → pass security
    • Provenance: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • The attested source repository moved: railwayapp/railway-mcp-server security
    • Tool coverage: 100 → unverified functional
    • Schema quality: unverified → excellent functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Stability: unverified → 0.20 functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Licence: MIT functional
  • 31 Jul 26 −25
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 28 Jul 26 +21
    • Dependency health: partial → unverified functional
    • Tool coverage: unverified → 100 functional
    • First check of Tool coverage: 98 functional
    • First check of Schema quality: pass functional
    • First check of Schema quality: unverified functional
    • First check of Schema quality: fail functional
  • 27 Jul 26 25

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@railway/[email protected]

Provenance verified

Ecosystem: npm · Outcome: verified

Reason: verified

Source repo:
railwayapp/railway-mcp-server
Certificate issuer:
https://token.actions.githubusercontent.com
Certificate SAN:
https://github.com/railwayapp/railway-mcp-server/.github/workflows/publish-mcp.yml@refs/tags/v0.1.11
Rekor log index:
1548734840
Predicate type:
https://slsa.dev/provenance/v1
Subject digest:
sha512:f1c6be0c1f9b94c61097e8eee23be608aad5669f7f005761950f0ed3bb62ba7b8c83149642612ed611b8779cdbb561d2689a952acf8fff209d47027e5
Discovery method:
attestation_endpoint
Dependencies 99 packages

99 packages in the resolved dependency tree · 99 deprecated · 30 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 14 exposed · ~1,387 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
check-railway-status ~43

Check whether the Railway CLI is installed and if the user is logged in. This tool helps agents verify the Railway CLI setup before attempting to use other Railway tools.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

create-environment ~102

Create a new Railway environment for the currently linked project. Optionally duplicate an existing environment and set service variables.

NameTypeReqDescription
duplicateEnvironmentstringThe name of an existing environment to duplicate
environmentNamestringyesThe name for the new environment
serviceVariablesarrayService variables to assign in the new environment (only works when duplicating)
workspacePathstringyesThe path to the workspace where the environment should be created

No output schema declared.

No examples provided.

create-project-and-link ~49

Create a new Railway project and link it to the current directory

NameTypeReqDescription
projectNamestringyes
workspacePathstringyesThe path to the workspace to create the project in

No output schema declared.

No examples provided.

deploy ~94

Upload and deploy from the current directory. Supports CI mode, environment, and service options.

NameTypeReqDescription
cibooleanStream build logs only, then exit (equivalent to setting $CI=true)
environmentstringEnvironment to deploy to (defaults to linked environment)
servicestringService to deploy to (defaults to linked service)
workspacePathstringyesThe path to the workspace to deploy

No output schema declared.

No examples provided.

deploy-template ~110

Search and deploy Railway templates. This tool will search for templates using fuzzy search and automatically deploy the selected template to the current Railway project and environment.

NameTypeReqDescription
searchQuerystringyesSearch query to filter templates by name, description, or category
teamIdstringThe ID of the team (optional)
templateIndexnumberIndex of the template to deploy (required if multiple templates found)
workspacePathstringyesThe path to the workspace to deploy the template to

No output schema declared.

No examples provided.

generate-domain ~79

Generate a domain for the currently linked Railway project. If a domain already exists, it will return the existing domain URL. Optionally specify a service to generate the domain for.

NameTypeReqDescription
servicestringThe name of the service to generate the domain for (optional)
workspacePathstringyesThe path to the workspace to generate domain for

No output schema declared.

No examples provided.

get-logs ~400

Get build or deployment logs for the currently linked Railway project. This will only pull the latest successful deployment by default, so if you need to inspect a failed build, you'll need to supply a deployment ID. You can optionally specify a deployment ID, service, and environment. If no deployment ID is provided, it will get logs from the latest deployment. The 'lines' and 'filter' parameters require Railway CLI v4.9.0+. Use 'lines' to limit the number of log lines (disables streaming) and 'filter' to search logs by terms or attributes (e.g., '@level:error', 'user', '@level:warn AND rate limit'). For older CLI versions, these parameters will be ignored and logs will stream.

NameTypeReqDescription
deploymentIdstringDeployment ID to pull logs from. Omit to pull from latest deployment
environmentstringEnvironment to view logs from (defaults to linked environment)
filterstringFilter logs by search terms or attributes. Requires Railway CLI v4.9.0+. Examples: 'error', '@level:error', '@level:warn AND rate limit', 'user login', '@status:500'. See https://docs.railway.com/gui…
jsonbooleanJSON provides structured log data with more information (e.g. timestamps) but uses more tokens. Defaults to false to save tokens. Set to true for more detailed logs.
linesnumberNumber of log lines to return (disables streaming). Requires Railway CLI v4.9.0+. Useful for searching through recent logs.
logTypestringyesType of logs to retrieve: 'build' for build logs or 'deploy' for deployment logs
servicestringService to view logs from (defaults to linked service)
workspacePathstringyesThe path to the workspace to get logs from

No output schema declared.

No examples provided.

link-environment ~62

Link to a specific Railway environment. If no environment is specified, it will list available environments for selection.

NameTypeReqDescription
environmentNamestringyesThe environment name to link to
workspacePathstringyesThe path to the workspace to link the environment to

No output schema declared.

No examples provided.

link-service ~60

Link a service to the current Railway project. If no service is specified, it will list available services

NameTypeReqDescription
serviceNamestringThe service name to link
workspacePathstringyesThe path to the workspace to link the service to

No output schema declared.

No examples provided.

list-deployments ~141

List deployments for a Railway service with IDs, statuses and other metadata. Requires Railway CLI v4.10.0+.

NameTypeReqDescription
environmentstringEnvironment to list deployments from (defaults to linked environment)
jsonbooleanReturn deployments as structured JSON data. When true, the output will contain ids, statuses, and other metadata
limitnumberMaximum number of deployments to show (default: 20, max: 1000)
servicestringService name or ID to list deployments for (defaults to linked service)
workspacePathstringyesThe path to the workspace to list deployments from

No output schema declared.

No examples provided.

list-projects ~20

List all Railway projects for the currently logged in account

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-services ~35

List all services for the currently linked Railway project

NameTypeReqDescription
workspacePathstringyesThe path to the workspace to list services from

No output schema declared.

No examples provided.

list-variables ~90

Show variables for the active environment

NameTypeReqDescription
environmentstringThe environment to show variables for (optional)
jsonbooleanOutput in JSON format (optional)
kvbooleanShow variables in KV format (optional)
servicestringThe service to show variables for (optional)
workspacePathstringyesThe path to the workspace to list variables from

No output schema declared.

No examples provided.

set-variables ~102

Set environment variables for the active environment

NameTypeReqDescription
environmentstringThe environment to set variables for (optional)
servicestringThe service to set variables for (optional)
skipDeploysbooleanSkip triggering deploys when setting variables (optional)
variablesarrayyesArray of '{key}={value}' environment variable pairs to set
workspacePathstringyesThe path to the workspace to set variables in

No output schema declared.

No examples provided.