mcp-server-ns-bridge
Verified Safeby eze-godoy
Overview
Integrates Netherlands Railways (NS) train information (route planning, pricing, real-time departures) into AI assistants via the Model Context Protocol (MCP).
Installation
docker run -i --rm --init -e NS_API_KEY=your_api_key_here ezegodoy26/mcp-server-ns-bridge:latestEnvironment Variables
- NS_API_KEY
- NS_API_BASE_URL
- ENVIRONMENT
Security Notes
The server uses `pydantic-settings` to load the NS API key from environment variables, avoiding hardcoded secrets. It employs robust error handling with `try...except` blocks and logs exceptions internally. Running as a stdio server via Docker means no exposed network ports, reducing the attack surface. Pydantic models are used for input/output validation, enhancing data integrity. Minor information leak in `search_trips` error handling that returns a `traceback` key for unexpected errors, though typically for debugging and not directly user-facing in normal operation.
Similar Servers
wanaku
Centralized routing and management of AI agent access to diverse tools and resources via the Model Context Protocol (MCP).
osmmcp
Provides a suite of geospatial tools (geocoding, routing, nearby places, neighborhood analysis, EV charging) for large language models (LLMs) via the Model Context Protocol (MCP).
mcp-server-ns-trains
Integrates Netherlands Railways (NS) train information into AI assistants for route planning, pricing, and real-time departures.
gemini_mcp_onekey
Provides an MCP server wrapper for Google Gemini API, enabling image generation with various Gemini models.