Skip to main content
Glama

Railway MCP Server

Official
by railwayapp

generate-domain

Create a domain for a linked Railway project. If a domain exists, retrieve its URL. Optionally specify a service to generate the domain for, using the workspace path as input.

Instructions

Generate a domain for the currently linked Railway project. If a domain already exists, it will return the existing domain URL. Optionally specify a service to generate the domain for.

Input Schema

NameRequiredDescriptionDefault
serviceNoThe name of the service to generate the domain for (optional)
workspacePathYesThe path to the workspace to generate domain for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "service": { "description": "The name of the service to generate the domain for (optional)", "type": "string" }, "workspacePath": { "description": "The path to the workspace to generate domain for", "type": "string" } }, "required": [ "workspacePath" ], "type": "object" }

Other Tools from Railway MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/railwayapp/railway-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server