create-multicast 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1024,6 +1024,13 @@ export default {
|
|
|
1024
1024
|
);
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
+
// Return clean 404 for OAuth discovery and other non-MCP paths
|
|
1028
|
+
// Claude Code's HTTP transport probes /.well-known/oauth-authorization-server
|
|
1029
|
+
// If this returns a JSON-RPC error, Claude Code's OAuth parser breaks.
|
|
1030
|
+
if (url.pathname.startsWith("/.well-known/")) {
|
|
1031
|
+
return new Response("Not found", { status: 404 });
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1027
1034
|
// Delegate MCP traffic
|
|
1028
1035
|
return mcpHandler.fetch(request, env, ctx);
|
|
1029
1036
|
},
|