Loading
Forke Mail MCP tools
Sign up
DocsForke MailForke Mail MCP tools

Forke Mail

3 min read

Forke Mail MCP tools

Tools reference

These are the tools the MCP server and CLI offer right now. Every tool that changes something also accepts confirm_token and approval_id, which agents fill in after you confirm or approve.

ToolWhat it doesLevel
get_accountCurrent project, plan, credits and limits, warm-up status, verified sending domains and whether this connection uses a test key. Call this first.Runs directly
list_projectsProjects (workspaces) the signed-in user belongs to.Runs directly
switch_projectPoint this AI connection at another of the user's projects. Only for OAuth connections; API keys always belong to one project.Runs directly
send_emailSend one transactional email (sign-in link, receipt, notification). Use html and/or text, or a saved template with data. With a live key this delivers a real email, so it asks for confirmation. With a test key nothing is delivered.Asks you first with a live key; runs directly with a test key
get_emailStatus and content of one transactional email: queued, sent, delivered, bounced, complained, opened, clicked, or test.Runs directly
list_deliveriesRecent emails across transactional and broadcasts with their delivery status. Use it to answer why an email bounced or did not arrive.Runs directly
list_domainsSending domains and their verification status.Runs directly
add_domainAdd a domain to send from. Returns the DNS records (DKIM CNAMEs, SPF, DMARC) the user must add at their DNS provider. Then use check_domain.Runs directly
check_domainRe-check a domain's verification and DNS records, with exactly which record is missing.Runs directly
list_templatesSaved email templates with their variables.Runs directly
get_templateOne template with its HTML, text and variables.Runs directly
save_templateCreate a template, or update the one with the same name. Use {{variable}} for escaped values and {{{variable}}} for raw HTML. kind is transactional (always delivered) or marketing (skipped for unsubscribed contacts).Runs directly
delete_templateDelete a template. Emails or workflows using it will fail, so this asks for confirmation.Asks you first
list_contactsContacts in the project.Runs directly
upsert_contactCreate a contact or update their name, custom data and tags. Records a contact.saved event.Runs directly
track_eventRecord that a contact did something (user.signed_up, order.paid). Creates the contact if needed and starts any workflow triggered by this event, which may send emails.Runs directly
list_segmentsSaved audiences built from rules, with their size.Runs directly
create_segmentSave an audience from rules. Each rule is {"field","op","value"}; fields include email, first_name, last_name, status, tag, created_at, last_engaged_at, event, data.<field>. Use {"field":"group","op":"any"/"all","rules":[...]} for one nested group. Call call_api with POST /api/segments/preview to check the size first.Runs directly
create_broadcastCreate a newsletter or announcement as a draft. Nothing is sent until send_broadcast is approved by the user.Runs directly
send_broadcastLaunch a broadcast draft to its whole audience. Always needs the project owner's approval in the browser.Needs your approval in the browser
get_analyticsSent, delivered, opened, clicked, bounced and complaint numbers with rates, compared with the previous period.Runs directly
create_api_keyCreate an API key for the user's app. mode test (default) stores emails without delivering them; mode live sends for real. The key is shown once: tell the user to put it in an environment variable (FORKE_MAIL_API_KEY), never in code.Asks you first
call_apiCall any /api endpoint for things the other tools do not cover (workflows, topics, suppressions, team, webhooks, settings, campaigns, reports). Reading is free; risky changes ask for confirmation or approval. See the resource forke-mail://guide for the endpoint list.Depends on the endpoint (see Safety model)