Railway
Railway is a deployment platform for building and shipping applications with instant deployments, automatic scaling, and managed infrastructure.
This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.
Connect
Railway authenticates with an API key. Generate the credential in your Railway account, then paste it into FlyMyAI the first time an agent uses a Railway action.
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
API key | Your Railway API credential. Create or find it in your account settings (usually under API / Developer settings). (required) |
Actions
Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.
| Action | What it does | Required inputs |
|---|---|---|
RAILWAY_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 project ID (found i… | projectId, name |
RAILWAY_DELETE_VARIABLE | 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 cannot be recovered. | project_id, environment_id, name |
RAILWAY_DELETE_VOLUME | 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 be recovered once… | volume_id |
RAILWAY_DELETE_WORKSPACE | 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. This action is irr… | id |
RAILWAY_DISCONNECT_USER_DISCORD | 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 the disconnect ope… | - |
RAILWAY_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 queries the Railway Gra… | deployment_id |
RAILWAY_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 the service instanc… | id |
RAILWAY_GET_GIT_HUB_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 integrating with CI… | prNumber, serviceId |
RAILWAY_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-only operation that… | - |
RAILWAY_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 including the ID, name,… | - |
RAILWAY_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 configuration changes, or revie… | environment_id |
RAILWAY_LIST_GIT_HUB_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 that returns the i… | - |
RAILWAY_LIST_GIT_HUB_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-only operation that… | - |
RAILWAY_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 authenticated user. Th… | - |
RAILWAY_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 created. This is a read… | - |
RAILWAY_LIST_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 be invited to the w… | - |
RAILWAY_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 description of the… | id, input |
RAILWAY_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 operation. The following… | service_id, environment_id, input |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Railway!