@mambalabsdev/mcp-gtm-suite 1.0.3 → 1.0.5

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"
@@ -0,0 +1,14 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - uses: actions/setup-node@v4
11
+ with:
12
+ node-version: '20'
13
+ - run: npm ci
14
+ - run: npm run build
package/README.md CHANGED
@@ -1,6 +1,6 @@
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)
3
+ [![Smithery](https://smithery.ai/badge/mambabuilt/mcp-gtm-suite)](https://smithery.ai/server/mambabuilt/mcp-gtm-suite) [![Glama score](https://glama.ai/mcp/servers/mambalabsdev/mcp-gtm-suite/badges/score.svg)](https://glama.ai/mcp/servers/mambalabsdev/mcp-gtm-suite) [![MCP Registry](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.modelcontextprotocol.io%2Fv0%2Fservers%3Fsearch%3Dcom.mambabuilt%252Fmcp-gtm-suite%26limit%3D1&query=%24.servers%5B0%5D._meta%5B%22io.modelcontextprotocol.registry%2Fofficial%22%5D.status&label=mcp%20registry&color=blue)](https://registry.modelcontextprotocol.io/v0/servers?search=com.mambabuilt/mcp-gtm-suite&limit=1) [![npm version](https://img.shields.io/npm/v/@mambalabsdev/mcp-gtm-suite)](https://www.npmjs.com/~mambalabsdev) [![npm downloads](https://img.shields.io/npm/dm/@mambalabsdev/mcp-gtm-suite)](https://www.npmjs.com/~mambalabsdev) [![license](https://img.shields.io/github/license/mambalabsdev/mcp-gtm-suite)](https://github.com/mambalabsdev) [![mcpservers.org](https://img.shields.io/badge/mcpservers.org-listed-blue)](https://mcpservers.org/servers/mambalabsdev/mcp-gtm-suite)
4
4
 
5
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.
6
6
 
package/build/index.js CHANGED
@@ -19,8 +19,10 @@ function compact(obj) {
19
19
  }
20
20
  return out;
21
21
  }
22
- // Shared caller. The tilde between the org name and the actor name is Apify's
23
- // required separator for the org/actor path. It is not a slash.
22
+ // Shared caller. actorPath is the actor's immutable Apify actor ID (a stable
23
+ // 17-char key that survives Store renames). The /v2/acts/{id} endpoint accepts
24
+ // it directly. We use IDs rather than the mambalabs~slug path so a Store rename
25
+ // never breaks these calls.
24
26
  async function runActor(actorPath, actorLabel, input) {
25
27
  if (!APIFY_TOKEN) {
26
28
  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." }] };
@@ -77,54 +79,98 @@ const server = new McpServer({
77
79
  version: pkg.version,
78
80
  });
79
81
  // 1. GTM Hiring Signal Scraper
80
- 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.", {
81
- domain: z.string().describe("Bare company domain, e.g. stripe.com"),
82
- role_filter: z
83
- .array(z.string())
84
- .optional()
85
- .describe("Optional list of GTM role keywords to filter on. Defaults to the built-in list."),
86
- ats_slug: z
87
- .string()
88
- .optional()
89
- .describe("Optional ATS board slug override when it differs from the domain."),
90
- }, async ({ domain, role_filter, ats_slug }) => runActor("mambalabs~gtm-hiring-signal-scraper", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug })));
82
+ server.registerTool("scan_gtm_hiring_signals", {
83
+ title: "Scan GTM Hiring Signals",
84
+ 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.",
85
+ annotations: {
86
+ title: "Scan GTM Hiring Signals",
87
+ readOnlyHint: true,
88
+ destructiveHint: false,
89
+ idempotentHint: true,
90
+ openWorldHint: true,
91
+ },
92
+ inputSchema: {
93
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
94
+ role_filter: z
95
+ .array(z.string())
96
+ .optional()
97
+ .describe("Optional list of GTM role keywords to filter on. Defaults to the built-in list."),
98
+ ats_slug: z
99
+ .string()
100
+ .optional()
101
+ .describe("Optional ATS board slug override when it differs from the domain."),
102
+ },
103
+ }, async ({ domain, role_filter, ats_slug }) => runActor("D7O1SA2EqwHGsGr1P", "GTM Hiring Signal Scraper", compact({ domain, role_filter, ats_slug })));
91
104
  // 2. GTM Tech Stack Signal Enrichment
92
- 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.", {
93
- domain: z.string().describe("Bare company domain, e.g. stripe.com"),
94
- crawl_additional_pages: z
95
- .boolean()
96
- .optional()
97
- .describe("Crawl up to 2 extra pages for better coverage. Defaults to true when omitted."),
98
- }, async ({ domain, crawl_additional_pages }) => runActor("mambalabs~gtm-tech-stack-signal-scraper", "GTM Tech Stack Signal Enrichment", compact({ domain, crawl_additional_pages })));
105
+ server.registerTool("detect_gtm_tech_stack", {
106
+ title: "Detect GTM Tech Stack",
107
+ 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.",
108
+ annotations: {
109
+ title: "Detect GTM Tech Stack",
110
+ readOnlyHint: true,
111
+ destructiveHint: false,
112
+ idempotentHint: true,
113
+ openWorldHint: true,
114
+ },
115
+ inputSchema: {
116
+ domain: z.string().describe("Bare company domain, e.g. stripe.com"),
117
+ crawl_additional_pages: z
118
+ .boolean()
119
+ .optional()
120
+ .describe("Crawl up to 2 extra pages for better coverage. Defaults to true when omitted."),
121
+ },
122
+ }, async ({ domain, crawl_additional_pages }) => runActor("qyd7nNyqFPelQViBx", "GTM Tech Stack Signal Enrichment", compact({ domain, crawl_additional_pages })));
99
123
  // 3. GTM Signals Aggregator
100
- 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.", {
101
- company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
102
- include_summary: z.boolean().optional().describe("Include a plain-English gtm_signal_summary."),
103
- explain_mode: z
104
- .boolean()
105
- .optional()
106
- .describe("If true, the summary becomes a longer, more detailed explanation."),
107
- }, async ({ company_domain, include_summary, explain_mode }) => runActor("mambalabs~gtm-signals-aggregator", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode })));
124
+ server.registerTool("aggregate_gtm_signals", {
125
+ title: "Aggregate GTM Signals",
126
+ 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.",
127
+ annotations: {
128
+ title: "Aggregate GTM Signals",
129
+ readOnlyHint: true,
130
+ destructiveHint: false,
131
+ idempotentHint: true,
132
+ openWorldHint: true,
133
+ },
134
+ inputSchema: {
135
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
136
+ include_summary: z.boolean().optional().describe("Include a plain-English gtm_signal_summary."),
137
+ explain_mode: z
138
+ .boolean()
139
+ .optional()
140
+ .describe("If true, the summary becomes a longer, more detailed explanation."),
141
+ },
142
+ }, async ({ company_domain, include_summary, explain_mode }) => runActor("xKdRfnfFNkdMpFuNs", "GTM Signals Aggregator", compact({ company_domain, include_summary, explain_mode })));
108
143
  // 4. Job Board Keyword Signal Scanner
109
- 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.", {
110
- company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
111
- role_categories: z
112
- .array(z.string())
113
- .describe("One or more of: GTM, Engineering, Finance, Operations, Executive, Custom."),
114
- custom_keywords: z
115
- .array(z.string())
116
- .optional()
117
- .describe("Keyword strings to match when Custom is included in role_categories."),
118
- enable_fallback: z
119
- .boolean()
120
- .optional()
121
- .describe("Fall back to a pre-indexed job database when the live ATS cascade finds nothing."),
122
- previous_roles_detected: z
123
- .string()
124
- .optional()
125
- .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
126
- previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
127
- }, 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({
144
+ server.registerTool("scan_job_board_keywords", {
145
+ title: "Scan Job Board Keywords",
146
+ 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.",
147
+ annotations: {
148
+ title: "Scan Job Board Keywords",
149
+ readOnlyHint: true,
150
+ destructiveHint: false,
151
+ idempotentHint: true,
152
+ openWorldHint: true,
153
+ },
154
+ inputSchema: {
155
+ company_domain: z.string().describe("Bare company domain, e.g. stripe.com"),
156
+ role_categories: z
157
+ .array(z.string())
158
+ .describe("One or more of: GTM, Engineering, Finance, Operations, Executive, Custom."),
159
+ custom_keywords: z
160
+ .array(z.string())
161
+ .optional()
162
+ .describe("Keyword strings to match when Custom is included in role_categories."),
163
+ enable_fallback: z
164
+ .boolean()
165
+ .optional()
166
+ .describe("Fall back to a pre-indexed job database when the live ATS cascade finds nothing."),
167
+ previous_roles_detected: z
168
+ .string()
169
+ .optional()
170
+ .describe("Comma-separated matched role titles from a previous run, to compute deltas."),
171
+ previous_run_date: z.string().optional().describe("ISO date of the previous run, e.g. 2026-03-15."),
172
+ },
173
+ }, async ({ company_domain, role_categories, custom_keywords, enable_fallback, previous_roles_detected, previous_run_date, }) => runActor("4DvqpvhMR74NLcDDY", "Job Board Keyword Signal Scanner", compact({
128
174
  company_domain,
129
175
  role_categories,
130
176
  custom_keywords,
@@ -133,12 +179,23 @@ server.tool("scan_job_board_keywords", "Scan a company's job board for roles in
133
179
  previous_run_date,
134
180
  })));
135
181
  // 5. Domain to LinkedIn URL Resolver
136
- 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.", {
137
- company_domain: z
138
- .string()
139
- .optional()
140
- .describe("Bare company domain, e.g. stripe.com. Required if company_name is not provided."),
141
- company_name: z.string().optional().describe("Company name. Required if company_domain is not provided."),
182
+ server.registerTool("resolve_linkedin_url", {
183
+ title: "Resolve LinkedIn URL",
184
+ 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.",
185
+ annotations: {
186
+ title: "Resolve LinkedIn URL",
187
+ readOnlyHint: true,
188
+ destructiveHint: false,
189
+ idempotentHint: true,
190
+ openWorldHint: true,
191
+ },
192
+ inputSchema: {
193
+ company_domain: z
194
+ .string()
195
+ .optional()
196
+ .describe("Bare company domain, e.g. stripe.com. Required if company_name is not provided."),
197
+ company_name: z.string().optional().describe("Company name. Required if company_domain is not provided."),
198
+ },
142
199
  }, async ({ company_domain, company_name }) => {
143
200
  if ((company_domain === undefined || company_domain === "") &&
144
201
  (company_name === undefined || company_name === "")) {
@@ -147,29 +204,40 @@ server.tool("resolve_linkedin_url", "Resolve a company domain or name to its Lin
147
204
  content: [{ type: "text", text: "Provide at least one of company_domain or company_name." }],
148
205
  };
149
206
  }
150
- return runActor("mambalabs~domain-to-linkedin-url-resolver", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name }));
207
+ return runActor("3HtnSaqPHOg1Qg5gx", "Domain to LinkedIn URL Resolver", compact({ company_domain, company_name }));
151
208
  });
152
209
  // 6. ICP Fit Scorer (single-company scoring surface)
153
- 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).", {
154
- company_domain: z.string().describe("The primary domain of the company to score, e.g. clay.com"),
155
- company_name: z.string().optional().describe("Optional display name of the company."),
156
- template: z.string().optional().describe("Name of a prebuilt scoring config."),
157
- scoring_config: z.record(z.any()).optional().describe("JSON object of scoring weights."),
158
- icp_description: z
159
- .string()
160
- .optional()
161
- .describe("Plain-English ICP description. Requires llm_api_key."),
162
- llm_api_key: z.string().optional().describe("Your OpenAI or Anthropic key, used only with icp_description."),
163
- llm_provider: z.string().optional().describe("LLM provider for icp_description: openai or anthropic."),
164
- fetch_signals: z
165
- .boolean()
166
- .optional()
167
- .describe("If true, the actor fetches hiring and tech-stack signals automatically before scoring."),
168
- include_explanation: z
169
- .boolean()
170
- .optional()
171
- .describe("If true, adds a score_explanation string to the output."),
172
- }, async (args) => runActor("mambalabs~icp-fit-scorer", "ICP Fit Scorer", compact({
210
+ server.registerTool("score_icp_fit", {
211
+ title: "Score ICP Fit",
212
+ 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.",
213
+ annotations: {
214
+ title: "Score ICP Fit",
215
+ readOnlyHint: true,
216
+ destructiveHint: false,
217
+ idempotentHint: true,
218
+ openWorldHint: true,
219
+ },
220
+ inputSchema: {
221
+ company_domain: z.string().describe("The primary domain of the company to score, e.g. clay.com"),
222
+ company_name: z.string().optional().describe("Optional display name of the company."),
223
+ template: z.string().optional().describe("Name of a prebuilt scoring config."),
224
+ scoring_config: z.record(z.any()).optional().describe("JSON object of scoring weights."),
225
+ icp_description: z
226
+ .string()
227
+ .optional()
228
+ .describe("Plain-English ICP description. Requires llm_api_key."),
229
+ llm_api_key: z.string().optional().describe("Your OpenAI or Anthropic key, used only with icp_description."),
230
+ llm_provider: z.string().optional().describe("LLM provider for icp_description: openai or anthropic."),
231
+ fetch_signals: z
232
+ .boolean()
233
+ .optional()
234
+ .describe("If true, the actor fetches hiring and tech-stack signals automatically before scoring."),
235
+ include_explanation: z
236
+ .boolean()
237
+ .optional()
238
+ .describe("If true, adds a score_explanation string to the output."),
239
+ },
240
+ }, async (args) => runActor("W161DT8W4kW55dMFh", "ICP Fit Scorer", compact({
173
241
  company_domain: args.company_domain,
174
242
  company_name: args.company_name,
175
243
  template: args.template,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mambalabsdev/mcp-gtm-suite",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
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": {