MCP Automation Starter
# MCP Automation Starter
Zero-dependency **Model Context Protocol (MCP) server** that plugs B2B lead-handling automation straight into Claude Desktop, Claude Code, Cursor or any MCP client. Node 18+, no `npm install`, one file to extend.
## Tools included
| Tool | What it does |
|---|---|
| `score_lead` | Scores an inbound lead 0–100 (business domain, size, intent words EN/KO) → hot / warm / cold |
| `triage_leads` | Scores and sorts a whole batch, highest first |
| `draft_outreach` | Personalized cold/follow-up email in English or Korean |
| `to_csv` | Turns results into CSV for HubSpot / Sheets / Notion import |
## Run
```bash
npm test # 7 unit + end-to-end stdio tests
npm start # MCP server on stdio
```
## Connect to Claude Desktop / Claude Code
```json
{ "mcpServers": { "automation": { "command": "node", "args": ["/ABSOLUTE/PATH/src/server.js"] } } }
```
Claude Code: `claude mcp add automation -- node /ABSOLUTE/PATH/src/server.js`
Then ask: *"Triage these 40 leads, draft Korean outreach for the hot ones, and give me a CSV."*
## Extend for a client (typical 2-week engagement)
Add an object to `TOOLS` in `src/tools.js` with `name`, `description`, `inputSchema`, `run`. Common client add-ons: Gmail/Slack send, Google Sheets write, CRM sync, invoice OCR, Notion/Jira ticket creation.
## License
MIT for buyers. See `OFFER.md` for done-for-you service.
TDQS
Scored across 4 tools
score_lead and triage_leads both involve scoring leads, which creates mild overlap, but their descriptions clearly differentiate single-lead scoring from batch scoring/sorting. draft_outreach and to_csv are clearly distinct purposes.
All names use snake_case, and three of four follow verb_noun (score_lead, triage_leads, draft_outreach). to_csv deviates slightly with a preposition-based form rather than a verb, but it remains readable and conventional.
Four tools is small but each covers a coherent step in a lead-automation workflow (single score, batch triage, outreach drafting, CSV export). It feels slightly thin as a 'starter' but nothing is redundant.
The core pipeline of scoring, prioritizing, drafting outreach, and exporting to CSV is covered end to end. Minor gaps exist—no tool to retrieve or persist leads, and no send/delivery step—but these are workable for a stateless automation starter.