io.github.railwayapp/mcp-server
NPM · @RAILWAY/MCP-SERVER · SCANNED AUG 3
Official Railway MCP server
Available components
Deprecated
This server is marked deprecated in the MCP registry.
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
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
claude mcp add railwayapp-mcp-server -- npx -y @railway/mcp-server
codex mcp add railwayapp-mcp-server -- npx -y @railway/mcp-server
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"railwayapp-mcp-server": {
"type": "local",
"command": [
"npx",
"-y",
"@railway/mcp-server"
],
"enabled": true
}
}
} openclaw mcp add railwayapp-mcp-server --command npx --arg -y --arg @railway/mcp-server
mcp_servers:
railwayapp-mcp-server:
command: "npx"
args: ["-y", "@railway/mcp-server"] {
"mcpServers": {
"railwayapp-mcp-server": {
"command": "npx",
"args": [
"-y",
"@railway/mcp-server"
]
}
}
} 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.
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.
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.
check-railway-status Check Railway CLI 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 Create Environment ~102
Create a new Railway environment for the currently linked project. Optionally duplicate an existing environment and set service variables.
| Name | Type | Req | Description |
|---|---|---|---|
| duplicateEnvironment | string | — | The name of an existing environment to duplicate |
| environmentName | string | yes | The name for the new environment |
| serviceVariables | array | — | Service variables to assign in the new environment (only works when duplicating) |
| workspacePath | string | yes | The path to the workspace where the environment should be created |
No output schema declared.
No examples provided.
create-project-and-link Create Railway Project ~49
Create a new Railway project and link it to the current directory
| Name | Type | Req | Description |
|---|---|---|---|
| projectName | string | yes | — |
| workspacePath | string | yes | The path to the workspace to create the project in |
No output schema declared.
No examples provided.
deploy Deploy to Railway ~94
Upload and deploy from the current directory. Supports CI mode, environment, and service options.
| Name | Type | Req | Description |
|---|---|---|---|
| ci | boolean | — | Stream build logs only, then exit (equivalent to setting $CI=true) |
| environment | string | — | Environment to deploy to (defaults to linked environment) |
| service | string | — | Service to deploy to (defaults to linked service) |
| workspacePath | string | yes | The path to the workspace to deploy |
No output schema declared.
No examples provided.
deploy-template Deploy Railway 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.
| Name | Type | Req | Description |
|---|---|---|---|
| searchQuery | string | yes | Search query to filter templates by name, description, or category |
| teamId | string | — | The ID of the team (optional) |
| templateIndex | number | — | Index of the template to deploy (required if multiple templates found) |
| workspacePath | string | yes | The path to the workspace to deploy the template to |
No output schema declared.
No examples provided.
generate-domain Generate Railway 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.
| Name | Type | Req | Description |
|---|---|---|---|
| service | string | — | The name of the service to generate the domain for (optional) |
| workspacePath | string | yes | The path to the workspace to generate domain for |
No output schema declared.
No examples provided.
get-logs Get Railway 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.
| Name | Type | Req | Description |
|---|---|---|---|
| deploymentId | string | — | Deployment ID to pull logs from. Omit to pull from latest deployment |
| environment | string | — | Environment to view logs from (defaults to linked environment) |
| filter | string | — | Filter 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… |
| json | boolean | — | JSON 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. |
| lines | number | — | Number of log lines to return (disables streaming). Requires Railway CLI v4.9.0+. Useful for searching through recent logs. |
| logType | string | yes | Type of logs to retrieve: 'build' for build logs or 'deploy' for deployment logs |
| service | string | — | Service to view logs from (defaults to linked service) |
| workspacePath | string | yes | The path to the workspace to get logs from |
No output schema declared.
No examples provided.
link-environment Link Environment ~62
Link to a specific Railway environment. If no environment is specified, it will list available environments for selection.
| Name | Type | Req | Description |
|---|---|---|---|
| environmentName | string | yes | The environment name to link to |
| workspacePath | string | yes | The path to the workspace to link the environment to |
No output schema declared.
No examples provided.
link-service Link Railway Service ~60
Link a service to the current Railway project. If no service is specified, it will list available services
| Name | Type | Req | Description |
|---|---|---|---|
| serviceName | string | — | The service name to link |
| workspacePath | string | yes | The path to the workspace to link the service to |
No output schema declared.
No examples provided.
list-deployments List Railway Deployments ~141
List deployments for a Railway service with IDs, statuses and other metadata. Requires Railway CLI v4.10.0+.
| Name | Type | Req | Description |
|---|---|---|---|
| environment | string | — | Environment to list deployments from (defaults to linked environment) |
| json | boolean | — | Return deployments as structured JSON data. When true, the output will contain ids, statuses, and other metadata |
| limit | number | — | Maximum number of deployments to show (default: 20, max: 1000) |
| service | string | — | Service name or ID to list deployments for (defaults to linked service) |
| workspacePath | string | yes | The path to the workspace to list deployments from |
No output schema declared.
No examples provided.
list-projects List Railway 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 List Railway Services ~35
List all services for the currently linked Railway project
| Name | Type | Req | Description |
|---|---|---|---|
| workspacePath | string | yes | The path to the workspace to list services from |
No output schema declared.
No examples provided.
list-variables List Railway Variables ~90
Show variables for the active environment
| Name | Type | Req | Description |
|---|---|---|---|
| environment | string | — | The environment to show variables for (optional) |
| json | boolean | — | Output in JSON format (optional) |
| kv | boolean | — | Show variables in KV format (optional) |
| service | string | — | The service to show variables for (optional) |
| workspacePath | string | yes | The path to the workspace to list variables from |
No output schema declared.
No examples provided.
set-variables Set Railway Variables ~102
Set environment variables for the active environment
| Name | Type | Req | Description |
|---|---|---|---|
| environment | string | — | The environment to set variables for (optional) |
| service | string | — | The service to set variables for (optional) |
| skipDeploys | boolean | — | Skip triggering deploys when setting variables (optional) |
| variables | array | yes | Array of '{key}={value}' environment variable pairs to set |
| workspacePath | string | yes | The path to the workspace to set variables in |
No output schema declared.
No examples provided.