cheapinboxes-mcp
MCP server for managing cold-email infrastructure: buy domains via Porkbun, import them into CheapInboxes, provision Google/Microsoft mailboxes, and sync credentials to platforms like Instantly and Smartlead.
README
cheapinboxes-mcp
MCP server for the CheapInboxes API plus Porkbun domain buying — run the whole cold-email infrastructure pipeline from any MCP client (Claude Code, Cursor, Claude Desktop, …) instead of clicking through dashboards:
buy domains on Porkbun → import them into CheapInboxes → provision Google/Microsoft mailboxes → grab credentials / sync to Instantly, Smartlead, EmailBison, PlusVibe.
32 tools: 8 for Porkbun, 21 for CheapInboxes, two raw escape hatches that reach every endpoint of both APIs, and a runbook tool that teaches the model the end-to-end flow.
Setup
Requires Node 18+ (uses global fetch).
git clone https://github.com/cosankov/cheapinboxes-mcp.git
cd cheapinboxes-mcp
npm install
Keys
| Variable | Where to get it | Needed for |
|---|---|---|
CHEAPINBOXES_API_KEY |
CheapInboxes dashboard → Integrations → API | all ci_* tools |
PORKBUN_API_KEY + PORKBUN_SECRET_KEY |
porkbun.com → Account → API Access (enable API access per domain too) | all porkbun_* tools |
The two sides are independent — with only a CheapInboxes key the porkbun_* tools error cleanly and everything else works, and vice versa.
Keys are read from process.env first, then from the first .env file found: $CHEAPINBOXES_MCP_ENV → .env next to server.mjs. Easiest: copy your keys into a .env in the repo root (gitignored):
CHEAPINBOXES_API_KEY=ci_live_...
PORKBUN_API_KEY=pk1_...
PORKBUN_SECRET_KEY=sk1_...
Register with your MCP client
Claude Code / Cursor (.mcp.json):
{
"mcpServers": {
"cheapinboxes": {
"command": "node",
"args": ["/absolute/path/to/cheapinboxes-mcp/server.mjs"]
}
}
}
(Or pass the keys via the "env" block instead of a .env file.)
Verify
npm run smoke
Boots the server over stdio, lists all tools, live-pings Porkbun, and checks the CheapInboxes key — each side reports [OK] or a clean error telling you which key is missing.
The flow
Ask your MCP client to run the runbook tool, or follow it yourself:
porkbun_check_domainper candidate — availability + live price. Rate limit: 1 check / 10 s.porkbun_register_domain—dry_rundefaults to true (preview, no charge); passdry_run: falseto buy.cost_centsmust exactly match the checked price (Porkbun's own guard). Live runs auto-send anIdempotency-Key, so retries can't double-charge.ci_stage_importswith the purchased domains (source_provider: "porkbun").ci_quote— cart of{domain, tld, staged_import_id, mailboxes: {provider, count}}; imported domains are $0.ci_checkout— same cart with mailbox personas{first_name, last_name, email_prefix}; optionalintegration_idauto-connects mailboxes to a sending platform. Charges the card on file.- Poll
ci_list_domainswith the returnedorder_iduntil nameservers appear (orci_domain_nameserversper domain). porkbun_set_nameservers— point each domain at the CheapInboxes nameservers.- Poll
ci_get_domainuntilstatus: "active"(include_runs: trueadds provisioning-step history for debugging). ci_mailbox_credentialsfor logins (password, app password, IMAP/SMTP) orci_sync_integrationto push mailboxes to your sequencer.
Tool map
| Area | Tools |
|---|---|
| Guide | runbook |
| Porkbun | porkbun_ping, porkbun_pricing, porkbun_check_domain, porkbun_register_domain ⚠💰, porkbun_list_domains, porkbun_get_nameservers, porkbun_set_nameservers, porkbun_dns |
| CheapInboxes discovery | ci_org, ci_tld_pricing, ci_mailbox_pricing, ci_search_domains |
| Import → order | ci_stage_imports, ci_list_staged_imports, ci_remove_staged_import, ci_quote, ci_checkout ⚠💰, ci_get_order |
| Domains | ci_list_domains, ci_get_domain, ci_domain_nameservers |
| Mailboxes | ci_list_mailboxes, ci_get_mailbox, ci_mailbox_credentials 🔐, ci_create_mailboxes ⚠💰, ci_update_mailbox |
| Platform sync | ci_list_integrations, ci_sync_integration |
| Billing | ci_billing_summary |
| Escape hatches | ci_api (any CheapInboxes endpoint), porkbun_api (any Porkbun endpoint) |
⚠💰 = spends real money. 🔐 = returns secrets.
The escape hatches cover everything not curated: CheapInboxes DNS records, DMARC, forwarding, webhooks, cancellations, invoices, TOTP codes, org members; Porkbun SSL bundles, glue records, email forwarding, contacts, marketplace.
Safety rails
porkbun_register_domainpreviews by default; a purchase requires an explicitdry_run: false, an exactcost_centsmatch, and gets an idempotency key.ci_checkouthas no server-side dry run — always runci_quotefirst (identical cart shape, so it's a copy-paste).- Rate limits: CheapInboxes 120 req/min; Porkbun 1 availability check / 10 s, 1 registration attempt / 10 s, 50 registrations / day.
- Porkbun sandbox: use
pk1_sb_/sk1_sb_keys (andPORKBUN_BASE_URLif needed) to rehearse purchases with fake credit.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。