Skip to main content
Glama
malkreide

swiss-transport-mcp

by malkreide

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_ENVNoProcess environment. Must be 'dev', 'development', 'local', or 'test' to allow disabling TLS verification.
LOG_FORMATNo'json' for structured logs, anything else for text
MCP_STATELESSNoSet to '1' to run Streamable HTTP transport statelessly
SIRI_SX_API_KEYNoOptional key for disruption alerts (SIRI-SX)
MCP_CORS_ORIGINSNoComma-separated list of allowed browser origins for HTTP transport
OJP_FARE_API_KEYNoOptional key for ticket prices (OJP Fare)
FORMATION_API_KEYNoOptional key for train formation
OCCUPANCY_API_KEYNoOptional key for occupancy forecast
TRANSPORT_API_KEYYesUnified API key for OJP 2.0 and CKAN (required for core tools)
TRANSPORT_CKAN_URLNoOverride CKAN base URL (must stay on opentransportdata.swiss allow-list)
OTEL_TRACES_ENABLEDNoSet to '1' to enable OpenTelemetry tracing (requires otel extra)
TRANSPORT_SSL_VERIFYNoSet to 'false' to disable TLS certificate verification (only honoured when MCP_ENV marks a dev environment)
TRANSPORT_OJP_API_KEYNoOptional override for OJP API key
TRANSPORT_CKAN_API_KEYNoOptional CKAN API key

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/malkreide/swiss-transport-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server