Requirements¶
Security¶
All API endpoints (REST and MCP) must require authentication, except the |
Operations that modify PLC state (variable writes, file uploads, error counter resets)
must enforce the |
Access must be restricted to the PLCs listed in the |
All responses must include security headers: Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, Content-Security-Policy, Cache-Control, Referrer-Policy, Permissions-Policy. |
Write operations must be checked against the symbol guard (allowlist/denylist) before executing. Denied writes return 403. |
Variable writes must be validated against configured constraints (min/max range, enum values, regex pattern, read-only flag). Invalid writes return 400. |
MCP server¶
The |
MCP tools and resources must filter PLCs based on the |
MCP tools must delegate to existing services (VariablesService, SymbolsService, DeviceInfoService, EtherCatService) rather than accessing ADS connections directly. This ensures rate limiting, symbol guards, and feature flags all apply. |
The MCP server must be disabled by default via |