# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- railwayApiToken
properties:
railwayApiToken:
type: string
description: Your Railway API token for authentication. If not provided here,
ensure it's available in the environment.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: {
RAILWAY_API_TOKEN: config.railwayApiToken
}
})
exampleConfig:
railwayApiToken: your-railway-api-token-here