@mambalabsdev/mcp-gtm-suite 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mamba Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # Mamba Labs GTM Suite MCP Server
2
+
3
+ One MCP server that exposes the entire Mamba Labs GTM Suite. Install a single package and get all six go-to-market tools in your MCP client, each wrapping a Mamba Labs actor on Apify and returning Clay-ready flat JSON.
4
+
5
+ ## What it does
6
+
7
+ This server gives an AI client six GTM tools in one place:
8
+
9
+ - `scan_gtm_hiring_signals` — detect GTM hiring activity from career pages
10
+ - `detect_gtm_tech_stack` — detect CRM, sequencer, and marketing automation tools
11
+ - `aggregate_gtm_signals` — combine hiring and tech-stack signals into one composite score
12
+ - `scan_job_board_keywords` — scan job boards for roles in any category
13
+ - `resolve_linkedin_url` — resolve a domain or name to a LinkedIn company URL
14
+ - `score_icp_fit` — score a company against your ideal customer profile
15
+
16
+ All of the work runs on Apify. This package is a thin client that routes each tool call to the right actor and hands back the result.
17
+
18
+ ## Quick start
19
+
20
+ You need Node.js 18 or newer and an Apify account with an API token.
21
+
22
+ Add this to your Claude Desktop config:
23
+
24
+ ```json
25
+ {
26
+ "mcpServers": {
27
+ "mamba-gtm-suite": {
28
+ "command": "npx",
29
+ "args": ["-y", "@mambalabsdev/mcp-gtm-suite"],
30
+ "env": {
31
+ "APIFY_TOKEN": "your-apify-token"
32
+ }
33
+ }
34
+ }
35
+ }
36
+ ```
37
+
38
+ Get your token at https://console.apify.com/account/integrations, paste it in, and restart Claude Desktop. All six tools will be available.
39
+
40
+ ## Prerequisites
41
+
42
+ - Node.js 18 or newer
43
+ - An Apify account with an API token
44
+
45
+ ## Example prompts
46
+
47
+ - "Profile stripe.com: hiring signals, tech stack, and an overall GTM score."
48
+ - "Find figma.com's LinkedIn URL, then score it against my ICP."
49
+ - "Is openai.com hiring for GTM, and what CRM do they use?"
50
+ - "Scan datadoghq.com's job board for Engineering and Finance roles."
51
+
52
+ ## Tools and inputs
53
+
54
+ Each tool maps to one Apify actor. Inputs mirror the actor, minus deprecated and batch-only fields:
55
+
56
+ - `scan_gtm_hiring_signals`: `domain` (required), `role_filter`, `ats_slug`
57
+ - `detect_gtm_tech_stack`: `domain` (required), `crawl_additional_pages`
58
+ - `aggregate_gtm_signals`: `company_domain` (required), `include_summary`, `explain_mode`
59
+ - `scan_job_board_keywords`: `company_domain` (required), `role_categories` (required), `custom_keywords`, `enable_fallback`, `previous_roles_detected`, `previous_run_date`
60
+ - `resolve_linkedin_url`: `company_domain` or `company_name` (at least one)
61
+ - `score_icp_fit`: `company_domain` (required), plus `template`, `scoring_config`, `icp_description` (+ `llm_api_key`, `llm_provider`), `fetch_signals`, `include_explanation`
62
+
63
+ ## Individual servers
64
+
65
+ Prefer one tool at a time? Each actor also ships as its own MCP package:
66
+
67
+ - `@mambalabsdev/mcp-gtm-hiring-signal-scraper`
68
+ - `@mambalabsdev/mcp-gtm-tech-stack-signal-scraper`
69
+ - `@mambalabsdev/mcp-gtm-signals-aggregator`
70
+ - `@mambalabsdev/mcp-job-board-keyword-signal-scanner`
71
+ - `@mambalabsdev/mcp-domain-to-linkedin-url-resolver`
72
+ - `@mambalabsdev/mcp-icp-fit-scorer`
73
+
74
+ ## Full actor documentation
75
+
76
+ For the complete input and output reference, pricing, and run history of each actor, see the Mamba Labs Apify Store page:
77
+
78
+ https://apify.com/mambalabs
79
+
80
+ ## License
81
+
82
+ MIT
83
+
84
+ Built by Mamba Labs. https://apify.com/mambalabs
package/build/index.js ADDED
@@ -0,0 +1,186 @@
1
+ #!/usr/bin/env node
2
+ import { readFileSync } from "node:fs";
3
+ import { fileURLToPath } from "node:url";
4
+ import { dirname, join } from "node:path";
5
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
6
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
7
+ import { z } from "zod";
8
+ const here = dirname(fileURLToPath(import.meta.url));
9
+ const pkg = JSON.parse(readFileSync(join(here, "..", "package.json"), "utf8"));
10
+ const APIFY_TOKEN = process.env.APIFY_TOKEN;
11
+ if (!APIFY_TOKEN) {
12
+ console.error([
13
+ "APIFY_TOKEN is not set.",
14
+ "This server needs an Apify API token to run the Mamba Labs GTM Suite actors.",
15
+ "Create a token at https://console.apify.com/account/integrations and pass it as the APIFY_TOKEN environment variable.",
16
+ ].join("\n"));
17
+ process.exit(1);
18
+ }
19
+ // Drop undefined values so optional inputs are not sent to the actor.
20
+ function compact(obj) {
21
+ const out = {};
22
+ for (const [k, v] of Object.entries(obj)) {
23
+ if (v !== undefined)
24
+ out[k] = v;
25
+ }
26
+ return out;
27
+ }
28
+ // Shared caller. The tilde between the org name and the actor name is Apify's
29
+ // required separator for the org/actor path. It is not a slash.
30
+ async function runActor(actorPath, actorLabel, input) {
31
+ const url = `https://api.apify.com/v2/acts/${actorPath}/run-sync-get-dataset-items?timeout=300`;
32
+ let response;
33
+ try {
34
+ response = await fetch(url, {
35
+ method: "POST",
36
+ headers: {
37
+ Authorization: `Bearer ${APIFY_TOKEN}`,
38
+ "Content-Type": "application/json",
39
+ },
40
+ body: JSON.stringify(input),
41
+ });
42
+ }
43
+ catch (err) {
44
+ const message = err instanceof Error ? err.message : String(err);
45
+ return { isError: true, content: [{ type: "text", text: `Could not reach the Apify API: ${message}` }] };
46
+ }
47
+ if (!response.ok) {
48
+ let detail = "";
49
+ try {
50
+ const body = (await response.json());
51
+ if (body?.error?.message)
52
+ detail = ` ${body.error.message}`;
53
+ }
54
+ catch {
55
+ detail = "";
56
+ }
57
+ let message;
58
+ switch (response.status) {
59
+ case 401:
60
+ message = "Invalid Apify token. Check your APIFY_TOKEN environment variable.";
61
+ break;
62
+ case 402:
63
+ message =
64
+ "Insufficient Apify credits. Check your account balance at https://console.apify.com/billing";
65
+ break;
66
+ case 408:
67
+ message = `The ${actorLabel} run timed out after 300 seconds. Try again, or run the actor on Apify directly for longer jobs.`;
68
+ break;
69
+ default:
70
+ message = `Apify request to ${actorLabel} failed with status ${response.status}.${detail}`;
71
+ }
72
+ return { isError: true, content: [{ type: "text", text: message }] };
73
+ }
74
+ const items = await response.json();
75
+ return { content: [{ type: "text", text: JSON.stringify(items, null, 2) }] };
76
+ }
77
+ const server = new McpServer({
78
+ name: "mamba-gtm-suite",
79
+ version: pkg.version,
80
+ });
81
+ // 1. GTM Hiring Signal Scraper
82
+ server.tool("scan_gtm_hiring_signals", "Scan company career pages to detect GTM hiring activity. Returns sales, marketing, and revenue operations job postings across Greenhouse, Lever, and Ashby as a flat, Clay-ready JSON row.", {
83
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
84
+ role_filter: z
85
+ .array(z.string())
86
+ .optional()
87
+ .describe("Optional list of GTM role keywords to filter on. Defaults to the built-in list."),
88
+ ats_slug: z
89
+ .string()
90
+ .optional()
91
+ .describe("Optional ATS board slug override when it differs from the domain."),
92
+ }, async ({ domain, role_filter, ats_slug }) => runActor("mambalabs~gtm-hiring-signal-scraper", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug })));
93
+ // 2. GTM Tech Stack Signal Enrichment
94
+ server.tool("detect_gtm_tech_stack", "Detect which GTM tools a company uses from its public website. Returns CRM, sequencer, and marketing automation signals with per-tool boolean flags as a flat, Clay-ready JSON row.", {
95
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
96
+ crawl_additional_pages: z
97
+ .boolean()
98
+ .optional()
99
+ .describe("Crawl up to 2 extra pages for better coverage. Defaults to true when omitted."),
100
+ }, async ({ domain, crawl_additional_pages }) => runActor("mambalabs~gtm-tech-stack-signal-scraper", "GTM Tech Stack Signal Enrichment", compact({ domain, crawl_additional_pages })));
101
+ // 3. GTM Signals Aggregator
102
+ server.tool("aggregate_gtm_signals", "Aggregate a company's GTM signals into one composite score. Runs hiring and tech-stack detection in one call and returns a composite score, recommended action, and optional summary as a flat, Clay-ready JSON row.", {
103
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
104
+ include_summary: z.boolean().optional().describe("Include a plain-English gtm_signal_summary."),
105
+ explain_mode: z
106
+ .boolean()
107
+ .optional()
108
+ .describe("If true, the summary becomes a longer, more detailed explanation."),
109
+ }, async ({ company_domain, include_summary, explain_mode }) => runActor("mambalabs~gtm-signals-aggregator", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode })));
110
+ // 4. Job Board Keyword Signal Scanner
111
+ server.tool("scan_job_board_keywords", "Scan a company's job board for roles in chosen categories across Greenhouse, Lever, Ashby, Workday, and Rippling. Returns matched role counts and titles per category as a flat, Clay-ready JSON row.", {
112
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
113
+ role_categories: z
114
+ .array(z.string())
115
+ .describe("One or more of: GTM, Engineering, Finance, Operations, Executive, Custom."),
116
+ custom_keywords: z
117
+ .array(z.string())
118
+ .optional()
119
+ .describe("Keyword strings to match when Custom is included in role_categories."),
120
+ enable_fallback: z
121
+ .boolean()
122
+ .optional()
123
+ .describe("Fall back to a pre-indexed job database when the live ATS cascade finds nothing."),
124
+ previous_roles_detected: z
125
+ .string()
126
+ .optional()
127
+ .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
128
+ previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
129
+ }, async ({ company_domain, role_categories, custom_keywords, enable_fallback, previous_roles_detected, previous_run_date, }) => runActor("mambalabs~job-board-keyword-signal-scanner", "Job Board Keyword Signal Scanner", compact({
130
+ company_domain,
131
+ role_categories,
132
+ custom_keywords,
133
+ enable_fallback,
134
+ previous_roles_detected,
135
+ previous_run_date,
136
+ })));
137
+ // 5. Domain to LinkedIn URL Resolver
138
+ server.tool("resolve_linkedin_url", "Resolve a company domain or name to its LinkedIn company URL with a confidence score, firmographics, and social links as a flat, Clay-ready JSON row. Provide at least one of company_domain or company_name.", {
139
+ company_domain: z
140
+ .string()
141
+ .optional()
142
+ .describe("Bare company domain, e.g. stripe.com. Required if company_name is not provided."),
143
+ company_name: z.string().optional().describe("Company name. Required if company_domain is not provided."),
144
+ }, async ({ company_domain, company_name }) => {
145
+ if ((company_domain === undefined || company_domain === "") &&
146
+ (company_name === undefined || company_name === "")) {
147
+ return {
148
+ isError: true,
149
+ content: [{ type: "text", text: "Provide at least one of company_domain or company_name." }],
150
+ };
151
+ }
152
+ return runActor("mambalabs~domain-to-linkedin-url-resolver", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name }));
153
+ });
154
+ // 6. ICP Fit Scorer (single-company scoring surface)
155
+ server.tool("score_icp_fit", "Score a company against your ideal customer profile (ICP) using weighted signals. Returns a 0 to 100 icp_score, an A to D icp_tier, and a per-signal breakdown as a flat, Clay-ready JSON row. Define your ICP with a template, scoring_config, or plain-English icp_description (which requires llm_api_key).", {
156
+ company_domain: z.string().describe("The primary domain of the company to score, e.g. clay.com"),
157
+ company_name: z.string().optional().describe("Optional display name of the company."),
158
+ template: z.string().optional().describe("Name of a prebuilt scoring config."),
159
+ scoring_config: z.record(z.any()).optional().describe("JSON object of scoring weights."),
160
+ icp_description: z
161
+ .string()
162
+ .optional()
163
+ .describe("Plain-English ICP description. Requires llm_api_key."),
164
+ llm_api_key: z.string().optional().describe("Your OpenAI or Anthropic key, used only with icp_description."),
165
+ llm_provider: z.string().optional().describe("LLM provider for icp_description: openai or anthropic."),
166
+ fetch_signals: z
167
+ .boolean()
168
+ .optional()
169
+ .describe("If true, the actor fetches hiring and tech-stack signals automatically before scoring."),
170
+ include_explanation: z
171
+ .boolean()
172
+ .optional()
173
+ .describe("If true, adds a score_explanation string to the output."),
174
+ }, async (args) => runActor("mambalabs~icp-fit-scorer", "ICP Fit Scorer", compact({
175
+ company_domain: args.company_domain,
176
+ company_name: args.company_name,
177
+ template: args.template,
178
+ scoring_config: args.scoring_config,
179
+ icp_description: args.icp_description,
180
+ llm_api_key: args.llm_api_key,
181
+ llm_provider: args.llm_provider,
182
+ fetch_signals: args.fetch_signals,
183
+ include_explanation: args.include_explanation,
184
+ })));
185
+ const transport = new StdioServerTransport();
186
+ await server.connect(transport);
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@mambalabsdev/mcp-gtm-suite",
3
+ "version": "1.0.0",
4
+ "description": "MCP server for the full Mamba Labs GTM Suite. Exposes all six GTM actors as tools in one server via Apify: hiring signals, tech stack, aggregator, job board scanner, LinkedIn resolver, and ICP scorer. Clay-ready output.",
5
+ "type": "module",
6
+ "bin": {
7
+ "mcp-gtm-suite": "./build/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsc && chmod +x build/index.js",
11
+ "prepublishOnly": "npm run build"
12
+ },
13
+ "keywords": [
14
+ "mcp",
15
+ "model-context-protocol",
16
+ "gtm",
17
+ "suite",
18
+ "sales-intelligence",
19
+ "lead-generation",
20
+ "apify",
21
+ "clay"
22
+ ],
23
+ "author": "Mamba Labs <labs@mambamindsetgrowth.com>",
24
+ "license": "MIT",
25
+ "homepage": "https://apify.com/mambalabs",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/mambalabsdev/mcp-gtm-suite"
29
+ },
30
+ "engines": {
31
+ "node": ">=18"
32
+ },
33
+ "dependencies": {
34
+ "@modelcontextprotocol/sdk": "^1.12.0",
35
+ "zod": "^3.23.8"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^20.14.0",
39
+ "typescript": "^5.6.0"
40
+ }
41
+ }