@fouradata/mcp 0.4.0 → 0.4.1
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 +1 -1
- package/dist/server.js +1 -1
- package/dist/tools/auto.js +1 -1
- package/dist/tools/browser.js +1 -1
- package/dist/tools/proxy.js +1 -1
- package/dist/tools/single.js +1 -1
- package/package.json +5 -6
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.
|
|
8
|
+
const SERVER_VERSION = "0.4.1";
|
|
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
package/dist/tools/auto.js
CHANGED
|
@@ -296,7 +296,7 @@ export function registerAutoTool(server) {
|
|
|
296
296
|
headers: {
|
|
297
297
|
"X-API-Key": getApiKey(),
|
|
298
298
|
"Content-Type": "application/json",
|
|
299
|
-
"User-Agent": "foura-mcp/0.4.
|
|
299
|
+
"User-Agent": "foura-mcp/0.4.1 (auto)",
|
|
300
300
|
},
|
|
301
301
|
body: JSON.stringify(upstreamBody),
|
|
302
302
|
headersTimeout: 200_000,
|
package/dist/tools/browser.js
CHANGED
|
@@ -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.
|
|
219
|
+
"User-Agent": "foura-mcp/0.4.1 (browser)",
|
|
220
220
|
},
|
|
221
221
|
body: JSON.stringify(upstreamBody),
|
|
222
222
|
});
|
package/dist/tools/proxy.js
CHANGED
|
@@ -271,7 +271,7 @@ export function registerProxyTool(server) {
|
|
|
271
271
|
headers: {
|
|
272
272
|
"X-API-Key": getApiKey(),
|
|
273
273
|
"Content-Type": "application/json",
|
|
274
|
-
"User-Agent": "foura-mcp/0.4.
|
|
274
|
+
"User-Agent": "foura-mcp/0.4.1 (proxy)",
|
|
275
275
|
},
|
|
276
276
|
body: JSON.stringify(upstreamBody),
|
|
277
277
|
});
|
package/dist/tools/single.js
CHANGED
|
@@ -267,7 +267,7 @@ export function registerSingleTool(server) {
|
|
|
267
267
|
headers: {
|
|
268
268
|
"X-API-Key": getApiKey(),
|
|
269
269
|
"Content-Type": "application/json",
|
|
270
|
-
"User-Agent": "foura-mcp/0.4.
|
|
270
|
+
"User-Agent": "foura-mcp/0.4.1 (single)",
|
|
271
271
|
},
|
|
272
272
|
body: JSON.stringify(upstreamBody),
|
|
273
273
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fouradata/mcp",
|
|
3
|
-
"
|
|
3
|
+
"mcpName": "ai.foura/mcp",
|
|
4
|
+
"version": "0.4.1",
|
|
4
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.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/server.js",
|
|
@@ -23,8 +24,7 @@
|
|
|
23
24
|
"test:integration:stdio": "node --test --test-concurrency=1 --test-reporter=spec 'tests/integration-stdio/**/*.test.mjs'",
|
|
24
25
|
"test:integration:http": "node --test --test-reporter=spec 'tests/integration-http/**/*.test.mjs'",
|
|
25
26
|
"test:docs": "node --test --test-reporter=spec 'tests/docs-compliance/**/*.test.mjs'",
|
|
26
|
-
"test:
|
|
27
|
-
"test:all": "npm run test && npm run test:integration:http && npm run test:ai",
|
|
27
|
+
"test:all": "npm run test && npm run test:integration:http",
|
|
28
28
|
"smoke": "node tests/smoke.mjs",
|
|
29
29
|
"inspector": "npx -y @modelcontextprotocol/inspector tsx src/stdio.ts",
|
|
30
30
|
"lint": "tsc --noEmit",
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
"zod": "^4.4.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@anthropic-ai/sdk": "^0.96.0",
|
|
43
42
|
"@types/express": "^5.0.6",
|
|
44
|
-
"@types/node": "^
|
|
45
|
-
"tsx": "^4.
|
|
43
|
+
"@types/node": "^24.13.2",
|
|
44
|
+
"tsx": "^4.22.4",
|
|
46
45
|
"typescript": "^6.0.3"
|
|
47
46
|
},
|
|
48
47
|
"engines": {
|