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.kollguard.com/v1/mcp (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":false}},"serverInfo":{"name":"kollguard","title":"KollGuard","version":"0.3.1"}}}
Seen in the server's answer