Medium
Answers initialize with a made-up token
MCPS-AUTH-001Why it mattersThe server refused a request without a token, then answered initialize with a token we made up. We call no tool, so this does not show that such a token reaches any data: some servers check it later, when a tool is called.
How to fixCheck the token on every request, initialize included, and answer an invalid one with 401.
- Request
POST https://mcp.promptot.com/mcp (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
event: message data: {"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true},"resources":{"listChanged":true}},"serverInfo":{"name":"promptot","version":"0.1.2"}},"jsonrpc":"2.0","id":1}
Seen in the server's answer
SpecMCP 2026-07-28, Authorization, Token Handling
Medium
Sign-in metadata names another resource
MCPS-AUTH-005Why it mattersThe resource field must be the server's own address (RFC 9728, Section 3.3). Clients that follow the RFC throw the document away, and a mismatch is how one server gets passed off as another.
How to fixSet resource to this endpoint's exact address.
- Request
GET https://mcp.promptot.com/.well-known/oauth-protected-resource- What we saw
resource: https://api.promptot.com (expected https://mcp.promptot.com/mcp)
Seen in the server's answer
SpecRFC 9728, Section 3.3 (Protected Resource Metadata Validation)
Medium
Authorization server metadata names another issuer
MCPS-AUTH-006Why it mattersClients must reject metadata whose issuer differs from the address they looked it up for (RFC 8414, Section 3.3). This check is what stops one server's metadata being served as another's.
How to fixMake issuer the exact identifier the protected resource metadata names.
- Request
GET https://mcp.promptot.com/.well-known/oauth-authorization-server- What we saw
issuer: https://api.promptot.com; looked up as https://mcp.promptot.com
Seen in the server's answer
SpecRFC 8414, Section 3.3 (Authorization Server Metadata Validation)MCP 2026-07-28, Authorization Server Metadata Discovery
Low
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.promptot.com/mcp (initialize)- Answer
401- What we saw
no Strict-Transport-Security
Seen in the server's answer
SpecRFC 6797 (HTTP Strict Transport Security)
Low
No X-Content-Type-Options: nosniff
MCPS-HDR-002Why it mattersA browser may guess a response's type and render JSON or text as HTML or script.
How to fixSend X-Content-Type-Options: nosniff on every response.
res.setHeader('X-Content-Type-Options', 'nosniff')- Request
POST https://mcp.promptot.com/mcp (initialize)- Answer
401- What we saw
no X-Content-Type-Options: nosniff
Seen in the server's answer
SpecFetch Standard, X-Content-Type-Options
Low
Issuer in the authorization response not advertised
MCPS-AUTH-011Why it mattersReturning iss (RFC 9207) lets a client tell which server answered, which stops mix-up attacks between servers. The MCP spec says SHOULD now and expects a future revision to make it MUST.
How to fixReturn iss in authorization responses and set authorization_response_iss_parameter_supported to true.
- Request
GET https://mcp.promptot.com/.well-known/oauth-authorization-server- What we saw
authorization_response_iss_parameter_supported: null
Seen in the server's answer
SpecMCP 2026-07-28, Authorization: Authorization Response ValidationRFC 9207, Section 2.3