Skip to main content
Glama

Railway MCP Server

Official
by railwayapp

set-variables

Defines environment variables for active environments on Railway MCP Server. Specify workspace paths, key-value pairs, and optional parameters like service, environment, or deploy triggers.

Instructions

Set environment variables for the active environment

Input Schema

NameRequiredDescriptionDefault
environmentNoThe environment to set variables for (optional)
serviceNoThe service to set variables for (optional)
skipDeploysNoSkip triggering deploys when setting variables (optional)
variablesYesArray of '{key}={value}' environment variable pairs to set
workspacePathYesThe path to the workspace to set variables in

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "environment": { "description": "The environment to set variables for (optional)", "type": "string" }, "service": { "description": "The service to set variables for (optional)", "type": "string" }, "skipDeploys": { "description": "Skip triggering deploys when setting variables (optional)", "type": "boolean" }, "variables": { "description": "Array of '{key}={value}' environment variable pairs to set", "items": { "type": "string" }, "type": "array" }, "workspacePath": { "description": "The path to the workspace to set variables in", "type": "string" } }, "required": [ "workspacePath", "variables" ], "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