KosmoKrator

productivity

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.

7 functions 6 read 1 write Bearer token auth

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.

Machine-Readable Metadata
integration_slug
railway
route_slug
railway
package
railway
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Railway MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Railway.

Railway CLI Matrix

Use these pages for direct Railway CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.