Skip to main content

Mailhub MCP

Model Context Protocol (MCP) is the standard an AI assistant uses to reach operations outside its own conversation. Mailhub runs a remote MCP server at the Mailhub end of that connection. A tool is one operation the assistant can call; Mailhub publishes eight tools and nothing else.

The assistant acts as you — the Mailhub user who authorized it. It holds no API key and is not a separate machine identity, so your own roles and permissions still bound everything it does.

Is MCP the right choice?

Mailhub MCPMailhub API
CallerAn AI assistant acting as one signed-in userYour own application or service
CredentialBrowser authorization by that userAn account API key exchanged for a token
ReachThat user's roles and permissionsThe account the API key belongs to
Available operationsEight fixed toolsThe documented public operations
Built forInteractive work with a person presentUnattended system-to-system integration

If your code runs without a person in the loop, this is the wrong choice — use the API and start at How to start.

Can you connect?

To find out whether your intended assistant and environment can be used, ask through the support arrangement already in place for your Mailhub account; Developer Support explains what to include in that request.

How the objects fit together

Order → Shipment → Rate → Label.

  • An Order is the fulfillment record, and it carries the Shipment identifier the next step needs.
  • A Shipment is what gets rated. You rate it with its shipmentId.
  • A Rate is one carrier's price and service for that Shipment. You buy with its rateId.
  • A Label is the postage that purchase creates. Buying it also moves the Order on, and cancelling it uses the labelId.

The eight tools

ToolWhat it doesChanges data
mailhub_list_ordersPage through the account's OrdersNo
mailhub_get_orderRead one Order and its ShipmentNo
mailhub_create_orderCreate an OrderYes
mailhub_get_shipment_ratesGet carrier Rates for a ShipmentNo
mailhub_buy_labelBuy a Label for a chosen RateYes — spends wallet funds
mailhub_download_labelGet a link to a purchased LabelNo
mailhub_cancel_labelCancel a purchased LabelYes
mailhub_update_order_statusMove an Order to another statusYes

Each tool has its own page in the Tool Reference, with its exact inputs and what it returns. Limits & Current Scope covers what these eight tools do not do, and where that work belongs instead.

mailhub_buy_label is the only tool that spends money. All four changing tools are refused by the server unless the call carries an explicit confirmation — Confirmations & Spend Safety is the full account of that and of the spend limits around it.

You do not have to move an Order to Packed, or to any other status, before asking for Rates or buying a Label.

Start here