IntegrateIntegrate
Integrations

Railway Integration

Manage Railway workspaces, projects, services, deployments, variables, domains, and volumes

The Railway integration provides access to manage Railway workspaces, projects, services, deployments, variables, domains, and volumes through the Integrate MCP server.

Installation

The Railway integration is included with the SDK:

import { railwayIntegration } from "integrate-sdk/server";

Setup

1. Create a Railway OAuth App

  1. Go to Backboard Developer Portal
  2. Create a new OAuth application
  3. Configure your redirect URI
  4. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Railway integration to your server configuration. The integration automatically reads RAILWAY_CLIENT_ID and RAILWAY_CLIENT_SECRET from your environment variables:

import { createMCPServer, railwayIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    railwayIntegration({
      scopes: ["openid", "profile", "email", "workspace:admin", "project:member"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

railwayIntegration({
  clientId: process.env.CUSTOM_RAILWAY_ID,
  clientSecret: process.env.CUSTOM_RAILWAY_SECRET,
      scopes: ["openid", "profile", "email", "workspace:admin", "project:member"], // Optional
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";

await client.authorize("railway");
const result = await client.railway.getCurrentUser({});

console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, railwayIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [railwayIntegration()],
});

Configuration Options

Prop

Type

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • openid
  • profile
  • email
  • workspace:admin
  • project:member

Tools

railway_get_current_user

Get current user

No parameters.

railway_get_workspace

Get workspace

Prop

Type

railway_list_regions

List regions

No parameters.

railway_list_projects

List projects

Prop

Type

railway_get_project

Get project

Prop

Type

railway_create_project

Create project

Prop

Type

railway_update_project

Update project

Prop

Type

railway_delete_project

Delete project

Prop

Type

railway_transfer_project

Transfer project

Prop

Type

railway_list_project_members

List project members

Prop

Type

railway_list_environments

List environments

Prop

Type

railway_get_environment

Get environment

Prop

Type

railway_create_environment

Create environment

Prop

Type

railway_rename_environment

Rename environment

Prop

Type

railway_delete_environment

Delete environment

Prop

Type

railway_get_environment_logs

Get environment logs

Prop

Type

railway_get_environment_staged_changes

Get environment staged changes

Prop

Type

railway_commit_environment_staged_changes

Commit environment staged changes

Prop

Type

railway_get_service

Get service

Prop

Type

railway_get_service_instance

Get service instance

Prop

Type

railway_create_service

Create service

Prop

Type

railway_update_service

Update service

Prop

Type

railway_update_service_instance

Update service instance

Prop

Type

railway_connect_service

Connect service

Prop

Type

railway_disconnect_service

Disconnect service

Prop

Type

railway_deploy_service

Deploy service

Prop

Type

railway_redeploy_service

Redeploy service

Prop

Type

railway_get_service_limits

Get service limits

Prop

Type

railway_delete_service

Delete service

Prop

Type

railway_list_deployments

List deployments

Prop

Type

railway_get_deployment

Get deployment

Prop

Type

railway_get_latest_active_deployment

Get latest active deployment

Prop

Type

railway_get_deployment_build_logs

Get deployment build logs

Prop

Type

railway_get_deployment_runtime_logs

Get deployment runtime logs

Prop

Type

railway_get_deployment_http_logs

Get deployment http logs

Prop

Type

railway_redeploy_deployment

Redeploy deployment

Prop

Type

railway_restart_deployment

Restart deployment

Prop

Type

railway_rollback_deployment

Rollback deployment

Prop

Type

railway_stop_deployment

Stop deployment

Prop

Type

railway_cancel_deployment

Cancel deployment

Prop

Type

railway_remove_deployment

Remove deployment

Prop

Type

railway_get_variables

Get variables

Prop

Type

railway_get_unrendered_variables

Get unrendered variables

Prop

Type

railway_upsert_variable

Upsert variable

Prop

Type

railway_upsert_variables

Upsert variables

Prop

Type

railway_delete_variable

Delete variable

Prop

Type

railway_get_rendered_variables

Get rendered variables

Prop

Type

railway_list_domains

List domains

Prop

Type

railway_create_service_domain

Create service domain

Prop

Type

railway_delete_service_domain

Delete service domain

Prop

Type

railway_check_custom_domain_availability

Check custom domain availability

Prop

Type

railway_create_custom_domain

Create custom domain

Prop

Type

railway_get_custom_domain_status

Get custom domain status

Prop

Type

railway_update_custom_domain

Update custom domain

Prop

Type

railway_delete_custom_domain

Delete custom domain

Prop

Type

railway_list_project_volumes

List project volumes

Prop

Type

railway_get_volume_instance

Get volume instance

Prop

Type

railway_create_volume

Create volume

Prop

Type

railway_update_volume

Update volume

Prop

Type

railway_update_volume_instance

Update volume instance

Prop

Type

railway_delete_volume

Delete volume

Prop

Type

railway_list_volume_backups

List volume backups

Prop

Type

railway_create_volume_backup

Create volume backup

Prop

Type

railway_restore_volume_backup

Restore volume backup

Prop

Type

railway_lock_volume_backup

Lock volume backup

Prop

Type

railway_delete_volume_backup

Delete volume backup

Prop

Type

railway_list_volume_backup_schedules

List volume backup schedules

Prop

Type

railway_list_tcp_proxies

List tcp proxies

Prop

Type

Notes

  • Category: Infrastructure
  • Authentication mode: OAuth

On this page

InstallationSetup1. Create a Railway OAuth App2. Configure the Integration on Your Server3. Client-Side UsageConfiguration OptionsDefault ScopesToolsrailway_get_current_userrailway_get_workspacerailway_list_regionsrailway_list_projectsrailway_get_projectrailway_create_projectrailway_update_projectrailway_delete_projectrailway_transfer_projectrailway_list_project_membersrailway_list_environmentsrailway_get_environmentrailway_create_environmentrailway_rename_environmentrailway_delete_environmentrailway_get_environment_logsrailway_get_environment_staged_changesrailway_commit_environment_staged_changesrailway_get_servicerailway_get_service_instancerailway_create_servicerailway_update_servicerailway_update_service_instancerailway_connect_servicerailway_disconnect_servicerailway_deploy_servicerailway_redeploy_servicerailway_get_service_limitsrailway_delete_servicerailway_list_deploymentsrailway_get_deploymentrailway_get_latest_active_deploymentrailway_get_deployment_build_logsrailway_get_deployment_runtime_logsrailway_get_deployment_http_logsrailway_redeploy_deploymentrailway_restart_deploymentrailway_rollback_deploymentrailway_stop_deploymentrailway_cancel_deploymentrailway_remove_deploymentrailway_get_variablesrailway_get_unrendered_variablesrailway_upsert_variablerailway_upsert_variablesrailway_delete_variablerailway_get_rendered_variablesrailway_list_domainsrailway_create_service_domainrailway_delete_service_domainrailway_check_custom_domain_availabilityrailway_create_custom_domainrailway_get_custom_domain_statusrailway_update_custom_domainrailway_delete_custom_domainrailway_list_project_volumesrailway_get_volume_instancerailway_create_volumerailway_update_volumerailway_update_volume_instancerailway_delete_volumerailway_list_volume_backupsrailway_create_volume_backuprailway_restore_volume_backuprailway_lock_volume_backuprailway_delete_volume_backuprailway_list_volume_backup_schedulesrailway_list_tcp_proxiesNotes