mcp-scraper 0.3.17 → 0.3.19
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 +26 -58
- package/dist/bin/api-server.cjs +346 -60
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.cjs +4 -4
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +5 -5
- package/dist/bin/mcp-scraper-cli.js.map +1 -1
- package/dist/bin/mcp-scraper-install.cjs +12 -12
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +3 -3
- package/dist/bin/mcp-scraper-install.js.map +1 -1
- package/dist/bin/mcp-stdio-server.cjs +2441 -785
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +1377 -9
- package/dist/bin/mcp-stdio-server.js.map +1 -1
- package/dist/bin/paa-harvest.js +2 -3
- package/dist/bin/paa-harvest.js.map +1 -1
- package/dist/{chunk-N33YEY6W.js → chunk-A46NKAAM.js} +210 -10
- package/dist/{chunk-N33YEY6W.js.map → chunk-A46NKAAM.js.map} +1 -1
- package/dist/chunk-AUKOY2IV.js +7 -0
- package/dist/chunk-AUKOY2IV.js.map +1 -0
- package/dist/{chunk-ACIUCZ27.js → chunk-DE7WP4UU.js} +11 -11
- package/dist/chunk-DE7WP4UU.js.map +1 -0
- package/dist/{chunk-4OPKIDON.js → chunk-IGOEAKC7.js} +4 -6
- package/dist/{chunk-4OPKIDON.js.map → chunk-IGOEAKC7.js.map} +1 -1
- package/dist/{chunk-ZAUMSBV3.js → chunk-T337IGVE.js} +8 -8
- package/dist/chunk-T337IGVE.js.map +1 -0
- package/dist/{chunk-M2S27J6Z.js → chunk-ZAP7MYVO.js} +26 -1
- package/dist/chunk-ZAP7MYVO.js.map +1 -0
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/{server-TKWY47JA.js → server-EYNMXWUJ.js} +379 -167
- package/dist/server-EYNMXWUJ.js.map +1 -0
- package/dist/{worker-2WVKKCC7.js → worker-YZ2ZJE4F.js} +9 -10
- package/dist/{worker-2WVKKCC7.js.map → worker-YZ2ZJE4F.js.map} +1 -1
- package/docs/mcp-tool-manifest.generated.json +28 -27
- package/package.json +3 -3
- package/dist/bin/browser-agent-stdio-server.cjs +0 -1523
- package/dist/bin/browser-agent-stdio-server.cjs.map +0 -1
- package/dist/bin/browser-agent-stdio-server.d.cts +0 -1
- package/dist/bin/browser-agent-stdio-server.d.ts +0 -1
- package/dist/bin/browser-agent-stdio-server.js +0 -43
- package/dist/bin/browser-agent-stdio-server.js.map +0 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.cjs +0 -5718
- package/dist/bin/mcp-scraper-combined-stdio-server.cjs.map +0 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.d.cts +0 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.d.ts +0 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.js +0 -70
- package/dist/bin/mcp-scraper-combined-stdio-server.js.map +0 -1
- package/dist/chunk-3YGKXXUG.js +0 -133
- package/dist/chunk-3YGKXXUG.js.map +0 -1
- package/dist/chunk-ACIUCZ27.js.map +0 -1
- package/dist/chunk-M2S27J6Z.js.map +0 -1
- package/dist/chunk-PVWWY5NV.js +0 -7
- package/dist/chunk-PVWWY5NV.js.map +0 -1
- package/dist/chunk-UFD7N36R.js +0 -1332
- package/dist/chunk-UFD7N36R.js.map +0 -1
- package/dist/chunk-WN7PBKMV.js +0 -28
- package/dist/chunk-WN7PBKMV.js.map +0 -1
- package/dist/chunk-ZAUMSBV3.js.map +0 -1
- package/dist/server-TKWY47JA.js.map +0 -1
package/dist/bin/api-server.js
CHANGED
|
@@ -17,8 +17,8 @@ loadDotEnv();
|
|
|
17
17
|
async function main() {
|
|
18
18
|
const [{ serve }, { app }, { startWorker }, { migrate }] = await Promise.all([
|
|
19
19
|
import("@hono/node-server"),
|
|
20
|
-
import("../server-
|
|
21
|
-
import("../worker-
|
|
20
|
+
import("../server-EYNMXWUJ.js"),
|
|
21
|
+
import("../worker-YZ2ZJE4F.js"),
|
|
22
22
|
import("../db-P76GVIFN.js")
|
|
23
23
|
]);
|
|
24
24
|
const PORT = parseInt(process.env.PORT ?? "3001");
|
|
@@ -8,7 +8,7 @@ var import_promises4 = require("fs/promises");
|
|
|
8
8
|
var import_node_path3 = require("path");
|
|
9
9
|
|
|
10
10
|
// src/version.ts
|
|
11
|
-
var PACKAGE_VERSION = "0.3.
|
|
11
|
+
var PACKAGE_VERSION = "0.3.19";
|
|
12
12
|
|
|
13
13
|
// src/cli/agent-config.ts
|
|
14
14
|
function apiKeyValue(options) {
|
|
@@ -18,7 +18,7 @@ function packageSpec(options) {
|
|
|
18
18
|
return options.packageSpec?.trim() || "mcp-scraper@latest";
|
|
19
19
|
}
|
|
20
20
|
function combinedNpxArgs(options = {}) {
|
|
21
|
-
return ["-y", "-p", packageSpec(options), "mcp-scraper
|
|
21
|
+
return ["-y", "-p", packageSpec(options), "mcp-scraper"];
|
|
22
22
|
}
|
|
23
23
|
function envConfig(options) {
|
|
24
24
|
const env = { MCP_SCRAPER_API_KEY: apiKeyValue(options) };
|
|
@@ -2190,7 +2190,7 @@ function buildHumanCli() {
|
|
|
2190
2190
|
applied: true,
|
|
2191
2191
|
replacedExisting: remove.code === 0,
|
|
2192
2192
|
command: "npx",
|
|
2193
|
-
args: ["-y", "-p", opts.package, "mcp-scraper
|
|
2193
|
+
args: ["-y", "-p", opts.package, "mcp-scraper"],
|
|
2194
2194
|
nextStep: "Fully exit Claude Code, start a new Claude terminal, then run: claude mcp list",
|
|
2195
2195
|
list: maskSecrets([list.stdout, list.stderr].filter(Boolean).join("\n").trim())
|
|
2196
2196
|
};
|
|
@@ -2201,7 +2201,7 @@ function buildHumanCli() {
|
|
|
2201
2201
|
writeOutput([
|
|
2202
2202
|
"Applied Claude Code MCP config: mcp-scraper",
|
|
2203
2203
|
remove.code === 0 ? "Replaced existing mcp-scraper entry." : "No existing mcp-scraper entry found; added a new one.",
|
|
2204
|
-
"Command: npx -y -p " + opts.package + " mcp-scraper
|
|
2204
|
+
"Command: npx -y -p " + opts.package + " mcp-scraper",
|
|
2205
2205
|
opts.browserProfile ? `Browser profile: ${opts.browserProfile}` : "",
|
|
2206
2206
|
"",
|
|
2207
2207
|
"Next step: fully exit Claude Code, start a new Claude terminal, then run:",
|