Motorical SMTP MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Motorical is a transactional email API and SMTP provider. A "Motor Block" is an isolated sending stream with its own reputation and rate limits; most operations are scoped to one Motor Block, identified by its UUID. Domains must be verified (SPF + DKIM) before mail from them will be accepted. IMPORTANT: a successful send returns 202 Accepted. That means the message was ACCEPTED FOR DELIVERY -- it is NOT delivered. Delivery, bounce or deferral is decided seconds to hours later. Never tell a user a message was delivered on the strength of a 202; check the message status before making any claim about the outcome. Use dryRun:true when composing a new send. When you give the person a link (sign-in, consent, dashboard, upgrade), present it as a short markdown link with a plain label, for example Create your Motorical account, say in one sentence what they will see there, and never paste the bare URL on its own line.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| motorical_get_send_statusA | Check Motorical transactional email HTTP Send API status. No auth required. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows). |
| motorical_mint_public_tokenA | 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. |
| motorical_list_motor_blocksA | 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). |
| motorical_motor_block_listA | 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). |
| motorical_motor_block_createA | 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). |
| motorical_motor_block_renameA | 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). |
| motorical_motor_block_change_typeA | 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). |
| motorical_motor_block_assign_domainA | 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). |
| motorical_motor_block_deactivateA | 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). |
| motorical_motor_block_reactivateA | 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). |
| motorical_motor_block_deleteA | 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). |
| motorical_motor_block_delete_statusA | 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). |
| 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 |
| motorical_wait_for_outcomeA | 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). |
| motorical_get_messageA | Get a message by send UUID. Auto-mints bearer if needed. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows). |
| motorical_get_message_eventsB | Get delivery lifecycle events for a message. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows). |
| motorical_sandbox_statusA | 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). |
| motorical_sandbox_allowlist_requestA | 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. |
| motorical_sandbox_allowlist_confirmA | 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. |
| motorical_sandbox_provisionA | 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). |
| motorical_sandbox_convertA | 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). |
| motorical_free_recipient_addA | 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). |
| motorical_free_recipient_listA | 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). |
| motorical_free_recipient_removeA | 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). |
| motorical_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). |
| motorical_domain_listA | 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). |
| motorical_domain_getA | 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). |
| motorical_domain_dns_recordsA | 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). |
| motorical_domain_healthA | 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). |
| motorical_domain_verifyA | 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). |
| motorical_domain_check_dnsA | 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). |
| motorical_web_handoffA | 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. |
| motorical_get_overviewA | 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). |
| motorical_get_daily_summaryA | 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). |
| motorical_get_metricsB | 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). |
| motorical_get_deliverabilityB | Deliverability broken down by recipient domain. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows). |
| motorical_get_reputationA | 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). |
| motorical_get_anomaliesA | 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). |
| motorical_get_providersA | 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). |
| motorical_get_error_codesA | 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). |
| motorical_get_rate_limitsA | Current hourly and daily send usage against this Motor Block's limits. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows). |
| motorical_get_account_rate_limitsA | 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). |
| motorical_get_onboarding_stateA | 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). |
| motorical_whoamiA | 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. |
| motorical_get_logsA | 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). |
| motorical_get_message_by_smtp_idA | 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). |
| motorical_get_configA | 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). |
| motorical_get_domain_healthA | 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). |
| motorical_webhook_listA | List webhook endpoints registered on one Motor Block. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows). |
| motorical_webhook_createA | 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). |
| motorical_webhook_updateA | 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). |
| motorical_webhook_deleteA | Delete a webhook endpoint. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows). |
| motorical_webhook_testA | Send a synthetic test delivery to a webhook endpoint. Requires OAuth scope: manage:webhooks (see motorical_whoami for what it allows). |
| motorical_webhook_get_deliveriesA | Recent delivery attempts for one webhook endpoint. Requires OAuth scope: read:webhooks (see motorical_whoami for what it allows). |
| motorical_webhook_get_statsA | 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). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| motorical_integrate_send | Guidance for integrating Motorical transactional email (HTTP Send) safely |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| motorical-llms.txt | Motorical llms.txt — transactional email API discovery index for agents |
| motorical-llms-full.txt | Motorical llms-full.txt — the full documentation text for agents |
| motorical-openapi | Motorical OpenAPI snapshot from docs.motorical.com |
| motorical-plans | The current plans, live: name, price, email limits, Motor Blocks, trial, and whether the plan includes marketing email. Always read this before quoting a plan or a price. |
| motorical-agent-hub | Motorical Agent Hub — route chooser, rulebook, and journeys, from docs.motorical.com/agents |
| motorical-agent-playbook | Machine-readable twin of the Agent Hub: journeys, scopes, human-required flags, stop conditions |
| account-state | Composed account readiness: stage, ready_to_send, blockers, and next_action. |
TDQS
Scored across 55 tools
Several tool pairs overlap heavily: motorical_list_motor_blocks vs motorical_motor_block_list, motorical_domain_health vs motorical_get_domain_health, and motorical_get_rate_limits vs motorical_get_account_rate_limits. The descriptions try to explain the differences, but an agent must read long caveats to choose correctly, and sandbox allowlist tools duplicate free_recipient_add.
There is a common motorical_ prefix, but conventions are mixed: verb_noun (get_message, send_email), noun_verb (motor_block_list, sandbox_provision, webhook_delete), and noun-only groups. Pairs like list_motor_blocks and motor_block_list use opposite order for nearly the same concept, which is error-prone.
55 tools is far too many for an SMTP/email API surface and includes near-duplicate analytics and lookup endpoints. The set feels like several servers concatenated (documents, sandbox, analytics, webhooks, blocks) rather than a tightly scoped toolset.
Coverage is broad—sending, domains, blocks, webhooks, analytics, logs, and sandbox lifecycle—but there are notable gaps such as domain deletion/update and direct message listing beyond logs. The surface is large but uneven, with some lifecycle steps missing while other areas are over-served.