Motorical SMTP MCP Server
Motorical packages
Public source for Motorical’s agent/developer tooling published on npm.
Agents: start here. docs.motorical.com/agents has the route chooser, rulebook, and journeys for every situation — machine twin at docs.motorical.com/agents.json.
Most agents should not install anything. If your client supports remote MCP servers with OAuth (Claude Code, Cursor, Claude.ai connectors), connect the hosted server — no install, no keys held by the agent: docs.motorical.com/ai-mcp-hosted. Use the local package below only when your client cannot do remote OAuth, when you need the dashboard-session-only tools, or for headless automation with API keys. Writing code that sends mail needs no package: see docs.motorical.com/ai.
Package | npm | Docs |
| ||
| — |
@motorical/cli is retired for now and is no longer documented or supported; its source is kept, frozen, in packages/motorical-cli/. Use the hosted MCP server or the REST API instead.
Examples
Runnable transactional-email examples (HTTP send, SMTP with Nodemailer, webhook verification, Python, a
Next.js contact form) live in examples/. The HTTP send examples default to dryRun: true.
Related MCP server: mailtarget
Install
npm install -g @motorical/mcp
npm install @motorical/scope-catalogOr from this repo:
cd packages/motorical-mcp && npm install -g .
cd ../motorical-scope-catalog && npm install .Layout
packages/
motorical-cli/ # retired, source frozen (not published, not supported)
motorical-mcp/ # MCP server for Cursor / Claude Desktop
motorical-scope-catalog/ # OAuth/MCP scope metadata library, no bin — a dependency, not a toolDocs for agents
This repository is not the Motorical API backend. It only contains public packages meant to be installed or depended on outside Motorical's own infrastructure.
Every package here is a release-time mirror, not the dev source
Each package directory here is synced from Motorical's internal development repository
at release time — this is not where day-to-day development happens for any of them.
If you're looking to contribute, please open an issue first rather than sending a PR
directly against the source here; fixes made directly in this repo can be overwritten by
the next sync. Each package has its own publish workflow
(.github/workflows/publish-motorical-mcp.yml, publish-motorical-cli.yml (disabled: package retired),
publish-motorical-scope-catalog.yml) and its own npmjs.com trusted-publisher
registration; they don't share either. Publishing uses npm's OIDC trusted-publisher flow
— no long-lived npm token is stored anywhere in this repo or its workflows — and produces
a signed provenance attestation
visible on each package's npm page.
One field is intentionally different between each package's two copies of
package.json: repository.url here points at this repo, reflecting where the package
was actually built and published from (bugs.url is left pointing at the internal dev
repo on every package here, including the two pre-existing ones — despite what an earlier
version of this README claimed, that field was never actually changed during a sync).
Repository security settings
Branch protection on
main: force-pushes and branch deletion are blocked. Direct push tomainis allowed for maintainers — releases are pushed directly rather than through a PR, so required-review is deliberately not enabled.Secret scanning + push protection: enabled.
Dependabot security updates: enabled (vulnerability alerts also on).
sha_pinning_required: trueat the repo level (Settings → Actions → General) — every workflow here pins its actions to commit SHAs rather than mutable tags.
License
MIT. See LICENSE. The license covers the code in this repository, not the Motorical name or logo.
Available Tools
55 toolsmotorical_domain_addA
Add a customer domain. Returns verification DNS instructions. For cname_managed DKIM publish the CNAME in verification.records.dkim / dnsRecords (not a TXT p= key). On 409 (domain already registered), call motorical_domain_list first to check whether it is already on this account before asking the user to resolve the conflict. A Free account may have one domain; adding another returns free_domain_limit with a nextAction. Over hosted OAuth it needs the manage:domains scope; the local server uses MOTORICAL_JWT. Requires OAuth scope: manage:domains (see motorical_whoami for what it allows).
Inputs: domain (required), motorBlockId, idempotencyKey, verificationMethod.
motorical_domain_check_dnsAIdempotent
Live-check DKIM/SPF/DMARC and persist dkim_configured/spf_configured. Required before /v1/send when ownership is verified but send returns DOMAIN_DNS_INCOMPLETE. Over hosted OAuth it needs the manage:domains scope; the local server uses MOTORICAL_JWT. Requires OAuth scope: manage:domains (see motorical_whoami for what it allows).
Inputs: domainId (required), recordType, motorBlockId.
motorical_domain_dns_recordsARead-onlyIdempotent
The DNS records to publish for one domain, with what each is for. Pass lookup:true to also check what DNS currently answers (slower: live lookups). Read-only. Over hosted OAuth it needs the read:domains scope. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: domainId (required), lookup, motorBlockId.
motorical_domain_getARead-onlyIdempotent
One domain on this account by id: verified, DNS auth flags, DKIM mode, created. Read-only; no keys or tokens. Over hosted OAuth it needs the read:domains scope. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: domainId (required), motorBlockId.
motorical_domain_healthARead-onlyIdempotent
Email-authentication health of ONE domain by id: SPF, DKIM, DMARC, status, issues, and whether the answer is cached (source). Works for a domain that has no Motor Block yet. Same shape as motorical_get_domain_health, which answers for the domain attached to one Motor Block. Pass refresh:true for a live DNS check (slower). A result with source "cache_stale" or refreshing:true is the last stored check (cacheAgeSeconds says how old; can be days): a recheck has started, so read again in about ten seconds or pass refresh:true. dmarc.policy is not reported yet (always null); dmarc.configured says whether a record exists. Read-only. Over hosted OAuth it needs the read:domains scope. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: domainId (required), refresh, motorBlockId.
motorical_domain_listARead-onlyIdempotent
List domains already on this account — id, domain, verified, DNS auth flags. Call this before motorical_domain_add on a 409 conflict to self-diagnose whether the domain is already yours (proceed with the existing id) or genuinely owned by someone else (stop, do not guess). Over hosted OAuth it needs the read:domains scope; the local server uses MOTORICAL_JWT. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_domain_verifyADestructive
Verify domain ownership and refresh DKIM/SPF/DMARC send-readiness flags. Requires confirm:true — this call is destructive/consequential. Returns sendReady. Over hosted OAuth it needs the manage:domains scope; the local server uses MOTORICAL_JWT. Requires OAuth scope: manage:domains (see motorical_whoami for what it allows).
Inputs: domainId (required), method, confirm, motorBlockId.
motorical_free_recipient_add
Ask a person to allow test email from this account. Sends them a confirmation email with a link; THEY must open it and click the button, and this tool never confirms on their behalf. Until they confirm, a sandbox allowlist refuses sends to that address, and so do the non-sandbox Motor Blocks of a Free account (when Free enforcement is on); a paid account is not affected. Their address is then also allowed for the sandbox. A recipient who clicked "stop" cannot be re-requested; the response is identical either way. The response includes data.recipient with the address and its status (pending until they click, or confirmed if already confirmed); a person must still click the emailed link. Requires OAuth scope manage:recipients (separate from manage:sandbox; an existing sandbox authorization must be re-approved to include it). Requires OAuth scope: manage:recipients (see motorical_whoami for what it allows).
Inputs: email (required).
motorical_free_recipient_listRead-onlyIdempotent
List the addresses this account has asked to allow test email, with each status (pending, confirmed or stopped), the recipient limit and current usage. The hourly, daily and monthly numbers are the Free-plan caps for non-sandbox Motor Blocks (see limitsNote in the response); a sandbox Motor Block is governed by the sandbox caps shown in motorical_sandbox_status. Requires OAuth scope manage:recipients. Requires OAuth scope: manage:recipients (see motorical_whoami for what it allows).
Inputs: no named parameters.
motorical_free_recipient_removeDestructiveIdempotent
Remove an address from this account's test recipients, by the id returned from motorical_free_recipient_list. Requires OAuth scope manage:recipients. Requires OAuth scope: manage:recipients (see motorical_whoami for what it allows).
Inputs: id (required), confirm.
motorical_get_account_rate_limitsARead-onlyIdempotent
Account-wide send ceiling and current usage across every Motor Block (GET /api/public/v1/account/rate-limits). Account-scoped: no Motor Block needed. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_anomaliesARead-onlyIdempotent
Detected sending anomalies for one Motor Block — volume spikes, bounce surges, unusual patterns. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_configARead-onlyIdempotent
Configuration of one Motor Block — its sending domain, limits (as configured) and effectiveLimits (what is enforced now: dailyVolume, hourlyRate and burstLimit, the lower of configured and any reputation throttle, with defaults filled in; burstLimit is a short-window cap that applies to every block even when not configured), delivery settings, and activeAuthMethod ("Password"/"API Key"/"OAuth 2.0"/"mTLS", read-only -- changing it is dashboard-only). Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_daily_summaryARead-onlyIdempotent
Per-day send counts and outcomes for one Motor Block. Rates use the same finalized-recipient definition as motorical_get_overview (rateBasis says so); days with no sends are not returned. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: days, motorBlockId.
motorical_get_deliverabilityBRead-onlyIdempotent
Deliverability broken down by recipient domain. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, limit, motorBlockId.
motorical_get_domain_healthARead-onlyIdempotent
DNS and email-authentication health for the Motor Block's sending domain — SPF, DKIM, DMARC, MX. This is a set-up status, not a score, and it is separate from the delivery reputation score (motorical_get_reputation), which measures delivery outcomes. A result with source "cache_stale" or refreshing:true is the last stored check (cacheAgeSeconds says how old; can be days): a recheck has started, so read again in about ten seconds or pass refresh:true. dmarc.policy is not reported yet (always null); dmarc.configured says whether a record exists. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: refresh, motorBlockId.
motorical_get_error_codesARead-onlyIdempotent
SMTP error codes seen for one Motor Block, with counts and a specific diagnosis for each. Each row has the code, its count, a label and hint saying what it means and what to do, cause (the platform bounce bucket, for example recipient_invalid or policy_block_auth), retryable (temporary failures are retried by the platform), suggestedAction (none, retry, remove or investigate) and lookup. The stored code is basic (550), enhanced (5.7.1) or a bucket (200 accepted with the exact reply not recorded, which includes delivery to a Motorical-hosted mailbox; 400 and 500 when the exact code was not recorded). Counts are the same rows motorical_get_logs returns: to see the messages behind a row, call motorical_get_logs with the row lookup (smtpCode) and read smtpResponse on one message. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, limit, motorBlockId.
motorical_get_logsARead-onlyIdempotent
Search send logs for one Motor Block. Paginate with cursor. Recipient addresses are masked unless the token carries logs.pii, which OAuth tokens never do. To find failures by cause use smtpCode: the stored code is whatever the receiving server reported, in either form (basic like 550 or enhanced like 5.7.1), so a class such as 5xx (all permanent failures), 4xx (all temporary ones) or a group such as 5.7.x (policy and reputation blocks) is usually what you want; an exact code matches only that exact form. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, limit, query, +5 more.
motorical_get_messageARead-onlyIdempotent
Get a message by send UUID. Auto-mints bearer if needed. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: messageId (required), includePII, motorBlockId. Returns: data, success
motorical_get_message_by_smtp_idARead-onlyIdempotent
Look up one message by its SMTP Message-ID header. This is a lookup, not a listing: an exact id is required and at most one message is returned. Use motorical_get_message when you have the internal send UUID instead. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: smtpMessageId (required), includePII, motorBlockId.
motorical_get_message_eventsBRead-onlyIdempotent
Get delivery lifecycle events for a message. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: messageId (required), includePII, motorBlockId. Returns: data, success
motorical_get_metricsBRead-onlyIdempotent
Time-series send metrics for one Motor Block, bucketed by hour or day. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, interval, motorBlockId.
motorical_get_onboarding_stateARead-onlyIdempotent
Where this account stands right now: stage, whether it can actually send (ready_to_send), what's blocking it, and the one next tool to call to move forward (GET /api/public/v1/account/state). Account-scoped: no Motor Block needed. Each blocker carries humanRequired (a person must act) and, where there is one, a nextAction. For an account with no plan and no domain the response also lists two onboarding options, own_domain and sandbox_domain, and a choose rule for picking between them: state the choice and the reason, and the person may override. Confirming recipients by emailed link needs the manage:recipients scope; an existing authorization must be re-approved to include it. Requires OAuth scope: read:domains (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_overviewARead-onlyIdempotent
Sending overview for one Motor Block over a date range — volume, delivery and bounce rates, and current usage against plan limits. Rates are percentages of finalized recipients (accepted = delivered + processed + complained, plus bounced and failed); "processed" means the receiving server accepted the message, and queued or deferred recipients are counted as pending, not in the rates. totals.accepted, finalized and pending and rates.basis spell this out; generatedAt says when the figures were computed. Its reputation block is the same delivery reputation score as motorical_get_reputation. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, motorBlockId.
motorical_get_providersARead-onlyIdempotent
Send outcomes grouped by receiving mailbox provider. deliveryRate uses the same finalized-recipient definition as motorical_get_overview (accepted includes processed; rateBasis says so). Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: to, from, limit, motorBlockId.
motorical_get_rate_limitsARead-onlyIdempotent
Current hourly and daily send usage against this Motor Block's limits. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_reputationARead-onlyIdempotent
Delivery reputation score (0 to 100) for one Motor Block, computed on request from its delivery outcomes over windowDays (the token retention window): 100 minus penalties for bounced, complained and failed recipients. The response says what it is: kind, basis, formula and notTheSameAs. It is not the dashboard Health score (different formula and timeframe), not the internal score behind automatic throttling, and not domain health (SPF, DKIM, DMARC), so those numbers differ by design. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_get_send_statusARead-onlyIdempotent
Check Motorical transactional email HTTP Send API status. No auth required. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: no named parameters. Returns: data, message, success
motorical_list_motor_blocksARead-onlyIdempotent
List the Motor Blocks (isolated sending streams) this connection covers: id and name only, of every type, active or not (so marketing and companion blocks appear too). Use it to find a valid motorBlockId. For type, domain, status and management use motorical_motor_block_list (production blocks only); for the account-wide picture including inactive blocks use motorical_get_onboarding_state. Auto-mints a Public API token with ak_live_ on the local server if needed. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_mint_public_token
Mint a short-lived Public Analytics API bearer token using MOTORICAL_AK_API_KEY (ak_live_...) or, when none is configured, MOTORICAL_JWT. Use for /api/public/v1 logs, analytics, webhooks, config. Not for POST /v1/send.
Inputs: scopes, ttlSeconds, motorBlockId.
motorical_motor_block_assign_domainDestructiveIdempotent
Assign a different verified production domain to a Motor Block. The block is reactivated on the new domain; verify sendReady before sending. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: domainId (required), confirm, motorBlockId. Returns: data, message, success
motorical_motor_block_change_typeDestructiveIdempotent
Change a production Motor Block between transactional and general_purpose. This changes the intended traffic classification, not credentials. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: type (required), confirm, motorBlockId. Returns: data, message, success
motorical_motor_block_create
Create a production Motor Block on a verified customer domain. Use transactional for triggered, user-specific mail; use general_purpose for mixed operational sending. Hosted OAuth never returns passwords or API-key secrets. A UUID-v4 idempotencyKey makes retries return the original result. The domainId must be a verified, non-sandbox domain the account owns; a narrow Motor Blocks server cannot list or add domains, so get it from motorical_domain_list (on the main server, or the Domains server); add and verify one first with motorical_domain_add / motorical_domain_verify if the account has none. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: name (required), domainId (required), idempotencyKey (required), type, +1 more. Returns: data, message, success
motorical_motor_block_deactivateDestructiveIdempotent
Deactivate (pause) a production Motor Block. This is reversible and does not delete history or credentials; sending stops until reactivated. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: confirm, motorBlockId. Returns: data, message, success
motorical_motor_block_deleteDestructive
Permanently delete an inactive Motor Block asynchronously. This is irrecoverable. Set deleteHistory explicitly; then poll the returned job with motorical_motor_block_delete_status. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: deleteHistory (required), confirm, motorBlockId. Returns: data, message, success
motorical_motor_block_delete_statusRead-onlyIdempotent
Read the current state and final report for an asynchronous permanent Motor Block deletion job. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: jobId (required). Returns: data, success
motorical_motor_block_listRead-onlyIdempotent
List ordinary production Motor Blocks (isolated sending streams) this account can manage. Includes inactive blocks so they can be reactivated; excludes sandboxes, marketing, and portal-managed companion blocks, so its count can be lower than motorical_list_motor_blocks (which lists every block this connection covers, id and name only). Prefer this one when you need type, domain or status. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: no named parameters. Returns: data, success
motorical_motor_block_reactivateIdempotent
Reactivate a previously deactivated production Motor Block. A verified production domain is required. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: motorBlockId. Returns: data, message, success
motorical_motor_block_renameIdempotent
Rename a production Motor Block for display and organization. This never changes its SMTP username, password, API keys, or auth method. Requires OAuth scope: manage:motor-blocks (see motorical_whoami for what it allows).
Inputs: name (required), motorBlockId. Returns: data, message, success
motorical_sandbox_allowlist_confirm
NOT AVAILABLE over hosted OAuth (dashboard session only): use motorical_free_recipient_add instead. Confirm a sandbox allowlist recipient using the 6-digit code sent by motorical_sandbox_allowlist_request. On success the address is added to the allowlist and can receive real (non-dryRun) sandbox sends. Requires MOTORICAL_JWT. Requires OAuth scope: manage:sandbox (see motorical_whoami for what it allows). Needs a dashboard session, not OAuth — granting this scope does not make this tool callable over a hosted OAuth/Delegation connection.
Inputs: code (required), email (required).
motorical_sandbox_allowlist_request
NOT AVAILABLE over hosted OAuth (dashboard session only): use motorical_free_recipient_add instead. Request to add a new recipient to the developer sandbox outbound allowlist. Sends a 6-digit confirmation code to that address (not the account owner) — call motorical_sandbox_allowlist_confirm with the code the recipient receives. Requires MOTORICAL_JWT. Requires OAuth scope: manage:sandbox (see motorical_whoami for what it allows). Needs a dashboard session, not OAuth — granting this scope does not make this tool callable over a hosted OAuth/Delegation connection.
Inputs: email (required).
motorical_sandbox_convertDestructive
Convert sandbox Motor Block onto a verified customer domain (the target must be a verified real domain, never a .sandbox domain). A sandbox that already sits on your own verified domain converts onto that same domain, which needs no DNS change. Requires an active Motorical plan -- if none exists, this call throws with err.data.code === "subscription_required" and err.data.upgradeUrl naming where a human can subscribe; retry this same call once they have. If no sandbox exists yet (check motorical_sandbox_status first -- data.stage: "not_started"), call motorical_sandbox_provision instead; this endpoint returns 404 "No developer sandbox to convert" otherwise. The response always includes activeAuthMethod (the Motor Block's configured auth method -- "Password", "API Key", "OAuth 2.0", or "mTLS" -- read-only, changing it is dashboard-only). Conversion is a production identity transition: choose name/type or accept backend defaults; the SMTP username changes, so SMTP clients must be updated, while the existing SMTP password, API keys, and auth method remain unchanged. Over hosted OAuth it also includes credentialsLocation, a link to the dashboard where the customer can view or regenerate the actual credential value -- this tool never returns the raw value itself. Requires OAuth scope: manage:sandbox (see motorical_whoami for what it allows).
Inputs: domainId (required), name, type, confirm.
motorical_sandbox_provision
Provision the unpaid developer sandbox on a Motorical-owned .sandbox domain (Path 1: instant, no DNS) with an outbound-locked Motor Block. A Free account that adds and fully verifies its own domain (Path 2) gets a sandbox Motor Block on that domain automatically once DKIM and SPF pass, with no provisioning call, when automatic provisioning is enabled; if none appears on its own, call this tool (it creates one on the Motorical-owned domain). Over hosted OAuth, this NEVER returns credentials -- the response has credentialsAvailable:false instead. The new Motor Block is added to the live authorization and is immediately usable by explicit id, without refreshing an access token minted before provisioning. Credentials become available via a dashboard link after motorical_sandbox_convert. Only the local @motorical/mcp stdio server (dashboard-JWT auth) still returns mk_live_ once, since it is the customer's own long-running process on their own infrastructure -- securing whatever it returns is the customer's own responsibility on that path. Requires OAuth scope: manage:sandbox (see motorical_whoami for what it allows).
Inputs: handle, channel.
motorical_sandbox_statusRead-onlyIdempotent
Get developer sandbox status (domain, Motor Block, outbound lock, allowlist). Check data.stage to determine provisioning state: "not_started" (no sandbox yet — call motorical_sandbox_provision), "sandbox_active" (sandbox exists, outbound-locked), or "live" (converted to production, no lock). allowlist/caps are always present in the response regardless of stage — do not infer provisioning state from their presence. The allowlist is the EFFECTIVE list: sandbox recipients, link-confirmed recipients, the account address and the test sink, minus any address that clicked stop. domain.sandbox true means the Motorical-owned sandbox domain; domain.sandbox false means your own domain. outboundLocked true means real sends are limited to the allowlist, not that nothing can be sent; outboundLocked is null when no sandbox exists yet (nothing to lock). Requires OAuth scope: manage:sandbox (see motorical_whoami for what it allows).
Inputs: no named parameters.
motorical_send_emailA
Send a transactional email, or validate one first. Defaults to dryRun:true: a dry run returns the resolved from, subject, recipient count and body size, plus limits (burst, hourly and daily: used, limit, remaining, reset) and warnings (stable codes such as NO_TEXT_PART, SUBJECT_LONG, OVER_LIMIT, NEAR_LIMIT, THROTTLED), so "validated" is not read as "would work". Real sends require dryRun:false AND confirmRealSend:true. Over the hosted OAuth server your grant authorizes the send and you never see a key; the local stdio server instead needs MOTORICAL_MK_API_KEY (mk_live_...). A real send returns two different ids: messageId (use it with motorical_get_message and motorical_get_message_events) and nextAction.args.taskId (use it ONLY with motorical_wait_for_outcome). Neither works in the other tool. from must be an address at the domain your Motor Block is assigned to: a verified, send-ready domain you own, or the Motorical-owned sandbox domain from motorical_sandbox_provision (see motorical_get_onboarding_state sendFrom); any local part works. Sandbox accounts only: real sends go only to the effective allowlist (see motorical_sandbox_status); a non-allowlisted recipient is refused (403 sandbox_outbound_locked or sandbox_recipient_denied), never redirected, so unlock it with motorical_free_recipient_add first. Those two tools disappear once the account has a verified domain and an active plan, so ignore this sentence if you cannot see them. cc, bcc, replyTo, headers and attachments are optional; each field says its own limits and errors. Requires OAuth scope: send:transactional (see motorical_whoami for what it allows).
Inputs: to (required), subject (required), cc, bcc, +11 more. Returns: data, dryRun, status, message, +5 more
motorical_wait_for_outcomeARead-onlyIdempotent
Wait for a real send's actual delivery outcome (not just the 202 acceptance). Bounded server-side wait with backoff, capped under typical client timeouts. If the result is still_pending, wait retryAfterMs and call this again with the same taskId. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).
Inputs: taskId (required), includePII. Returns: result, status, retryAfterMs
motorical_web_handoff
Mint a one-time browser handoff URL. Open the URL so the human can set a dashboard password / use the UI. Requires MOTORICAL_JWT. Give the person the link as a short markdown link such as Open your Motorical dashboard, never as a bare long URL. The link is short-lived (the response has expiresInSeconds): open it right away; if it says expired, ask for a new link or sign in with your password.
Inputs: path.
motorical_webhook_create
Register a new webhook endpoint on one Motor Block. The response includes the full signing secret exactly once — store it immediately, it is only masked on every later read. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows).
Inputs: url (required), events, motorBlockId, idempotencyKey.
motorical_webhook_deleteDestructiveIdempotent
Delete a webhook endpoint. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows).
Inputs: webhookId (required), confirm, motorBlockId.
motorical_webhook_get_deliveriesRead-onlyIdempotent
Recent delivery attempts for one webhook endpoint. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows).
Inputs: webhookId (required), limit, motorBlockId.
motorical_webhook_get_statsRead-onlyIdempotent
Delivery success/failure counts and average latency for one webhook endpoint over a time window. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows).
Inputs: webhookId (required), hours, motorBlockId.
motorical_webhook_listRead-onlyIdempotent
List webhook endpoints registered on one Motor Block. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows).
Inputs: motorBlockId.
motorical_webhook_test
Send a synthetic test delivery to a webhook endpoint. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows).
Inputs: webhookId (required), motorBlockId.
motorical_webhook_updateIdempotent
Update a webhook endpoint's url, events, or enabled state. Only the fields you pass are changed. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows).
Inputs: webhookId (required), url, events, enabled, +2 more.
motorical_whoamiARead-onlyIdempotent
Who this connection is acting for: the account (id, owner email, name), its plan (name, status, hasSubscription), account.billing (price amount in minor units + currency + interval, trial end, current period end / next renewal date, cancelAtPeriodEnd and endsAt, this month's sends against the plan cap, and paymentMethod.status ok or failing; never invoices, receipts or card details; a field it cannot resolve is null with its reason under billing.unavailable) and, for an OAuth connection, the grant: the client, the scopes it holds, the Motor Blocks it covers, when it was granted, and canAdd (permissions it could still be given, with available:false where the plan does not allow it) plus addInDashboard, the page where the person adds them. Account-scoped: no Motor Block needed. grant is null when the call is not made over an OAuth grant. Over OAuth it needs no scope, so any connection can ask what it holds, and every server lists it. Use it instead of inferring scopes from the tool list.
Inputs: motorBlockId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Send and track transactional email, manage Motor Blocks and domains, and run campaigns.
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.
The first MCP server for physical mail: send postcards and letters, manage lists and campaigns.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Related MCP Servers
AlicenseDqualityBmaintenanceAn MCP server implementation that allows sending emails over MailPace's fast transactional email API.186 npm1MIT- AlicenseNot gradedqualityDmaintenanceMCP server for Mailtarget that exposes tools to discover and call management API endpoints and send transactional emails via the Transmission API.MIT

xmit-mcpofficial
FlicenseNot gradedqualityDmaintenanceRemote MCP server for the Transmit email platform, enabling email sending, contact management, template and campaign operations via natural language.-- FlicenseNot gradedqualityDmaintenanceMCP server for email management that enables reading, searching, drafting, replying to, and sending emails with thread-aware replies and draft-first safety, supporting Gmail API and IMAP/SMTP backends.-