data
Railway MCP, CLI, and Lua Integration for AI Agents
Railway integration docs for AI agents: MCP gateway setup, Railway CLI commands, Lua API reference, credentials, and function schemas.Railway for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
railway.railway_list_projects | Read read | 0 | List all Railway projects the authenticated user has access to. Returns project IDs, names, descriptions, and team info. |
railway.railway_get_project | Read read | 1 | Get detailed information about a specific Railway project, including its environments and plugins. |
railway.railway_create_project | Write write | 2 | Create a new Railway project with a name and optional description. |
railway.railway_list_services | Read read | 1 | List all services in a Railway project. Returns service IDs, names, and repository info. |
railway.railway_get_service | Read read | 1 | Get detailed information about a specific Railway service, including its source configuration and repository details. |
railway.railway_list_deployments | Read read | 3 | List deployments for a Railway service. Returns deployment status, environment, and creator info. |
railway.railway_get_current_user | Read read | 0 | Get information about the currently authenticated Railway user. Useful for verifying API credentials. |