@fouradata/mcp 0.4.6 → 0.4.7

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/dist/http.js CHANGED
@@ -5,7 +5,7 @@ import { createServer } from "./server.js";
5
5
  import { withApiKey } from "./auth.js";
6
6
  import { LANDING_REDIRECT, LLMS_TXT } from "./landing.js";
7
7
  const PORT = Number(process.env.PORT ?? 3076);
8
- const SERVER_VERSION = "0.4.6";
8
+ const SERVER_VERSION = "0.4.7";
9
9
  // Spec MUSTs covered in this file:
10
10
  // Origin + Host validation (CVE-2025-66414 DNS rebinding)
11
11
  // WWW-Authenticate on 401
package/dist/server.js CHANGED
@@ -9,7 +9,7 @@ export function createServer() {
9
9
  const server = new McpServer({
10
10
  name: "foura-mcp",
11
11
  title: "FourA",
12
- version: "0.4.6",
12
+ version: "0.4.7",
13
13
  description: "Web scraping for AI agents: fetch any public page via a direct request, a rotating proxy, " +
14
14
  "or a full headless browser, getting past anti-bot challenges.",
15
15
  websiteUrl: "https://foura.ai/mcp",
@@ -300,7 +300,7 @@ export function registerAutoTool(server) {
300
300
  headers: {
301
301
  "X-API-Key": getApiKey(),
302
302
  "Content-Type": "application/json",
303
- "User-Agent": "foura-mcp/0.4.6 (auto)",
303
+ "User-Agent": "foura-mcp/0.4.7 (auto)",
304
304
  },
305
305
  body: JSON.stringify(upstreamBody),
306
306
  headersTimeout: 200_000,
@@ -216,7 +216,7 @@ export function registerBrowserTool(server) {
216
216
  headers: {
217
217
  "X-API-Key": getApiKey(),
218
218
  "Content-Type": "application/json",
219
- "User-Agent": "foura-mcp/0.4.6 (browser)",
219
+ "User-Agent": "foura-mcp/0.4.7 (browser)",
220
220
  },
221
221
  body: JSON.stringify(upstreamBody),
222
222
  });
@@ -275,7 +275,7 @@ export function registerProxyTool(server) {
275
275
  headers: {
276
276
  "X-API-Key": getApiKey(),
277
277
  "Content-Type": "application/json",
278
- "User-Agent": "foura-mcp/0.4.6 (proxy)",
278
+ "User-Agent": "foura-mcp/0.4.7 (proxy)",
279
279
  },
280
280
  body: JSON.stringify(upstreamBody),
281
281
  });
@@ -271,7 +271,7 @@ export function registerSingleTool(server) {
271
271
  headers: {
272
272
  "X-API-Key": getApiKey(),
273
273
  "Content-Type": "application/json",
274
- "User-Agent": "foura-mcp/0.4.6 (single)",
274
+ "User-Agent": "foura-mcp/0.4.7 (single)",
275
275
  },
276
276
  body: JSON.stringify(upstreamBody),
277
277
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fouradata/mcp",
3
3
  "mcpName": "ai.foura/mcp",
4
- "version": "0.4.6",
4
+ "version": "0.4.7",
5
5
  "description": "MCP server for the FourA web scraping API - four tools (smart auto-fetch, HTTP request, rotating proxies, full browser) plus six prompts, usable from any MCP client.",
6
6
  "type": "module",
7
7
  "main": "dist/server.js",