mcp-server-examples
by schornio
Overview
This server provides a collection of example Model Context Protocol (MCP) servers, demonstrating integration with various external data sources and smart home devices (Philips HUE, Austrian public data like Linz Innovationshaupplatz, klimaaktiv funding, Firmenbuch, and legal texts).
Installation
npx @schornio/mcp-server-examples@latest <example-name>Environment Variables
- FIRMENBUCH_API_KEY
- PHILIPS_HUE_BRIDGE_ADDRESS
- PHILIPS_HUE_API_KEY
- PHILIPS_HUE_LIGHT_IDS
Security Notes
The Philips HUE example (`examples/philips-hue/fetchHUE.ts`) explicitly sets `rejectUnauthorized: false` for its `undici` agent. This critically disables SSL/TLS certificate validation for connections to the Philips HUE bridge. While possibly intended for local networks or specific development setups where self-signed certificates might be used, this practice opens the connection to Man-in-the-Middle (MITM) attacks. An attacker on the local network could easily intercept or alter communication with the Hue Bridge. This is a severe security flaw for any network communication. Additionally, the server depends on API keys (Firmenbuch, Philips HUE) passed via environment variables, which is a good practice, but the overall lack of robust input sanitization beyond `zod` schemas (which validate structure but not necessarily malicious content for external systems) could be a concern if the external APIs are untrusted.
Similar Servers
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
example-remote-server
A reference server demonstrating all Model Context Protocol (MCP) features and OAuth 2.0 authentication patterns.
advanced-homeassistant-mcp
A powerful, secure, and extensible Model Context Protocol (MCP) server that enables AI assistants like Claude, GPT, and Cursor to seamlessly interact with Home Assistant. Control your lights, climate, automations, and more through natural language commands.
openhab-mcp
This project provides an MCP (Model Context Protocol) server to enable AI assistants like Claude and Cline to interact with and manage a real openHAB smart home system via its REST API.