Skip to main content
Glama

Railway MCP Server

Official
by railwayapp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
check-railway-status

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.

create-environment

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

create-project-and-link

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

deploy-template

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.

deploy

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

generate-domain

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.

get-logs

Get build or deployment logs for the currently linked Railway project. You can optionally specify a deployment ID, service, and environment. If no deployment ID is provided, it will get logs from the latest deployment.

link-environment

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

link-service

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

list-projects

List all Railway projects for the currently logged in account

list-services

List all services for the currently linked Railway project

list-variables

Show variables for the active environment

set-variables

Set environment variables for the active environment

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/railwayapp/railway-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server