transport12 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host for HTTP MCP | 127.0.0.1 |
| MCP_PATH | No | Path for Streamable HTTP MCP | /mcp |
| MCP_PORT | No | Port for HTTP MCP | 3001 |
| MCP_TRANSPORT | No | Transport mode: stdio or http | stdio |
| MCP_AUTH_TOKEN | No | Bearer token for securing HTTP MCP | |
| MCP_ALLOWED_HOSTS | No | Allowed external hosts behind reverse proxy | |
| TRANSPORT12_API_BASE_URL | Yes | Base URL of the transport12 API |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| healthB | Check transport12 API availability. Returns a sanitized health payload. |
| get_api_summaryA | Return the MCP-facing transport12 API capabilities and endpoint map. |
| get_service_statusB | Run lightweight checks against key transport12 API endpoints. |
| search_stopsB | Search transport stops by name. |
| find_nearby_stopsB | Find nearest stops by latitude and longitude. |
| get_stop_routesC | Get routes serving a stop. |
| get_stop_arrivalsC | Get factual arrival data for a stop. |
| search_routesA | Search routes by number or name. If query is omitted, returns all routes. |
| get_routeC | Get route details by id. |
| get_route_stopsC | Get route directions and stops. |
| get_route_vehiclesC | Get online vehicles for a route. |
| get_vehicle_forecastA | Get upcoming stops for a vehicle device code. |
| search_bus_station_destinationsC | Search bus station destinations by settlement name. |
| get_bus_station_racesC | Get bus station races for a destination and date. |
| get_bus_station_calendarB | Get bus station race availability by date for a destination. The transport12 API limits the range to the source-supported future window. |
| get_ticket_urlA | Return a compact ticket purchase URL for a bus station race when available. |
| search_everythingA | Search stops, routes, and bus station destinations with one query. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Most tools have clear resource-specific boundaries, but health and get_service_status overlap in purpose, and get_bus_station_races versus get_bus_station_calendar may confuse agents about which returns actual races versus availability. search_everything also partially duplicates the individual search tools, though its aggregate intent is clear.
The tool set follows a consistent snake_case verb_noun pattern with get_, search_, and find_ prefixes, making the API largely predictable. The lone 'health' tool breaks the pattern slightly, but it is still easily understood as a status check.
With 17 tools, the server is at the upper edge of a reasonable size, but the breadth of the domain—stops, routes, vehicles, bus stations, and tickets—justifies the count. No tool feels redundant enough to remove outright, though the three health/summary tools could arguably be consolidated.
The server covers the core read-only workflows for a transit API: searching stops/routes, retrieving arrivals and vehicle forecasts, and exploring bus station races and ticket URLs. Minor gaps exist such as lack of a stop detail endpoint, route schedule/timetable data, or direct bus station lookup by ID, but agents can work around these with the provided surface.