mcp-scraper 0.21.4 → 0.22.0
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 +5 -3
- package/dist/bin/api-server.cjs +45 -19
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +1 -1
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.cjs +1 -1
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +1 -1
- package/dist/bin/mcp-stdio-server.cjs +16 -12
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/{chunk-N4JHXPW6.js → chunk-3SQTNNGK.js} +17 -13
- package/dist/chunk-3SQTNNGK.js.map +1 -0
- package/dist/chunk-Q6GSQEE4.js +7 -0
- package/dist/chunk-Q6GSQEE4.js.map +1 -0
- package/dist/{server-OLOOFN5W.js → server-K6C7W7ED.js} +32 -10
- package/dist/server-K6C7W7ED.js.map +1 -0
- package/docs/mcp-tool-manifest.generated.json +46 -12
- package/package.json +1 -1
- package/dist/chunk-N4JHXPW6.js.map +0 -1
- package/dist/chunk-WQI7JIIN.js +0 -7
- package/dist/chunk-WQI7JIIN.js.map +0 -1
- package/dist/server-OLOOFN5W.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = '0.22.0'\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
sanitizeAttempts,
|
|
36
36
|
sanitizeHarvestResult,
|
|
37
37
|
transcribeMediaUrl
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3SQTNNGK.js";
|
|
39
39
|
import {
|
|
40
40
|
auditImages,
|
|
41
41
|
buildLinkReport,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
RawMapsOverviewSchema,
|
|
77
77
|
RawMapsReviewStatsSchema
|
|
78
78
|
} from "./chunk-XGIPATLV.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-Q6GSQEE4.js";
|
|
80
80
|
import {
|
|
81
81
|
completeExtractJob,
|
|
82
82
|
countSuccessfulPages,
|
|
@@ -21246,6 +21246,7 @@ var CONNECTED_DATA_DATASETS = [
|
|
|
21246
21246
|
"zoom_recordings",
|
|
21247
21247
|
"zoom_transcripts",
|
|
21248
21248
|
"meta_ads_insights",
|
|
21249
|
+
"search_console_performance",
|
|
21249
21250
|
"resend_data",
|
|
21250
21251
|
"resend_emails",
|
|
21251
21252
|
"resend_received_emails",
|
|
@@ -21699,6 +21700,10 @@ var CONNECTION_SYNC_REQUIRED_TOOLS = {
|
|
|
21699
21700
|
"list-workflows",
|
|
21700
21701
|
"list-workflow-runs"
|
|
21701
21702
|
],
|
|
21703
|
+
"google-search-console": [
|
|
21704
|
+
"list-sites",
|
|
21705
|
+
"query-search-analytics"
|
|
21706
|
+
],
|
|
21702
21707
|
resend: [
|
|
21703
21708
|
"list-emails",
|
|
21704
21709
|
"get-email",
|
|
@@ -23354,6 +23359,21 @@ function providerConfigKeyFrom(value) {
|
|
|
23354
23359
|
const key = value.trim();
|
|
23355
23360
|
return key && key.length <= 200 ? key : null;
|
|
23356
23361
|
}
|
|
23362
|
+
function calendarAttendeesFrom(value) {
|
|
23363
|
+
if (!Array.isArray(value) || value.length > 100) return null;
|
|
23364
|
+
const attendees = [];
|
|
23365
|
+
for (const item of value) {
|
|
23366
|
+
if (!item || typeof item !== "object" || Array.isArray(item)) return null;
|
|
23367
|
+
const attendee = item;
|
|
23368
|
+
if (typeof attendee.email !== "string" || !attendee.email.trim()) return null;
|
|
23369
|
+
if (attendee.displayName !== void 0 && typeof attendee.displayName !== "string") return null;
|
|
23370
|
+
attendees.push({
|
|
23371
|
+
email: attendee.email.trim(),
|
|
23372
|
+
...typeof attendee.displayName === "string" && attendee.displayName.trim() ? { displayName: attendee.displayName.trim() } : {}
|
|
23373
|
+
});
|
|
23374
|
+
}
|
|
23375
|
+
return attendees;
|
|
23376
|
+
}
|
|
23357
23377
|
function bindingsForSchedule(bindings, scheduleActionId) {
|
|
23358
23378
|
return bindings.filter((binding) => binding.scheduleActionId === scheduleActionId);
|
|
23359
23379
|
}
|
|
@@ -23570,18 +23590,20 @@ app.post("/schedule-connections/actions/google-calendar/create-event", auth2, re
|
|
|
23570
23590
|
const user = c.get("user");
|
|
23571
23591
|
const body = await c.req.json().catch(() => ({}));
|
|
23572
23592
|
const connectionId = providerConfigKeyFrom(body.connectionId);
|
|
23573
|
-
|
|
23574
|
-
|
|
23593
|
+
const attendees = calendarAttendeesFrom(body.attendees);
|
|
23594
|
+
if (!connectionId || typeof body.summary !== "string" || typeof body.description !== "string" || typeof body.startDateTime !== "string" || typeof body.endDateTime !== "string" || !attendees) {
|
|
23595
|
+
return c.json({ ok: false, error: "connectionId, summary, description, startDateTime, endDateTime, and attendees are required." }, 400);
|
|
23575
23596
|
}
|
|
23576
23597
|
const timeZone = typeof body.timeZone === "string" ? body.timeZone : void 0;
|
|
23577
23598
|
try {
|
|
23578
23599
|
const result = await callScheduleConnectionAction(user.email, connectionId, {
|
|
23579
23600
|
calendarId: typeof body.calendarId === "string" ? body.calendarId : "primary",
|
|
23580
23601
|
summary: body.summary,
|
|
23581
|
-
description:
|
|
23602
|
+
description: body.description,
|
|
23582
23603
|
location: typeof body.location === "string" ? body.location : void 0,
|
|
23583
23604
|
start: { dateTime: body.startDateTime, timeZone },
|
|
23584
|
-
end: { dateTime: body.endDateTime, timeZone }
|
|
23605
|
+
end: { dateTime: body.endDateTime, timeZone },
|
|
23606
|
+
attendees
|
|
23585
23607
|
});
|
|
23586
23608
|
return c.json({ ok: true, result });
|
|
23587
23609
|
} catch (err) {
|
|
@@ -23592,8 +23614,8 @@ app.post("/schedule-connections/actions/zoom/create-meeting", auth2, requireInte
|
|
|
23592
23614
|
const user = c.get("user");
|
|
23593
23615
|
const body = await c.req.json().catch(() => ({}));
|
|
23594
23616
|
const connectionId = providerConfigKeyFrom(body.connectionId);
|
|
23595
|
-
if (!connectionId || typeof body.topic !== "string" || typeof body.startDateTime !== "string") {
|
|
23596
|
-
return c.json({ ok: false, error: "connectionId, topic, and
|
|
23617
|
+
if (!connectionId || typeof body.topic !== "string" || typeof body.startDateTime !== "string" || typeof body.agenda !== "string") {
|
|
23618
|
+
return c.json({ ok: false, error: "connectionId, topic, startDateTime, and agenda are required." }, 400);
|
|
23597
23619
|
}
|
|
23598
23620
|
try {
|
|
23599
23621
|
const result = await callScheduleConnectionAction(user.email, connectionId, {
|
|
@@ -23601,7 +23623,7 @@ app.post("/schedule-connections/actions/zoom/create-meeting", auth2, requireInte
|
|
|
23601
23623
|
startDateTime: body.startDateTime,
|
|
23602
23624
|
durationMinutes: typeof body.durationMinutes === "number" ? body.durationMinutes : 30,
|
|
23603
23625
|
timezone: typeof body.timezone === "string" ? body.timezone : void 0,
|
|
23604
|
-
agenda:
|
|
23626
|
+
agenda: body.agenda
|
|
23605
23627
|
});
|
|
23606
23628
|
return c.json({ ok: true, result });
|
|
23607
23629
|
} catch (err) {
|
|
@@ -25020,4 +25042,4 @@ app.get("/blog/:slug/", (c) => {
|
|
|
25020
25042
|
export {
|
|
25021
25043
|
app
|
|
25022
25044
|
};
|
|
25023
|
-
//# sourceMappingURL=server-
|
|
25045
|
+
//# sourceMappingURL=server-K6C7W7ED.js.map
|