Medium
Any website can read answers sent with the person's cookies
MCPS-CORS-001Why it mattersThe server repeats whatever Origin it gets and allows credentials. If sign-in uses cookies, any page a signed-in person opens can call the server as that person and read the answer.
How to fixAllow credentials only for a fixed list of origins, never for the Origin a request sends.
- Request
POST https://sports-betting-odds-arbitrage-api.p.rapidapi.com/v1/mcp (initialize, Origin: https://probe.invalid)- Answer
429- What we saw
Access-Control-Allow-Origin: https://probe.invalid; Access-Control-Allow-Credentials: true
Seen in the server's answer
SpecFetch Standard, CORS protocol and credentials
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://sports-betting-odds-arbitrage-api.p.rapidapi.com/v1/mcp (initialize); GET /.well-known/oauth-protected-resource- Answer
401- What we saw
no WWW-Authenticate resource_metadata, no metadata at the well-known addresses
Seen in the server's answer
SpecMCP 2026-07-28, Authorization Server Discovery: Protected Resource Metadata Discovery RequirementsRFC 9728, Section 5.1
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://sports-betting-odds-arbitrage-api.p.rapidapi.com/v1/mcp (initialize)- Answer
401- What we saw
no Strict-Transport-Security
Seen in the server's answer
SpecRFC 6797 (HTTP Strict Transport Security)