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://mcp.dartai.com/mcp (initialize, Authorization: Bearer <made up>)- Answer
200- What we saw
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"logging":{},"prompts":{"listChanged":true},"resources":{"subscribe":false,"listChanged":true},"tools":{"listChanged":true}},"serverInfo":{"name":"Dart MCP Server","version":"4.1.3","websiteUrl":"https://mcp.dartai.com…
Seen in the server's answer