Critical
Accepts a made-up token
MCPS-AUTH-001Why it mattersThe server refused a request without a token, then answered a request carrying a token we made up, so a forged token got past the check.
How to fixValidate every token before answering: signature, issuer, expiry and that it was issued for this server.
- Request
POST https://animatecaptions.com/api/mcp (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
{"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"animatecaptions","version":"0.1.0"},"instructions":"AnimateCaptions burns animated, word-by-word captions (TikTok / Reels / Shorts style) into a video.\nTypical flow: list_caption_styles (o…
Seen in the server's answer
SpecMCP 2026-07-28, Authorization, Token Handling
Medium
Clients cannot find how to sign in
MCPS-AUTH-003Why it mattersThe server wants a sign-in but says neither in its 401 nor at the well-known address where to get a token. Claude, ChatGPT and other clients cannot connect without setup by hand.
How to fixPublish OAuth protected resource metadata (RFC 9728) and name it in the 401's WWW-Authenticate header.
res.status(401).set('WWW-Authenticate', 'Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource/mcp"').end()mcp = FastMCP('example', auth=AuthSettings(issuer_url='https://auth.example.com', resource_server_url='https://mcp.example.com/mcp'), token_verifier=verifier)- Request
POST https://animatecaptions.com/api/mcp (initialize); GET /.well-known/oauth-protected-resource- Answer
401- What we saw
WWW-Authenticate: Bearer realm="animatecaptions"
Seen in the server's answer
SpecMCP 2026-07-28, Authorization Server Discovery: Protected Resource Metadata Discovery RequirementsRFC 9728, Section 5.1
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://animatecaptions.com/api/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