7.1 What you need

For every modern OAuth-capable MCP client:

curl -sS -i -X POST https://<your-host>/mcp \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

Should return HTTP 401 with a WWW-Authenticate: Bearer ..., resource_metadata="..." header. That header is the client-side hook into the OAuth flow; if it’s missing or the response is anything other than 401, the server isn’t healthy — fix that first (see Troubleshooting).