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://dobitnik.mediaatlas.si/mcp (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
{"jsonrpc": "2.0", "id": 1, "result": {"protocolVersion": "2025-06-18", "capabilities": {"tools": {}}, "serverInfo": {"name": "dobitnik", "title": "Dobitnik", "version": "0.1.0"}, "instructions": "Who just won a public contract in Slovenia, for a firm that sells to the winners: your own daily list,…
Seen in the server's answer