u-os-mcp-server
Verified Safeby uiff
Overview
Acts as a gateway for AI agents to interact with a Weidmueller u-OS Data Hub via NATS, enabling reading and writing of PLC variables.
Installation
docker run -i --rm --network host -v $(pwd)/credentials.env:/app/credentials.env mcp-nats-server --nats-url nats://127.0.0.1:4222 --nats-creds /app/credentials.envEnvironment Variables
- CLIENT_ID
- CLIENT_SECRET
Security Notes
The server correctly uses `serde` for JSON-RPC parsing, minimizing parsing vulnerabilities. Credentials are loaded from a file (`credentials.env`) via `OAuth2Credentials::from_env_file`, which is a standard and relatively secure approach for secrets, though proper file system permissions are critical. Communication is over stdin/stdout, reducing network attack surface compared to a direct API. The `write_variable` function currently only supports string values and is noted as incomplete, which is a functional limitation rather than an immediate security flaw, but future implementations should include robust type validation to prevent improper data writes to the PLC. No 'eval' or direct command injection vectors were found.
Similar Servers
klavis
Develop and deploy AI agents that interact with a wide array of web services (e.g., Gmail, YouTube, LinkedIn, Supabase, Salesforce, Kubernetes) through a standardized Model Context Protocol (MCP), often orchestrated by an intelligent routing layer like Strata.
thingspanel-mcp
Serves as a Model Context Protocol (MCP) server for the ThingsPanel IoT platform, enabling natural language interaction with IoT devices for querying information, monitoring status, controlling functions, and analyzing platform data.
IoT-Edge-MCP-Server
A secure, production-ready IoT/Edge server designed to expose industrial protocols (MQTT, Modbus) via a unified HTTP API, enabling AI agents to monitor and control industrial infrastructure through the PolyMCP framework.
git-netai
Provides a unified, asynchronous Model Context Protocol (MCP) server for managing multi-platform network infrastructure (routers, firewalls, WiFi, monitoring, data centers) via a single AI-accessible API.