@mambalabsdev/mcp-gtm-suite 1.0.2 → 1.0.4

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.
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ open-pull-requests-limit: 5
8
+ commit-message:
9
+ prefix: "deps"
10
+ - package-ecosystem: "github-actions"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
package/README.md CHANGED
@@ -1,17 +1,19 @@
1
1
  # Mamba Labs GTM Suite MCP Server
2
2
 
3
+ [![Smithery](https://smithery.ai/badge/mambabuilt/mcp-gtm-suite)](https://smithery.ai/servers/mambabuilt/mcp-gtm-suite)
4
+
3
5
  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
6
 
5
7
  ## What it does
6
8
 
7
9
  This server gives an AI client six GTM tools in one place:
8
10
 
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
11
+ - `scan_gtm_hiring_signals`: detect GTM hiring activity from career pages
12
+ - `detect_gtm_tech_stack`: detect CRM, sequencer, and marketing automation tools
13
+ - `aggregate_gtm_signals`: combine hiring and tech-stack signals into one composite score
14
+ - `scan_job_board_keywords`: scan job boards for roles in any category
15
+ - `resolve_linkedin_url`: resolve a domain or name to a LinkedIn company URL
16
+ - `score_icp_fit`: score a company against your ideal customer profile
15
17
 
16
18
  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
19
 
@@ -64,12 +66,12 @@ Each tool maps to one Apify actor. Inputs mirror the actor, minus deprecated and
64
66
 
65
67
  Prefer one tool at a time? Each actor also ships as its own MCP package:
66
68
 
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`
69
+ - [`@mambalabsdev/mcp-gtm-hiring-signal-scraper`](https://github.com/mambalabsdev/mcp-gtm-hiring-signal-scraper)
70
+ - [`@mambalabsdev/mcp-gtm-tech-stack-signal-scraper`](https://github.com/mambalabsdev/mcp-gtm-tech-stack-signal-scraper)
71
+ - [`@mambalabsdev/mcp-gtm-signals-aggregator`](https://github.com/mambalabsdev/mcp-gtm-signals-aggregator)
72
+ - [`@mambalabsdev/mcp-job-board-keyword-signal-scanner`](https://github.com/mambalabsdev/mcp-job-board-keyword-signal-scanner)
73
+ - [`@mambalabsdev/mcp-domain-to-linkedin-url-resolver`](https://github.com/mambalabsdev/mcp-domain-to-linkedin-url-resolver)
74
+ - [`@mambalabsdev/mcp-icp-fit-scorer`](https://github.com/mambalabsdev/mcp-icp-fit-scorer)
73
75
 
74
76
  ## Full actor documentation
75
77
 
package/build/index.js CHANGED
@@ -10,14 +10,6 @@ const pkg = JSON.parse(readFileSync(join(here, "..", "package.json"), "utf8"));
10
10
  // Distinctive UA so Apify run meta.userAgent marks MCP-originated runs.
11
11
  const USER_AGENT = `mambalabs-mcp ${pkg.name}@${pkg.version}`;
12
12
  const APIFY_TOKEN = process.env.APIFY_TOKEN;
13
- if (!APIFY_TOKEN) {
14
- console.error([
15
- "APIFY_TOKEN is not set.",
16
- "This server needs an Apify API token to run the Mamba Labs GTM Suite actors.",
17
- "Create a token at https://console.apify.com/account/integrations and pass it as the APIFY_TOKEN environment variable.",
18
- ].join("\n"));
19
- process.exit(1);
20
- }
21
13
  // Drop undefined values so optional inputs are not sent to the actor.
22
14
  function compact(obj) {
23
15
  const out = {};
@@ -30,6 +22,9 @@ function compact(obj) {
30
22
  // Shared caller. The tilde between the org name and the actor name is Apify's
31
23
  // required separator for the org/actor path. It is not a slash.
32
24
  async function runActor(actorPath, actorLabel, input) {
25
+ if (!APIFY_TOKEN) {
26
+ return { isError: true, content: [{ type: "text", text: "APIFY_TOKEN is not set. Create a token at https://console.apify.com/account/integrations and set it as the APIFY_TOKEN environment variable." }] };
27
+ }
33
28
  const url = `https://api.apify.com/v2/acts/${actorPath}/run-sync-get-dataset-items?timeout=300`;
34
29
  let response;
35
30
  try {
@@ -82,53 +77,97 @@ const server = new McpServer({
82
77
  version: pkg.version,
83
78
  });
84
79
  // 1. GTM Hiring Signal Scraper
85
- 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.", {
86
- domain: z.string().describe("Bare company domain, e.g. stripe.com"),
87
- role_filter: z
88
- .array(z.string())
89
- .optional()
90
- .describe("Optional list of GTM role keywords to filter on. Defaults to the built-in list."),
91
- ats_slug: z
92
- .string()
93
- .optional()
94
- .describe("Optional ATS board slug override when it differs from the domain."),
80
+ server.registerTool("scan_gtm_hiring_signals", {
81
+ title: "Scan GTM Hiring Signals",
82
+ description: "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. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
83
+ annotations: {
84
+ title: "Scan GTM Hiring Signals",
85
+ readOnlyHint: true,
86
+ destructiveHint: false,
87
+ idempotentHint: true,
88
+ openWorldHint: true,
89
+ },
90
+ inputSchema: {
91
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
92
+ role_filter: z
93
+ .array(z.string())
94
+ .optional()
95
+ .describe("Optional list of GTM role keywords to filter on. Defaults to the built-in list."),
96
+ ats_slug: z
97
+ .string()
98
+ .optional()
99
+ .describe("Optional ATS board slug override when it differs from the domain."),
100
+ },
95
101
  }, async ({ domain, role_filter, ats_slug }) => runActor("mambalabs~gtm-hiring-signal-scraper", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug })));
96
102
  // 2. GTM Tech Stack Signal Enrichment
97
- 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.", {
98
- domain: z.string().describe("Bare company domain, e.g. stripe.com"),
99
- crawl_additional_pages: z
100
- .boolean()
101
- .optional()
102
- .describe("Crawl up to 2 extra pages for better coverage. Defaults to true when omitted."),
103
+ server.registerTool("detect_gtm_tech_stack", {
104
+ title: "Detect GTM Tech Stack",
105
+ description: "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. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
106
+ annotations: {
107
+ title: "Detect GTM Tech Stack",
108
+ readOnlyHint: true,
109
+ destructiveHint: false,
110
+ idempotentHint: true,
111
+ openWorldHint: true,
112
+ },
113
+ inputSchema: {
114
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
115
+ crawl_additional_pages: z
116
+ .boolean()
117
+ .optional()
118
+ .describe("Crawl up to 2 extra pages for better coverage. Defaults to true when omitted."),
119
+ },
103
120
  }, async ({ domain, crawl_additional_pages }) => runActor("mambalabs~gtm-tech-stack-signal-scraper", "GTM Tech Stack Signal Enrichment", compact({ domain, crawl_additional_pages })));
104
121
  // 3. GTM Signals Aggregator
105
- 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.", {
106
- company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
107
- include_summary: z.boolean().optional().describe("Include a plain-English gtm_signal_summary."),
108
- explain_mode: z
109
- .boolean()
110
- .optional()
111
- .describe("If true, the summary becomes a longer, more detailed explanation."),
122
+ server.registerTool("aggregate_gtm_signals", {
123
+ title: "Aggregate GTM Signals",
124
+ description: "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. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
125
+ annotations: {
126
+ title: "Aggregate GTM Signals",
127
+ readOnlyHint: true,
128
+ destructiveHint: false,
129
+ idempotentHint: true,
130
+ openWorldHint: true,
131
+ },
132
+ inputSchema: {
133
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
134
+ include_summary: z.boolean().optional().describe("Include a plain-English gtm_signal_summary."),
135
+ explain_mode: z
136
+ .boolean()
137
+ .optional()
138
+ .describe("If true, the summary becomes a longer, more detailed explanation."),
139
+ },
112
140
  }, async ({ company_domain, include_summary, explain_mode }) => runActor("mambalabs~gtm-signals-aggregator", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode })));
113
141
  // 4. Job Board Keyword Signal Scanner
114
- 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.", {
115
- company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
116
- role_categories: z
117
- .array(z.string())
118
- .describe("One or more of: GTM, Engineering, Finance, Operations, Executive, Custom."),
119
- custom_keywords: z
120
- .array(z.string())
121
- .optional()
122
- .describe("Keyword strings to match when Custom is included in role_categories."),
123
- enable_fallback: z
124
- .boolean()
125
- .optional()
126
- .describe("Fall back to a pre-indexed job database when the live ATS cascade finds nothing."),
127
- previous_roles_detected: z
128
- .string()
129
- .optional()
130
- .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
131
- previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
142
+ server.registerTool("scan_job_board_keywords", {
143
+ title: "Scan Job Board Keywords",
144
+ description: "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. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
145
+ annotations: {
146
+ title: "Scan Job Board Keywords",
147
+ readOnlyHint: true,
148
+ destructiveHint: false,
149
+ idempotentHint: true,
150
+ openWorldHint: true,
151
+ },
152
+ inputSchema: {
153
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
154
+ role_categories: z
155
+ .array(z.string())
156
+ .describe("One or more of: GTM, Engineering, Finance, Operations, Executive, Custom."),
157
+ custom_keywords: z
158
+ .array(z.string())
159
+ .optional()
160
+ .describe("Keyword strings to match when Custom is included in role_categories."),
161
+ enable_fallback: z
162
+ .boolean()
163
+ .optional()
164
+ .describe("Fall back to a pre-indexed job database when the live ATS cascade finds nothing."),
165
+ previous_roles_detected: z
166
+ .string()
167
+ .optional()
168
+ .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
169
+ previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
170
+ },
132
171
  }, 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({
133
172
  company_domain,
134
173
  role_categories,
@@ -138,12 +177,23 @@ server.tool("scan_job_board_keywords", "Scan a company's job board for roles in
138
177
  previous_run_date,
139
178
  })));
140
179
  // 5. Domain to LinkedIn URL Resolver
141
- 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.", {
142
- company_domain: z
143
- .string()
144
- .optional()
145
- .describe("Bare company domain, e.g. stripe.com. Required if company_name is not provided."),
146
- company_name: z.string().optional().describe("Company name. Required if company_domain is not provided."),
180
+ server.registerTool("resolve_linkedin_url", {
181
+ title: "Resolve LinkedIn URL",
182
+ description: "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. Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
183
+ annotations: {
184
+ title: "Resolve LinkedIn URL",
185
+ readOnlyHint: true,
186
+ destructiveHint: false,
187
+ idempotentHint: true,
188
+ openWorldHint: true,
189
+ },
190
+ inputSchema: {
191
+ company_domain: z
192
+ .string()
193
+ .optional()
194
+ .describe("Bare company domain, e.g. stripe.com. Required if company_name is not provided."),
195
+ company_name: z.string().optional().describe("Company name. Required if company_domain is not provided."),
196
+ },
147
197
  }, async ({ company_domain, company_name }) => {
148
198
  if ((company_domain === undefined || company_domain === "") &&
149
199
  (company_name === undefined || company_name === "")) {
@@ -155,25 +205,36 @@ server.tool("resolve_linkedin_url", "Resolve a company domain or name to its Lin
155
205
  return runActor("mambalabs~domain-to-linkedin-url-resolver", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name }));
156
206
  });
157
207
  // 6. ICP Fit Scorer (single-company scoring surface)
158
- 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).", {
159
- company_domain: z.string().describe("The primary domain of the company to score, e.g. clay.com"),
160
- company_name: z.string().optional().describe("Optional display name of the company."),
161
- template: z.string().optional().describe("Name of a prebuilt scoring config."),
162
- scoring_config: z.record(z.any()).optional().describe("JSON object of scoring weights."),
163
- icp_description: z
164
- .string()
165
- .optional()
166
- .describe("Plain-English ICP description. Requires llm_api_key."),
167
- llm_api_key: z.string().optional().describe("Your OpenAI or Anthropic key, used only with icp_description."),
168
- llm_provider: z.string().optional().describe("LLM provider for icp_description: openai or anthropic."),
169
- fetch_signals: z
170
- .boolean()
171
- .optional()
172
- .describe("If true, the actor fetches hiring and tech-stack signals automatically before scoring."),
173
- include_explanation: z
174
- .boolean()
175
- .optional()
176
- .describe("If true, adds a score_explanation string to the output."),
208
+ server.registerTool("score_icp_fit", {
209
+ title: "Score ICP Fit",
210
+ description: "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). Read-only; requires an APIFY_TOKEN and consumes Apify credits per call.",
211
+ annotations: {
212
+ title: "Score ICP Fit",
213
+ readOnlyHint: true,
214
+ destructiveHint: false,
215
+ idempotentHint: true,
216
+ openWorldHint: true,
217
+ },
218
+ inputSchema: {
219
+ company_domain: z.string().describe("The primary domain of the company to score, e.g. clay.com"),
220
+ company_name: z.string().optional().describe("Optional display name of the company."),
221
+ template: z.string().optional().describe("Name of a prebuilt scoring config."),
222
+ scoring_config: z.record(z.any()).optional().describe("JSON object of scoring weights."),
223
+ icp_description: z
224
+ .string()
225
+ .optional()
226
+ .describe("Plain-English ICP description. Requires llm_api_key."),
227
+ llm_api_key: z.string().optional().describe("Your OpenAI or Anthropic key, used only with icp_description."),
228
+ llm_provider: z.string().optional().describe("LLM provider for icp_description: openai or anthropic."),
229
+ fetch_signals: z
230
+ .boolean()
231
+ .optional()
232
+ .describe("If true, the actor fetches hiring and tech-stack signals automatically before scoring."),
233
+ include_explanation: z
234
+ .boolean()
235
+ .optional()
236
+ .describe("If true, adds a score_explanation string to the output."),
237
+ },
177
238
  }, async (args) => runActor("mambalabs~icp-fit-scorer", "ICP Fit Scorer", compact({
178
239
  company_domain: args.company_domain,
179
240
  company_name: args.company_name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mambalabsdev/mcp-gtm-suite",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
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
5
  "type": "module",
6
6
  "bin": {