mcp-scraper 0.32.2 → 0.32.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 +1 -1
- package/dist/bin/api-server.cjs +420 -246
- 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 +42 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/{chunk-XEED325T.js → chunk-GNRHBIYZ.js} +43 -2
- package/dist/chunk-GNRHBIYZ.js.map +1 -0
- package/dist/chunk-XF46AB5C.js +7 -0
- package/dist/chunk-XF46AB5C.js.map +1 -0
- package/dist/{server-LTZDJHFG.js → server-NHLEIKDZ.js} +372 -238
- package/dist/server-NHLEIKDZ.js.map +1 -0
- package/docs/mcp-tool-manifest.generated.json +165 -3
- package/package.json +1 -1
- package/dist/chunk-XEED325T.js.map +0 -1
- package/dist/chunk-XLO5CZ6T.js +0 -7
- package/dist/chunk-XLO5CZ6T.js.map +0 -1
- package/dist/server-LTZDJHFG.js.map +0 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerMemoryMcpTools,
|
|
8
8
|
registerPaaExtractorMcpTools,
|
|
9
9
|
registerSerpIntelligenceCaptureTools
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-GNRHBIYZ.js";
|
|
11
11
|
import "../chunk-R7EETU7Z.js";
|
|
12
12
|
import "../chunk-MTSBI7ZH.js";
|
|
13
13
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import "../chunk-V73MPRU6.js";
|
|
17
17
|
import {
|
|
18
18
|
PACKAGE_VERSION
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-XF46AB5C.js";
|
|
20
20
|
import "../chunk-4767BA2O.js";
|
|
21
21
|
import "../chunk-M2S27J6Z.js";
|
|
22
22
|
import "../chunk-ICT7DDHL.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-V73MPRU6.js";
|
|
20
20
|
import {
|
|
21
21
|
PACKAGE_VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XF46AB5C.js";
|
|
23
23
|
import {
|
|
24
24
|
MC_PER_CREDIT
|
|
25
25
|
} from "./chunk-4767BA2O.js";
|
|
@@ -4875,6 +4875,37 @@ var GmailSendMessageOutputSchema = {
|
|
|
4875
4875
|
result: z.unknown().optional(),
|
|
4876
4876
|
error: NullableString
|
|
4877
4877
|
};
|
|
4878
|
+
var GmailSearchContactsInputSchema = {
|
|
4879
|
+
connectionId: z.string().min(1).describe("A Gmail connectionId from list_service_connections. Read-only \u2014 does not require actionsEnabled."),
|
|
4880
|
+
query: z.string().min(1).max(500).describe('Gmail search syntax, e.g. "from:brandnorth.com after:2026/03/22" or "brandnorth.com".'),
|
|
4881
|
+
maxMessages: z.number().int().min(1).max(150).default(50).describe("Max messages to fetch and aggregate in this call. Paginate with pageToken for more; the response reports totalMatches and truncated so undercoverage is never silent."),
|
|
4882
|
+
pageToken: z.string().optional().describe("Continuation token from a prior response to fetch the next page.")
|
|
4883
|
+
};
|
|
4884
|
+
var GmailSearchContactsOutputSchema = {
|
|
4885
|
+
ok: z.boolean(),
|
|
4886
|
+
totalMatches: z.number().optional().describe("Gmail's estimated total matches for the query, independent of how many were fetched this call."),
|
|
4887
|
+
messagesFetched: z.number().optional(),
|
|
4888
|
+
truncated: z.boolean().optional().describe("True when totalMatches exceeds messagesFetched \u2014 more results exist, use nextPageToken."),
|
|
4889
|
+
nextPageToken: NullableString,
|
|
4890
|
+
messages: z.array(z.object({
|
|
4891
|
+
id: z.string(),
|
|
4892
|
+
date: NullableString,
|
|
4893
|
+
from: NullableString,
|
|
4894
|
+
to: NullableString,
|
|
4895
|
+
subject: NullableString,
|
|
4896
|
+
snippet: NullableString
|
|
4897
|
+
})).optional(),
|
|
4898
|
+
contacts: z.array(z.object({
|
|
4899
|
+
email: z.string(),
|
|
4900
|
+
name: NullableString,
|
|
4901
|
+
domain: NullableString,
|
|
4902
|
+
messageCount: z.number(),
|
|
4903
|
+
firstSeen: NullableString,
|
|
4904
|
+
lastSeen: NullableString,
|
|
4905
|
+
sampleSubjects: z.array(z.string())
|
|
4906
|
+
})).optional().describe("Messages deduped by sender email address, newest-to-oldest within this fetch only \u2014 not the full query result set when truncated."),
|
|
4907
|
+
error: NullableString
|
|
4908
|
+
};
|
|
4878
4909
|
var GoogleCalendarCreateEventInputSchema = {
|
|
4879
4910
|
connectionId: z.string().min(1).describe("A Google Calendar connectionId from list_service_connections, with actionsEnabled true."),
|
|
4880
4911
|
calendarId: z.string().min(1).default("primary").describe('Calendar to create the event in. Default "primary".'),
|
|
@@ -5613,6 +5644,13 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
|
|
|
5613
5644
|
outputSchema: recordOutputSchema("gmail_send_message", GmailSendMessageOutputSchema),
|
|
5614
5645
|
annotations: { title: "Send Gmail Message", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
5615
5646
|
}, async (input) => executor.gmailSendMessage(input));
|
|
5647
|
+
server.registerTool("gmail_search_contacts", {
|
|
5648
|
+
title: "Search Gmail Contacts",
|
|
5649
|
+
description: 'Search Gmail with standard Gmail query syntax (e.g. "from:acme.com after:2026/03/22") and get back deduplicated sender contacts (email, name, domain, message count, first/last seen, sample subjects) instead of raw messages. Read-only \u2014 works on any connected Gmail connection from list_service_connections, no actionsEnabled required. Use this instead of looping list-messages/get-message yourself: those return bare message IDs and full raw MIME per message, which does not scale past a handful of messages. Reports totalMatches and truncated so incomplete coverage from a large result set is never silent \u2014 pass the returned nextPageToken to continue.',
|
|
5650
|
+
inputSchema: GmailSearchContactsInputSchema,
|
|
5651
|
+
outputSchema: recordOutputSchema("gmail_search_contacts", GmailSearchContactsOutputSchema),
|
|
5652
|
+
annotations: { title: "Search Gmail Contacts", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
5653
|
+
}, async (input) => executor.gmailSearchContacts(input));
|
|
5616
5654
|
server.registerTool("google_calendar_create_event", {
|
|
5617
5655
|
title: "Create Calendar Event",
|
|
5618
5656
|
description: "Create a complete event on a connected, action-enabled Google Calendar connection. Always preserve the supplied purpose in description, include the Zoom join link when available, and include every explicitly named invitee in attendees. Do not create a bare meeting event. Requires a connectionId from list_service_connections with actionsEnabled true.",
|
|
@@ -5997,6 +6035,9 @@ var HttpMcpToolExecutor = class {
|
|
|
5997
6035
|
gmailSendMessage(input) {
|
|
5998
6036
|
return this.call("/schedule-connections/actions/gmail/send-message", input);
|
|
5999
6037
|
}
|
|
6038
|
+
gmailSearchContacts(input) {
|
|
6039
|
+
return this.call("/schedule-connections/actions/gmail/search-contacts", input);
|
|
6040
|
+
}
|
|
6000
6041
|
googleCalendarCreateEvent(input) {
|
|
6001
6042
|
return this.call("/schedule-connections/actions/google-calendar/create-event", input);
|
|
6002
6043
|
}
|
|
@@ -10110,4 +10151,4 @@ export {
|
|
|
10110
10151
|
MEMORY_TOOL_SCHEMAS,
|
|
10111
10152
|
registerMemoryMcpTools
|
|
10112
10153
|
};
|
|
10113
|
-
//# sourceMappingURL=chunk-
|
|
10154
|
+
//# sourceMappingURL=chunk-GNRHBIYZ.js.map
|