@zenrows/mcp 1.1.1 → 1.1.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.
Files changed (2) hide show
  1. package/dist/http.js +3 -0
  2. package/package.json +1 -1
package/dist/http.js CHANGED
@@ -40,6 +40,9 @@ app.all("/mcp", async (c) => {
40
40
  error: "Missing API key. Use Authorization: Bearer <key> header or ?apikey=<key> query param.",
41
41
  }, 401, {
42
42
  "WWW-Authenticate": `Bearer realm="${AUTH_SERVER}", resource_metadata="https://mcp.zenrows.com/.well-known/oauth-authorization-server"`,
43
+ // CloudFront strips WWW-Authenticate — add Link header as RFC 8615 fallback
44
+ // so MCP clients can still discover the OAuth server
45
+ "Link": `<https://mcp.zenrows.com/.well-known/oauth-authorization-server>; rel="oauth-authorization-server"`,
43
46
  });
44
47
  }
45
48
  const transport = new WebStandardStreamableHTTPServerTransport({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenrows/mcp",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "ZenRows MCP server — Universal Scraper API for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {