cd /news/ai-agents/building-an-autonomous-mcp-lead-gene… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-13876] src=dev.to pub= topic=ai-agents verified=true sentiment=↑ positive

Building an Autonomous MCP Lead Generation System with Hermes Agent

A developer built an autonomous MCP lead generation system using Hermes Agent that runs daily on their own infrastructure. The system searches LinkedIn, Reddit, and ProductHunt for small-to-medium enterprises with legacy APIs, scores them on MCP readiness using a 13-question framework, and pre-audits their public API surfaces. On its first run, the system identified and analyzed two LATAM tech companiesβ€”Cobre and Truoraβ€”mapping their API endpoints and suggesting specific MCP tools to fill gaps in their developer ecosystems.

read4 min publishedMay 25, 2026

How I built a daily research pipeline with Hermes Agent that finds SMEs with legacy APIs, scores them on MCP readiness, and pre-audits their public API surface β€” all running autonomously on my own infrastructure.

MCP (Model Context Protocol) is the emerging standard for connecting legacy APIs, databases, and manual workflows to AI agents. But finding companies that actually need MCP integration β€” and that have the budget and readiness to act β€” is a manual, time-consuming sales process.

I'm constantly thinking about where to focus my help and services. My problem was simple: **I needed a way to find prospects daily without spending hours on LinkedIn and Reddit. My problem was simple: I needed a way to find prospects daily without spending hours on LinkedIn and Reddit.

Enter Hermes Agent.

A fully autonomous MCP Lead Generation & Pre-Audit System that runs daily on my own infrastructure:

The result is a daily pipeline of warm, pre-vetted leads β€” each one with a concrete MCP action plan ready to go.

I designed a 13-question scoring system based on four dimensions:

8+ points = High priority. 5-7 = Warm. 0-4 = Skip.

The system is a Hermes Agent cron job β€” a self-contained prompt that the agent executes on schedule. Here's how it works:

Hermes Agent launches parallel research tasks across multiple sources:

delegate_task(tasks=[
  {"goal": "Search LinkedIn for operations managers
            at SMEs mentioning 'tool sprawl'..."},
  {"goal": "Scan Reddit r/SaaS, r/smallbusiness
            for integration pain points..."},
  {"goal": "Check ProductHunt and tech blogs
            for companies with obvious API needs..."},
])

Each prospect is evaluated against the 13-point checklist. The agent reads company websites, checks their API docs, looks for GitHub repos, and builds a complete profile.

For companies with public API documentation or GitHub repos, the agent performs a deeper analysis:

This transforms a cold lead into a warm prospect with a concrete MCP proposal ready to present.

On its first run, the system found and pre-audited two LATAM tech companies:

Signal: API-first payments platform with fragmented client systems.

The agent found their API documentation, analyzed ~50 REST endpoints across 18 categories (accounts, payments, FX, checkouts), and identified 5 specific MCP tools that could be built:

cobre_crear_contraparte

β€” Register beneficiaries by country/railcobre_ejecutar_pago_local

β€” Execute SPEI/ACH/Bre-B paymentscobre_crear_cotizacion_fx

β€” Get FX quotes for cross-bordercobre_ejecutar_pago_internacional

β€” Execute international paymentscobre_consultar_estado_pago

β€” Track payment statusKey finding: Cobre already has an MCP server via Apidog β€” but a custom MCP server would be more powerful and fill their SDK gap (no Python/Node.js SDKs exist).

Signal: API-first identity verification with ~120 endpoints across 5 API families.

The agent mapped their entire API surface: Checks API (background checks), Digital Identity (document/facial verification), WhatsApp Engagement (chatbots), Business Rules Engine, and Validator Suite. Suggested 5 MCP tools:

truora_check_background

β€” Create background checks per countrytruora_get_check_result

β€” Get verification results with scorestruora_create_identity_process

β€” Start digital identity validationtruora_send_whatsapp_message

β€” Send WhatsApp via templatestruora_list_checks

β€” Query verification historyKey finding: Truora only has iOS SDKs β€” no Python, Node.js, or Go tooling. An MCP server would fill a critical gap in their developer ecosystem.

The heart of the system is a self-contained Hermes Agent cron job prompt. Here's the structure:

hermes cron create \
  --schedule "0 10 * * *" \
  --prompt "research prospects..."

The prompt instructs Hermes Agent to:

himalaya template send

cat << 'MAILDELIM' | himalaya template send
From: me@email.com
To: me@email.com
Subject: πŸ”Œ MCP Prospects β€” [DATE]

═══════════════════════════════════════
1. AUDIT NOW β€” Company Name
   πŸ”§ PRE-AUDIT: READY TO AUDIT
   API Docs: https://docs.example.com/
   ...
   πŸ› οΈ Suggested MCP tools:
   β€’ tool_name β€” what it does
═══════════════════════════════════════
MAILDELIM

I chose Hermes Agent for three reasons:

Autonomous research β€” The agent can browse, read, analyze, and make decisions without me in the loop. It's not a script β€” it reasons about what it finds.

Tool ecosystem β€” Hermes Agent's built-in browser, web search, and terminal tools let it navigate real websites, parse API docs, and interact with GitHub β€” just like a human researcher would.

Self-hosted β€” This runs on my own infrastructure. No API costs, no data leaks to third parties. The prospect data stays mine.

Cron jobs β€” The built-in scheduler means the system runs itself. I wake up to a fresh lead report every morning.

This system is already running daily. My roadmap includes:

If you're running Hermes Agent, you can build something similar in a few hours:

The hardest part isn't the technology β€” it's knowing what signals to look for. That's where your domain expertise comes in.

Built with Hermes Agent β€” the open-source agentic system that runs on your own infrastructure.

πŸ”— Full code and prompts: github.com/nujovich/hermes-mcp-lead-gen

Follow me on LinkedIn

── more in #ai-agents 4 stories Β· sorted by recency
── more on @hermes agent 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/building-an-autonomo…] indexed:0 read:4min 2026-05-25 Β· β€”