py-mcp-train-nl
Verified Safeby eze-godoy
Overview
Enables AI assistants to search train stations, plan routes with pricing, and get real-time departure information for Netherlands Railways (NS).
Installation
docker run -i --rm --init -e NS_API_KEY=your_api_key_here ezegodoy26/mcp-server-ns-bridge:latestEnvironment Variables
- NS_API_KEY
Security Notes
The project follows good security practices: NS_API_KEY is loaded from environment variables (not hardcoded), and `httpx` is used for API calls. Docker images run as non-root users with multi-stage builds. A minor concern is the inclusion of `traceback.format_exc()` in generic `Exception` handlers in `search_trips`, which could expose internal details in a production environment, although not a critical vulnerability.
Similar Servers
mcp-server-python-template
This server acts as a template for building Model Context Protocol (MCP) servers in Python, specifically demonstrating how to expose weather-related tools (get_alerts, get_forecast) by integrating with an external API (National Weather Service) to provide context and actions for AI models.
mcp-ai-agent
This repository provides an AI agent designed to interact with and control entities within a Multi-Client Protocol (MCP) environment, likely a game or simulation.
python-mcp-agent-workshop
Implements an MCP server with a keyword search tool for AI agents to analyze codebases and provide insights.
jotsu-mcp
General-purpose library for implementing the Model Context Protocol (MCP) and creating workflows that use MCP tools, resources, and prompts.