EmailBison in Your Terminal.
Campaigns. Leads. Replies. Warmup. 157 commands. Every one doubles as an MCP tool.
emailbison-cli gives AI agents full programmatic control of EmailBison — the same platform built for cold email at scale. No wrappers. No SDKs. Just commands your agent can call.

Why emailbison-cli Exists
Without emailbison-cli
- No official CLI — agents need to build custom API wrappers for every endpoint
- Manual auth per request — no credential resolution strategy
- No MCP support — agents can’t call EmailBison as a native tool
- JSON output requires custom parsing logic for every endpoint
- Multi-workspace workflows require manual context switching
With emailbison-cli
- 157 commands covering the full EmailBison API surface
- 3-tier auth resolution: flag → env var → config file (
bison login) - Every command is also an MCP tool — plug into any AI agent
- JSON-first output — pipe to jq, save to files, feed to agents
- 1-minute setup, MIT licensed, base URL required (self-hosted)
Quick Start
1. Install
npm install -g emailbison-cli2. Set credentials
Note: EmailBison requires both an API key and a base URL. There is no default base URL — your instance URL is always required.
# Both vars are required for every request
export EMAILBISON_API_KEY=your_api_key_here
export EMAILBISON_BASE_URL=https://send.yourinstance.com3. Or use interactive login (saves to config)
# Stores credentials in ~/.emailbison/config.json
bison login4. Verify
bison campaigns list --pretty
# Returns your active campaigns as formatted JSON
bison accounts list --pretty
# Returns all sender accounts and their statusMCP Server Configuration
Add to your agent’s MCP settings. Both env vars are required.
Claude Desktop / Claude Code
// ~/.claude/mcp.json (or your MCP settings file)
{
"mcpServers": {
"emailbison": {
"command": "npx",
"args": ["emailbison-cli", "mcp"],
"env": {
"EMAILBISON_API_KEY": "your-api-key",
"EMAILBISON_BASE_URL": "https://send.yourinstance.com"
}
}
}
}Cursor
// .cursor/mcp.json
{
"mcpServers": {
"emailbison": {
"command": "npx",
"args": ["emailbison-cli", "mcp"],
"env": {
"EMAILBISON_API_KEY": "your-api-key",
"EMAILBISON_BASE_URL": "https://send.yourinstance.com"
}
}
}
}What emailbison-cli Gives Your Agent
Campaign Management
Create, configure, activate, pause, resume, archive, and duplicate campaigns. Full lifecycle control — multi-step sequences, A/B variants, timezone-aware scheduling — from a single command.
Lead Operations
Import, update, and bulk-upload leads via CSV. Manage status, blacklist contacts, and track the full lead lifecycle from first touch to reply.
Reply Handling
Manage a unified reply inbox. Reply, forward, and thread conversations. Classify interest levels and trigger automations — your agent handles every inbound message.
Email Accounts
Add, update, and remove sender accounts with IMAP/SMTP validation and MX record checks. Control warmup limits, pause accounts, and monitor deliverability health across your full sending infrastructure.
Blacklists, Tags & Webhooks
Manage email and domain blacklists. Apply custom tags to campaigns, leads, and accounts. Subscribe to real-time webhook events — opens, replies, bounces — for event-driven agent workflows.
MCP Server
Every command is exposed as an MCP tool. Claude, Cursor, OpenClaw, and any MCP client can call all 157 commands. Requires EMAILBISON_API_KEY and EMAILBISON_BASE_URL — both are required for every request.
Agent Workflows
Real prompts agents use to run EmailBison end-to-end.
Launch a Campaign from Scratch
Agent Prompt
“Launch a new cold email campaign targeting SaaS founders in the US. Import my lead list, set up weekday sending, and activate it.”
Your agent creates the campaign, configures a timezone-aware schedule, imports the lead CSV, attaches multi-step sequences, activates sending, and verifies delivery — full launch in one autonomous run.
bison campaigns create --name "Q2 SaaS Founders Outreach"Create the campaign shell
bison campaigns configure $ID --timezone "America/New_York" --days "1,2,3,4,5"Set weekday sending in EST
bison leads import --campaign-id $ID --file leads.csvBulk-import leads via CSV
bison campaigns set-sequences $ID --sequences '[...]'Attach multi-step email sequences
bison campaigns activate $IDGo live — emails start sending
bison campaigns status $IDVerify delivery is flowing
Monitor and Triage the Reply Inbox
Agent Prompt
“Check my inbox. Flag anyone who replied with interest, move unsubscribes to the blacklist, and forward any hot leads to me.”
Agent reads the unified inbox, classifies each reply, blacklists opt-outs, and escalates interested prospects — inbox zero with autonomous triage.
bison replies list --status unread --prettyPull all unread replies from inbox
bison replies classify $REPLY_ID --interest highFlag interested prospects
bison blacklists add-email $EMAILBlacklist any opt-out or unsubscribe
bison replies forward $REPLY_ID --to you@company.comForward hot leads for human follow-up
Infrastructure Health Check
Agent Prompt
“Check my sending infrastructure. Flag any accounts with connectivity issues, pause the bad ones, and report warmup status.”
Agent validates IMAP/SMTP connectivity across all accounts, pauses any that fail MX checks, and surfaces warmup progress — proactive infrastructure monitoring, automated.
bison accounts list --prettyList all sender accounts and status
bison accounts validate $ACCOUNT_IDTest IMAP/SMTP + MX for each account
bison accounts pause $ACCOUNT_IDPause accounts failing connectivity checks
bison warmup status --prettyPull warmup progress across all accounts
Multi-Workspace Campaign Rollout
Agent Prompt
“Roll out this week's campaign across all active workspaces. Each workspace should get its own campaign with the same template.”
Agent lists all workspaces, switches context to each one, and creates matching campaigns — enabling a coordinated rollout across your entire EmailBison organization.
bison workspaces list --prettyEnumerate all active workspaces
bison workspaces switch $WORKSPACE_IDSwitch context to workspace
bison campaigns create --name "Week 11 Outreach" --template-id $TPLCreate campaign from template in each workspace
bison campaigns activate $IDActivate per workspace
bison webhooks list --prettyVerify event subscriptions are firing
Command Groups
Campaigns
36 commandsFull campaign lifecycle — create, configure, activate, pause, archive, duplicate, sequences, scheduling
Leads
18 commandsImport, update, bulk CSV upload, status management, blacklisting, lifecycle tracking
Replies
14 commandsUnified inbox, reply, forward, thread management, interest classification, automations
Email Accounts
13 commandsAdd/remove senders, IMAP/SMTP validation, MX checks, warmup limits
Blacklists
10 commandsEmail and domain blacklist management for compliance and bounce prevention
Tags
10 commandsCustom tagging across campaigns, leads, and accounts for segmentation
Warmup
5 commandsAccount warmup status, enable/disable, configure daily limits
Webhooks
8 commandsCreate and manage webhook subscriptions; test payload delivery for real-time events
Workspaces
15 commandsMulti-workspace management, team members, context switching for org-wide orchestration
Tracking Domains
4 commandsCustom tracking domain setup and validation

emailbison-cli Powers OpenClaw
OpenClaw uses emailbison-cli (alongside instantly-cli, clay-cli, and others) to orchestrate your full GTM motion autonomously. Set it up once, connect your tools, let it work.