railway-mcp

by jason-tan-swe
Verified

variable_bulk_set

[WORKFLOW] Create or update multiple environment variables at once

⚡️ Best for: ✓ Migrating configuration between services ✓ Initial service setup ✓ Bulk configuration updates

⚠️ Not for: × Single variable updates (use variable_set) × Temporary configuration changes

→ Prerequisites: service_list

→ Alternatives: variable_set

→ Next steps: deployment_trigger, service_restart

→ Related: variable_list, service_update

Input Schema

NameRequiredDescriptionDefault
environmentIdYesID of the environment for the variables (usually obtained from service_list)
projectIdYesID of the project containing the service
serviceIdNoOptional: ID of the service for the variables, if omitted updates shared variables)
variablesYesObject mapping variable names to values

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "environmentId": { "description": "ID of the environment for the variables (usually obtained from service_list)", "type": "string" }, "projectId": { "description": "ID of the project containing the service", "type": "string" }, "serviceId": { "description": "Optional: ID of the service for the variables, if omitted updates shared variables)", "type": "string" }, "variables": { "additionalProperties": { "type": "string" }, "description": "Object mapping variable names to values", "type": "object" } }, "required": [ "projectId", "environmentId", "variables" ], "type": "object" }