Skip to main content
Glama
GrowthPilot

GrowthPilot

by P-Suraj

๐Ÿš€ GrowthPilot โ€” Autonomous Customer Acquisition Platform

GrowthPilot is an AI-powered B2B outbound sales automation pipeline, exposed as an MCP (Model Context Protocol) server coupled with a premium, real-time reactive web dashboard.

By orchestrating multiple external APIs through a robust 7-stage self-correcting workflow, GrowthPilot transforms a simple goal like "Find SaaS companies in Bangalore with 20-100 employees" into qualified sales intelligence and personalized, audit-verified emails ready for outreach.


๐Ÿ”— Live Production URLs


Related MCP server: LeadClaw

โšก Quick Start for Judges (No Installation Required)

You do not need to install or run anything locally to test GrowthPilot:

  1. Open the Interactive Frontend URL.

  2. Enter a natural language goal in the input field, for example:

    "Find commercial printing businesses in Kerala interested in workflow automation"

  3. Click Run Campaign.

  4. Watch the multi-agent pipeline execute in real time across all 7 stages on the live NitroStack Cloud container.

  5. Once complete (~40 seconds), scroll down to see the leads. Click any card to expand the profile drawer to view the generated email copy and the quality audit score!


๐Ÿง  Why MCP? (The Composable Agent Difference)

Standard LLMs with "Deep Research" capabilities can browse the web and answer questions. GrowthPilot takes this further:

  • Task Accomplishment, Not Just Chat: Instead of conversational answers, it outputs structured, actionable business deliverables (validated leads + ready-to-send copy).

  • Self-Correcting Pipeline: A dedicated Critic Agent audits the output of the Drafting Agent, scoring it and automatically sending it back for revisions if it falls below our quality threshold.

  • Open Standard Composability: Because it's an MCP server, any compatible AI client (Claude Desktop, Cursor, ChatGPT, custom CLI tools) can plug directly into the GrowthPilot server and gain these B2B prospecting tools instantly.


๐Ÿ—๏ธ Architecture

graph TD
    A["๐ŸŽฏ User Goal Input"] --> B["๐Ÿ“‹ 1. Planner Agent (Gemini)"]
    B --> C["๐Ÿ” 2. Discovery Agent (Google Places API)"]
    C --> D["โœ… 3. Validator Agent (Rule-based Filter)"]
    D --> E["๐Ÿ”ฌ 4. Research Agent (Tavily Search API)"]
    E --> F["๐Ÿ“Š 5. Qualification Agent (Gemini)"]
    F --> G["โœ‰๏ธ 6. Drafting Agent (Gemini)"]
    G --> H["๐Ÿงช 7. Critic Agent (Gemini Audit)"]
    H -->|"Score < 0.8 (Up to 3 Revisions)"| G
    H -->|"Score >= 0.8"| I["๐Ÿš€ Ready Outbound Campaign"]

The 7-Stage Pipeline

  1. Planner: Parses user goals into structured campaign parameters (target industry, locations, filters).

  2. Discovery: Queries Google Places live for matching businesses.

  3. Validator: A zero-cost deterministic gate that filters out invalid industries, categories, or keywords.

  4. Research: Crawls the web and scrapes online presence using Tavily.

  5. Qualification: LLM-based scoring that assigns leads to High, Medium, or Borderline tiers based on fit.

  6. Draft: Generates hyper-personalized cold outreach emails.

  7. Critic: Audits emails for tone, placeholders, and length, revising automatically up to 3 times to hit a 0.8 quality score.


๐Ÿ› ๏ธ MCP Primitives Implemented

GrowthPilot provides a complete set of Model Context Protocol features:

  • Tools:

    • gp_run_pipeline: Orchestrates and runs the entire 7-stage campaign end-to-end.

  • Resources:

    • growthpilot://system/status: Exposes real-time server health and active providers.

  • Prompts:

    • gp_campaign_brainstorm: Assists users in brainstorming high-yield campaign goals based on their industry.


๐Ÿ’ป Local Development Setup

The repository is structured as a monorepo containing:

  • / (Root): The TypeScript + Node.js NitroStack MCP Server.

  • /ui: The React + Vite + TypeScript Frontend dashboard.

1. Backend Setup

  1. Clone the repository and install dependencies:

    npm install
  2. Create a .env file in the root based on .env.example:

    PORT=3000
    GEMINI_API_KEY=your_gemini_key
    TAVILY_API_KEY=your_tavily_key
    GOOGLE_MAPS_API_KEY=your_google_maps_key
    LIVE_MODE=true
  3. Build and start the development server:

    npm run dev
  4. (Optional) Run the test suite:

    npm run test

2. Frontend Setup

  1. Navigate to the /ui directory and install dependencies:

    cd ui
    npm install
  2. Start the Vite development server (configured to proxy /sse and /mcp to the backend on port 3000):

    npm run dev
  3. Open http://localhost:5173 in your browser.


๐Ÿ›ก๏ธ Security & Environment Credentials

  • Credentials for all live APIs (Gemini, Google Maps, Tavily) are securely handled at the environment level inside the NitroStack Cloud container. No raw keys are exposed to the browser or checked into source control.

  • Production builds compile cleanly with TypeScript ESM imports.

Available Tools

9 tools
gp_critique_draftB

Audits a cold email draft for placeholder flags, styling, and factual accuracy using Gemini API.

Inputs: draft (required), campaignId, researchTime.

gp_discover_companiesC

Searches for and discovers target companies matching the campaign parameters.

Inputs: campaign (required).

gp_generate_email_draftB

Generates a highly personalized cold sales email outreach draft for a lead using Gemini API reasoning.

Inputs: goal (required), score (required), company (required), research (required), +1 more.

gp_plan_campaignB

Processes a user goal (e.g. "Find SaaS companies in Bangalore with 20-100 employees") and plans the campaign parameters.

Inputs: goal (required).

gp_qualify_leadB

Calculates the sales qualification fit score for a discovered company using Gemini API reasoning.

Inputs: company (required), campaign (required), research (required).

gp_research_companyC

Runs deep web research on a specific company using Tavily search API.

Inputs: company (required).

gp_revise_draftB

Revises a cold email draft using the feedback and suggestions from a critique.

Inputs: draft (required), critique (required).

gp_run_pipelineB

Executes the entire GrowthPilot lead generation campaign pipeline end-to-end for a given user goal.

Inputs: goal (required).

pingA

A simple test tool that returns a pong message to verify the NitroStack server is operational.

Inputs: message.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A3.6/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clear and distinct purpose covering different steps in the lead generation pipeline, from planning to revision. No two tools have overlapping functionality.

    Naming Consistency5/5

    All tool names follow a consistent pattern: 'gp_' prefix plus verb_noun in snake_case, e.g., gp_plan_campaign, gp_discover_companies. This makes the tool set predictable and easy to navigate.

    Tool Count5/5

    With 9 tools, the server is well-scoped for its purpose. Each tool covers a necessary step in the pipeline without redundancy or bloat.

    Completeness4/5

    The tool set covers the main lifecycle of a lead generation campaign: planning, discovery, research, qualification, email generation, critique, and revision. A minor gap is the lack of a tool for sending emails or managing outcomes, but the core flow is well-covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server providing real-time access to comprehensive B2B company and contact data for lead generation and business intelligence. It enables AI tools to search firmographics, discover key contacts, and automate personalized outreach workflows.
      296
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server that enables AI agents to discover and qualify B2B leads from Leadbay's knowledge base, with tools for lead research, enrichment, and outreach logging.
      MIT