developer-toolsapi_key

Railway

Railway is a deployment platform for building and shipping applications with instant deployments, automatic scaling, and managed infrastructure.

Verdict

Railway deploys and manages infrastructure for web apps, databases, and services. In Switchy, @mentioning Railway lets your team provision environments, check deployment logs, manage secrets, and query service health without leaving the conversation. Developers get instant visibility into staging vs. production state; product managers can verify a feature shipped; support can pull error logs when a customer reports a bug. Auth requires a Railway API key with project-level access — you'll grant read/write on deployments, environments, and variables.

Common use cases

  • Pull production logs during incident triage
  • Check deployment status before demo calls
  • Rotate environment secrets after security audit
  • Verify staging environment matches ticket scope
  • Delete unused volumes to reduce cloud spend

Integration

Vendor
Railway
Category
developer-tools
Auth
API_KEY
Tools
18
Composio slug
railway

Tools

  • Create Plugin

    Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project functionality. The action requires a valid

  • Delete Variable
    destructive

    Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irreversible — once deleted, the variable ca

  • Delete Volume
    destructive

    Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its data will be permanently deleted and cannot

  • Delete workspace
    destructive

    Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed.

  • Disconnect Discord account

    Disconnects the authenticated user's Railway account from Discord. Use when you need to unlink a Discord account that was previously connected to Railway for notifications, authentication, or team management. This action is irreversible for

  • Get Deployment Logs

    Retrieve runtime logs for a deployment. Use when you need to view the runtime application logs for troubleshooting runtime issues, monitoring application behavior, or debugging errors that occur during deployment execution. This action quer

  • Get Environment

    Get details of a specific Railway environment by its ID, including service instances and deployment information. Use this action when you need to retrieve detailed information about an environment, such as its name, creation timestamp, and

  • Get GitHub PR Info

    Get information for a GitHub pull request associated with a Railway service. Use this action when you need to retrieve details about a specific pull request, such as its title, state, URL, or author information, for monitoring PR status or

  • Get User Kickback Earnings

    Get the total kickback earnings for the authenticated Railway user. Use this action when you need to retrieve the kickback earnings information for the authenticated user, including the total amount earned and the currency. This is a read-o

  • List API Tokens

    Retrieve all API tokens for the authenticated user from Railway. Use this action when you need to fetch the list of API tokens associated with the currently authenticated user. This is a read-only operation that returns token metadata inclu

  • List Environment Patches

    Retrieve all patches for a Railway environment using the GraphQL API. Use this action when you need to fetch the list of configuration patches applied to an environment. This is useful for auditing environment history, tracking configuratio

  • List GitHub Repos

    Retrieve a list of GitHub repositories that Railway has access to. Use this action when you need to fetch the list of GitHub repositories associated with the authenticated user's GitHub account through Railway. This is a read-only operation

  • List GitHub Writable Scopes

    Retrieve the list of GitHub scopes the user has installed the installation to. Use this action when you need to fetch the list of GitHub scope names that the authenticated user has granted to the Railway GitHub application. This is a read-o

  • List Integration Auths

    Retrieve all integration auths for the authenticated user from Railway. Use this action when you need to fetch the list of integration auths (such as GitHub, GitLab, Vercel, or other connected integrations) associated with the currently aut

  • List Notification Deliveries

    Retrieve notification deliveries for the authenticated user. Use this action when you need to fetch a list of notification deliveries, such as tracking which notifications have been sent (e.g., EMAIL, WEBHOOK, SLACK) and when they were crea

  • List Railway Trusted Domains

    Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to

  • Update Project

    Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief

  • Update Service Instance

    Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent opera

Setup

Setup guide

  1. 11. Open your Switchy workspace and navigate to Settings → Integrations → Developer Tools. 2. Click 'Connect Railway' and choose 'API Key' as the auth method. 3. In a separate tab, log into Railway, go to Account Settings → Tokens, and generate a new API token with 'Project Admin' scope. 4. Paste the token into Switchy and click 'Authorize'. 5. Switchy will verify the connection by listing your Railway projects. 6. Inside any Project, type '@Railway get environment <env-id>' to test — the MCP should return environment details and confirm the integration works. 7. To invoke Railway tools, always start your message with '@Railway' followed by the action (e.g. '@Railway get deployment logs for <deployment-id>').

What teammates see: by default, memories from Railway are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Projects have used this MCP together with a given model.

How Switchy teams use it

Not enough Projects yet to publish anonymised usage stats (we require ≥ 50 Projects per week).

Starter prompts

Check Deploy Status

@Railway get environment details for production and show me the most recent deployment status, including any failed builds or runtime errors.
Open in a Project →

Tail Application Logs

@Railway get deployment logs for the current production deployment, filtering for ERROR and WARN level messages from the last hour.
Open in a Project →

Audit Environment Variables

@Railway list all environment variables for the staging environment and flag any that differ from production.
Open in a Project →

Provision New Plugin

@Railway create a new PostgreSQL plugin in the main project and return the connection string once provisioning completes.
Open in a Project →

Clean Up Old Volumes

@Railway list all volumes in the project, identify any not attached to a running service, and delete them after confirming they're unused.
Open in a Project →
Data last verified 6 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.