(status)
| 75 | // 405 means the endpoint exists but rejects this HTTP method (e.g. MCP |
| 76 | // Streamable-HTTP endpoints reject GET). Treat as reachable. |
| 77 | function isReachableStatus(status) { |
| 78 | return status < 400 || status === 405; |
| 79 | } |
| 80 | |
| 81 | async function checkUrl(url) { |
| 82 | try { |