Official server.json
{
"name": "io.github.cyanheads/transitland-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.2.0",
"packages": [
{
"version": "0.2.0",
"transport": {
"type": "stdio"
},
"identifier": "@cyanheads/transitland-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "TRANSITLAND_API_KEY",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "Transitland v2 API key, sent as the `apikey` query parameter. Get one at the Transitland developer portal."
},
{
"name": "TRANSITLAND_BASE_URL",
"format": "string",
"default": "https://transit.land/api/v2/rest",
"description": "Override the Transitland REST API base URL (default https://transit.land/api/v2/rest)."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
},
{
"version": "0.2.0",
"transport": {
"url": "http://localhost:3010/mcp",
"type": "streamable-http"
},
"identifier": "@cyanheads/transitland-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_TRANSPORT_TYPE",
"value": "http",
"format": "string",
"description": "Selects the HTTP transport."
},
{
"name": "TRANSITLAND_API_KEY",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "Transitland v2 API key, sent as the `apikey` query parameter. Get one at the Transitland developer portal."
},
{
"name": "TRANSITLAND_BASE_URL",
"format": "string",
"default": "https://transit.land/api/v2/rest",
"description": "Override the Transitland REST API base URL (default https://transit.land/api/v2/rest)."
},
{
"name": "MCP_HTTP_HOST",
"format": "string",
"default": "127.0.0.1",
"description": "The hostname for the HTTP server."
},
{
"name": "MCP_HTTP_PORT",
"format": "string",
"default": "3010",
"description": "The port to run the HTTP server on."
},
{
"name": "MCP_HTTP_ENDPOINT_PATH",
"format": "string",
"default": "/mcp",
"description": "The endpoint path for the MCP server."
},
{
"name": "MCP_AUTH_MODE",
"format": "string",
"default": "none",
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}
],
"repository": {
"url": "https://github.com/cyanheads/transitland-mcp-server",
"source": "github"
},
"description": "Global transit via Transitland v2 — operators, GTFS/GTFS-RT/GBFS feeds, routes, stops, departures."
}