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://api.keirolabs.cloud/mcp/api (initialize, Origin: https://probe.invalid)- Answer
200- 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
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://api.keirolabs.cloud/mcp/api (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
event: message data: {"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"keirolabs-api","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
Seen in the server's answer
SpecMCP 2026-07-28, Authorization, Token Handling
Medium
Sign-in metadata names no authorization server
MCPS-AUTH-004Why it mattersThe metadata document exists but has no authorization_servers, which the MCP spec requires, so a client has nowhere to send the person.
How to fixList at least one authorization server in authorization_servers.
- Request
GET https://api.keirolabs.cloud/.well-known/oauth-protected-resource/mcp/api- What we saw
{"resource":"https://api.keirolabs.cloud/mcp/api","scopes_supported":["search:web","content:research","extract:url","answer:web"],"bearer_methods_supported":["header"],"resource_documentation":"https://docs.keirolabs.cloud/mcp"}
Seen in the server's answer
SpecMCP 2026-07-28, Authorization Server Discovery: Authorization Server Location
Low
Answers a request from a foreign website
MCPS-ORIGIN-001Why it mattersThe MCP spec requires a 403 for an Origin the server does not expect. On a public server this keeps other websites' pages from calling it through a visitor's browser; on a server running on someone's own machine, it is what stops a web page from reaching it (DNS rebinding, behind CVE-2025-66414 and CVE-2025-66416).
How to fixWhen an Origin header is present and not on your list, answer 403; requests without one, from programs, keep working. In the official SDKs, turn on DNS rebinding protection and list the allowed origins and hosts.
new StreamableHTTPServerTransport({ enableDnsRebindingProtection: true, allowedOrigins: ['https://claude.ai'], allowedHosts: ['mcp.example.com'] })const origin = request.headers.get('Origin'); if (origin && !ALLOWED.has(origin)) return new Response(null, { status: 403 })- Request
POST https://api.keirolabs.cloud/mcp/api (initialize, Origin: https://probe.invalid)- Answer
200- What we saw
event: message data: {"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"keirolabs-api","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
Seen in the server's answer
SpecMCP 2026-07-28, Transports, Streamable HTTP: Security & Endpoint, item 1CVE-2025-66414 (TypeScript SDK), CVE-2025-66416 (Python SDK): DNS rebinding protection off by default