Skip to main content
Glama

Railway MCP Server

Official
by railwayapp

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

NameRequiredDescriptionDefault
environmentNoThe environment to show variables for (optional)
jsonNoOutput in JSON format (optional)
kvNoShow variables in KV format (optional)
serviceNoThe service to show variables for (optional)
workspacePathYesThe 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" }

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