No Strict-Transport-Security header
MCPS-HDR-001Why it mattersWithout it, an attacker can keep a browser on plain HTTP on any later visit. HSTS makes the browser use HTTPS only.
How to fixSend Strict-Transport-Security: max-age=31536000 on every HTTPS response.
return new Response(body, { headers: { 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' } })app.use((req, res, next) => { res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains'); next() })- Request
POST https://mcp.ezgusavdo.uz/mcp (initialize)- Answer
401- What we saw
no Strict-Transport-Security
Seen in the server's answer