@fouradata/mcp 0.3.2 → 0.3.3
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/README.md +4 -0
- 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 +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Four tools, six prompts, one API key.
|
|
6
6
|
|
|
7
|
+
[GitHub](https://github.com/fouradata/mcp) - [npm](https://www.npmjs.com/package/@fouradata/mcp) - [Docs](https://foura.ai/docs/mcp/server)
|
|
8
|
+
|
|
7
9
|
## Quick Start - local stdio (recommended for Claude Desktop)
|
|
8
10
|
|
|
9
11
|
Grab a key at [foura.ai/dashboard#api-keys](https://foura.ai/dashboard#api-keys) (one click, shown once on creation, format `pk_live_...`). Then drop this into your MCP client's config:
|
|
@@ -269,6 +271,8 @@ MIT. See [`LICENSE`](./LICENSE).
|
|
|
269
271
|
|
|
270
272
|
## Links
|
|
271
273
|
|
|
274
|
+
- Source (GitHub): <https://github.com/fouradata/mcp>
|
|
275
|
+
- npm package: <https://www.npmjs.com/package/@fouradata/mcp>
|
|
272
276
|
- API documentation: <https://foura.ai/docs>
|
|
273
277
|
- MCP server reference: <https://foura.ai/docs/mcp/server>
|
|
274
278
|
- MCP error codes: <https://foura.ai/docs/mcp/errors>
|
package/dist/http.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SUPPORTED_PROTOCOL_VERSIONS } from "@modelcontextprotocol/sdk/types.js"
|
|
|
4
4
|
import { createServer } from "./server.js";
|
|
5
5
|
import { withApiKey } from "./auth.js";
|
|
6
6
|
const PORT = Number(process.env.PORT ?? 3076);
|
|
7
|
-
const SERVER_VERSION = "0.3.
|
|
7
|
+
const SERVER_VERSION = "0.3.3";
|
|
8
8
|
// Spec MUSTs covered in this file:
|
|
9
9
|
// Origin + Host validation (CVE-2025-66414 DNS rebinding)
|
|
10
10
|
// 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.3.
|
|
299
|
+
"User-Agent": "foura-mcp/0.3.3 (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.3.
|
|
219
|
+
"User-Agent": "foura-mcp/0.3.3 (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.3.
|
|
274
|
+
"User-Agent": "foura-mcp/0.3.3 (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.3.
|
|
270
|
+
"User-Agent": "foura-mcp/0.3.3 (single)",
|
|
271
271
|
},
|
|
272
272
|
body: JSON.stringify(upstreamBody),
|
|
273
273
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fouradata/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "MCP server for the FourA web scraping API \u2014 three tools for HTTP requests, rotating proxies, and full browser sessions, usable from any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/server.js",
|