@fouradata/mcp 0.1.1 → 0.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.
- package/dist/http.js +1 -1
- package/dist/server.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 +2 -1
package/dist/http.js
CHANGED
|
@@ -3,7 +3,7 @@ import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/
|
|
|
3
3
|
import { createServer } from "./server.js";
|
|
4
4
|
import { withApiKey } from "./auth.js";
|
|
5
5
|
const PORT = Number(process.env.PORT ?? 3076);
|
|
6
|
-
const SERVER_VERSION = "0.1.
|
|
6
|
+
const SERVER_VERSION = "0.1.2";
|
|
7
7
|
const app = express();
|
|
8
8
|
app.use(express.json({ limit: "4mb" }));
|
|
9
9
|
app.get("/healthz", (_req, res) => {
|
package/dist/server.js
CHANGED
package/dist/tools/browser.js
CHANGED
|
@@ -71,7 +71,7 @@ export function registerBrowserTool(server) {
|
|
|
71
71
|
headers: {
|
|
72
72
|
"X-API-Key": getApiKey(),
|
|
73
73
|
"Content-Type": "application/json",
|
|
74
|
-
"User-Agent": "foura-mcp/0.1.
|
|
74
|
+
"User-Agent": "foura-mcp/0.1.2 (browser)",
|
|
75
75
|
},
|
|
76
76
|
body: JSON.stringify(input),
|
|
77
77
|
});
|
package/dist/tools/proxy.js
CHANGED
|
@@ -110,7 +110,7 @@ export function registerProxyTool(server) {
|
|
|
110
110
|
headers: {
|
|
111
111
|
"X-API-Key": getApiKey(),
|
|
112
112
|
"Content-Type": "application/json",
|
|
113
|
-
"User-Agent": "foura-mcp/0.1.
|
|
113
|
+
"User-Agent": "foura-mcp/0.1.2 (proxy)",
|
|
114
114
|
},
|
|
115
115
|
body: JSON.stringify(input),
|
|
116
116
|
});
|
package/dist/tools/single.js
CHANGED
|
@@ -97,7 +97,7 @@ export function registerSingleTool(server) {
|
|
|
97
97
|
headers: {
|
|
98
98
|
"X-API-Key": getApiKey(),
|
|
99
99
|
"Content-Type": "application/json",
|
|
100
|
-
"User-Agent": "foura-mcp/0.1.
|
|
100
|
+
"User-Agent": "foura-mcp/0.1.2 (single)",
|
|
101
101
|
},
|
|
102
102
|
body: JSON.stringify(input),
|
|
103
103
|
});
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fouradata/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "MCP server for the FourA web scraping API — 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",
|
|
7
7
|
"bin": {
|
|
8
|
+
"mcp": "bin/foura-mcp.js",
|
|
8
9
|
"foura-mcp": "bin/foura-mcp.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|