MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / isReachableStatus

Function isReachableStatus

scripts/check-owned-links.js:77–79  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

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

Callers 1

checkUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected