mcp-scraper 0.7.0 → 0.9.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/dist/bin/api-server.cjs +1100 -458
- 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 +87 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +3 -3
- package/dist/{chunk-YGRZU7IR.js → chunk-FZG427QD.js} +90 -3
- package/dist/chunk-FZG427QD.js.map +1 -0
- package/dist/{chunk-GWRIO6JT.js → chunk-R7EETU7Z.js} +134 -134
- package/dist/chunk-R7EETU7Z.js.map +1 -0
- package/dist/chunk-RD5JOAWS.js +7 -0
- package/dist/chunk-RD5JOAWS.js.map +1 -0
- package/dist/{extract-bundle-COS56ZDO.js → extract-bundle-U4D5LW5W.js} +4 -2
- package/dist/extract-bundle-U4D5LW5W.js.map +1 -0
- package/dist/{server-JNY4XPZE.js → server-E34MNLI3.js} +567 -28
- package/dist/server-E34MNLI3.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-EGWJ74EX.js +0 -7
- package/dist/chunk-EGWJ74EX.js.map +0 -1
- package/dist/chunk-GWRIO6JT.js.map +0 -1
- package/dist/chunk-YGRZU7IR.js.map +0 -1
- package/dist/extract-bundle-COS56ZDO.js.map +0 -1
- package/dist/server-JNY4XPZE.js.map +0 -1
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
registerMemoryMcpTools,
|
|
8
8
|
registerPaaExtractorMcpTools,
|
|
9
9
|
registerSerpIntelligenceCaptureTools
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-FZG427QD.js";
|
|
11
|
+
import "../chunk-R7EETU7Z.js";
|
|
12
12
|
import "../chunk-HPV4VOQX.js";
|
|
13
13
|
import {
|
|
14
14
|
renderInstallTerminal
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import "../chunk-XGIPATLV.js";
|
|
17
17
|
import {
|
|
18
18
|
PACKAGE_VERSION
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RD5JOAWS.js";
|
|
20
20
|
import "../chunk-HL33CGJF.js";
|
|
21
21
|
import "../chunk-M2S27J6Z.js";
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
renderImageSection,
|
|
7
7
|
renderIssueReport,
|
|
8
8
|
renderLinkReport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R7EETU7Z.js";
|
|
10
10
|
import {
|
|
11
11
|
browserServiceProfileName,
|
|
12
12
|
browserServiceProfileSaveChanges
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-XGIPATLV.js";
|
|
18
18
|
import {
|
|
19
19
|
PACKAGE_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RD5JOAWS.js";
|
|
21
21
|
import {
|
|
22
22
|
MC_PER_CREDIT
|
|
23
23
|
} from "./chunk-HL33CGJF.js";
|
|
@@ -3860,6 +3860,52 @@ var ReportArtifactReadOutputSchema = {
|
|
|
3860
3860
|
totalBytes: z.number().int().min(0),
|
|
3861
3861
|
nextOffset: z.number().int().min(0).nullable()
|
|
3862
3862
|
};
|
|
3863
|
+
var ListServiceConnectionsInputSchema = {};
|
|
3864
|
+
var ListServiceConnectionsOutputSchema = {
|
|
3865
|
+
connections: z.array(z.object({
|
|
3866
|
+
connectionId: z.string(),
|
|
3867
|
+
providerConfigKey: z.string(),
|
|
3868
|
+
label: z.string(),
|
|
3869
|
+
status: z.string(),
|
|
3870
|
+
actionsEnabled: z.boolean()
|
|
3871
|
+
}))
|
|
3872
|
+
};
|
|
3873
|
+
var SlackSendMessageInputSchema = {
|
|
3874
|
+
connectionId: z.string().min(1).describe("A Slack connectionId from list_service_connections, with actionsEnabled true."),
|
|
3875
|
+
channel: z.string().min(1).describe(`Slack channel ID to send to, e.g. "C1234567890". Get this from the connection's own read tools, not guessed.`),
|
|
3876
|
+
text: z.string().min(1).max(4e3).describe("Message text to send.")
|
|
3877
|
+
};
|
|
3878
|
+
var SlackSendMessageOutputSchema = {
|
|
3879
|
+
ok: z.boolean(),
|
|
3880
|
+
result: z.unknown().optional(),
|
|
3881
|
+
error: NullableString
|
|
3882
|
+
};
|
|
3883
|
+
var GmailSendMessageInputSchema = {
|
|
3884
|
+
connectionId: z.string().min(1).describe("A Gmail connectionId from list_service_connections, with actionsEnabled true."),
|
|
3885
|
+
to: z.string().email().describe("Recipient email address."),
|
|
3886
|
+
subject: z.string().min(1).max(500).describe("Email subject line."),
|
|
3887
|
+
body: z.string().min(1).max(5e4).describe("Plain-text email body.")
|
|
3888
|
+
};
|
|
3889
|
+
var GmailSendMessageOutputSchema = {
|
|
3890
|
+
ok: z.boolean(),
|
|
3891
|
+
result: z.unknown().optional(),
|
|
3892
|
+
error: NullableString
|
|
3893
|
+
};
|
|
3894
|
+
var GoogleCalendarCreateEventInputSchema = {
|
|
3895
|
+
connectionId: z.string().min(1).describe("A Google Calendar connectionId from list_service_connections, with actionsEnabled true."),
|
|
3896
|
+
calendarId: z.string().min(1).default("primary").describe('Calendar to create the event in. Default "primary".'),
|
|
3897
|
+
summary: z.string().min(1).max(500).describe("Event title."),
|
|
3898
|
+
description: z.string().max(5e3).optional().describe("Event description."),
|
|
3899
|
+
location: z.string().max(500).optional().describe("Event location."),
|
|
3900
|
+
startDateTime: z.string().min(1).describe('Start time, ISO 8601, e.g. "2026-07-15T09:00:00-06:00".'),
|
|
3901
|
+
endDateTime: z.string().min(1).describe('End time, ISO 8601, e.g. "2026-07-15T10:00:00-06:00".'),
|
|
3902
|
+
timeZone: z.string().max(100).optional().describe('IANA timezone, e.g. "America/Denver". Applies to both start and end.')
|
|
3903
|
+
};
|
|
3904
|
+
var GoogleCalendarCreateEventOutputSchema = {
|
|
3905
|
+
ok: z.boolean(),
|
|
3906
|
+
result: z.unknown().optional(),
|
|
3907
|
+
error: NullableString
|
|
3908
|
+
};
|
|
3863
3909
|
|
|
3864
3910
|
// src/mcp/rank-tracker-blueprint.ts
|
|
3865
3911
|
var DEFAULT_MODES = ["maps", "organic", "ai_overview", "paa"];
|
|
@@ -4531,6 +4577,34 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
|
|
|
4531
4577
|
openWorldHint: false
|
|
4532
4578
|
}
|
|
4533
4579
|
}, async (input) => formatCreditsInfo(await executor.creditsInfo(input), input));
|
|
4580
|
+
server.registerTool("list_service_connections", {
|
|
4581
|
+
title: "List Connected Services",
|
|
4582
|
+
description: "List the third-party service connections (Slack, Gmail, Google Calendar) the account has authorized, with each connection's id and whether it is enabled for live actions. Get a connectionId from here before calling slack_send_message, gmail_send_message, or google_calendar_create_event.",
|
|
4583
|
+
inputSchema: ListServiceConnectionsInputSchema,
|
|
4584
|
+
outputSchema: recordOutputSchema("list_service_connections", ListServiceConnectionsOutputSchema),
|
|
4585
|
+
annotations: { title: "List Connected Services", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
|
|
4586
|
+
}, async (input) => executor.listServiceConnections(input));
|
|
4587
|
+
server.registerTool("slack_send_message", {
|
|
4588
|
+
title: "Send Slack Message",
|
|
4589
|
+
description: "Send a message to a Slack channel through a connected, action-enabled Slack connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4590
|
+
inputSchema: SlackSendMessageInputSchema,
|
|
4591
|
+
outputSchema: recordOutputSchema("slack_send_message", SlackSendMessageOutputSchema),
|
|
4592
|
+
annotations: { title: "Send Slack Message", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4593
|
+
}, async (input) => executor.slackSendMessage(input));
|
|
4594
|
+
server.registerTool("gmail_send_message", {
|
|
4595
|
+
title: "Send Gmail Message",
|
|
4596
|
+
description: "Send an email through a connected, action-enabled Gmail connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4597
|
+
inputSchema: GmailSendMessageInputSchema,
|
|
4598
|
+
outputSchema: recordOutputSchema("gmail_send_message", GmailSendMessageOutputSchema),
|
|
4599
|
+
annotations: { title: "Send Gmail Message", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4600
|
+
}, async (input) => executor.gmailSendMessage(input));
|
|
4601
|
+
server.registerTool("google_calendar_create_event", {
|
|
4602
|
+
title: "Create Calendar Event",
|
|
4603
|
+
description: "Create an event on a connected, action-enabled Google Calendar connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4604
|
+
inputSchema: GoogleCalendarCreateEventInputSchema,
|
|
4605
|
+
outputSchema: recordOutputSchema("google_calendar_create_event", GoogleCalendarCreateEventOutputSchema),
|
|
4606
|
+
annotations: { title: "Create Calendar Event", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4607
|
+
}, async (input) => executor.googleCalendarCreateEvent(input));
|
|
4534
4608
|
}
|
|
4535
4609
|
|
|
4536
4610
|
// src/mcp/http-mcp-tool-executor.ts
|
|
@@ -4815,6 +4889,18 @@ var HttpMcpToolExecutor = class {
|
|
|
4815
4889
|
creditsInfo(input) {
|
|
4816
4890
|
return this.call("/billing/credits", input);
|
|
4817
4891
|
}
|
|
4892
|
+
listServiceConnections(input) {
|
|
4893
|
+
return this.getJson("/schedule-connections");
|
|
4894
|
+
}
|
|
4895
|
+
slackSendMessage(input) {
|
|
4896
|
+
return this.call("/schedule-connections/actions/slack/send-message", input);
|
|
4897
|
+
}
|
|
4898
|
+
gmailSendMessage(input) {
|
|
4899
|
+
return this.call("/schedule-connections/actions/gmail/send-message", input);
|
|
4900
|
+
}
|
|
4901
|
+
googleCalendarCreateEvent(input) {
|
|
4902
|
+
return this.call("/schedule-connections/actions/google-calendar/create-event", input);
|
|
4903
|
+
}
|
|
4818
4904
|
captureSerpSnapshot(input) {
|
|
4819
4905
|
return this.call("/serp-intelligence/capture", input, this.serpIntelligenceTimeoutMs);
|
|
4820
4906
|
}
|
|
@@ -8754,6 +8840,7 @@ export {
|
|
|
8754
8840
|
harvestTimeoutBudget,
|
|
8755
8841
|
sanitizeAttempts,
|
|
8756
8842
|
sanitizeHarvestResult,
|
|
8843
|
+
buildLinkGraph,
|
|
8757
8844
|
configureReportSaving,
|
|
8758
8845
|
outputBaseDir,
|
|
8759
8846
|
SERVER_INSTRUCTIONS,
|
|
@@ -8767,4 +8854,4 @@ export {
|
|
|
8767
8854
|
registerMemoryMcpTools,
|
|
8768
8855
|
MemoryMcpToolExecutor
|
|
8769
8856
|
};
|
|
8770
|
-
//# sourceMappingURL=chunk-
|
|
8857
|
+
//# sourceMappingURL=chunk-FZG427QD.js.map
|