list-variables
Display environment variables for a specified workspace, service, or environment in plain text, KV, or JSON format using the Railway MCP Server.
Instructions
Show variables for the active environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | No | The environment to show variables for (optional) | |
json | No | Output in JSON format (optional) | |
kv | No | Show variables in KV format (optional) | |
service | No | The service to show variables for (optional) | |
workspacePath | Yes | The path to the workspace to list variables from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"environment": {
"description": "The environment to show variables for (optional)",
"type": "string"
},
"json": {
"description": "Output in JSON format (optional)",
"type": "boolean"
},
"kv": {
"description": "Show variables in KV format (optional)",
"type": "boolean"
},
"service": {
"description": "The service to show variables for (optional)",
"type": "string"
},
"workspacePath": {
"description": "The path to the workspace to list variables from",
"type": "string"
}
},
"required": [
"workspacePath"
],
"type": "object"
}