MetorialDocs

Set up ShipEngine in Metorial for Claude, ChatGPT and Cursor

Share ShipEngine with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 24 tools (12 read-only).

To give your team ShipEngine in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ShipEngine integration in a Metorial portal, and each person connects with an API key. Agents can validate addresses, compare carrier rates, purchase and void shipping labels, track packages, manage shipments and warehouses, discover carrier services, find service points, schedule pickups, create manifests, and download existing shipping documents. The integration has 24 tools, 12 read-only, 5 write and 7 destructive, plus 7 triggers.

What you'll learn

  • How an admin shares ShipEngine in a portal and how each person connects
  • What ShipEngine asks for when you connect, and where to find it
  • How to keep the 12 read-only tools and reject the other 12

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: ShipEngine API Key. Found on the API Keys page of your ShipEngine dashboard. Sandbox keys have a TEST_ prefix.

Setup settings

Setup also asks for:

  • baseUrl (optional): ShipEngine API base URL. Use the EU URL for European accounts. One of "https://api.shipengine.com", "https://api.eu.shipengine.com".

Admin: share ShipEngine in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose ShipEngine. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from ShipEngine.

Choose who gets it

Add the access groups that should see ShipEngine. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user ShipEngine integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search shipengine

Employee: connect ShipEngine

In the portal

Open ShipEngine in the catalog

Sign in to your portal and open ShipEngine. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search shipengine
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your ShipEngine connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list shipengine
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as list_labels and list_carriers, and lose the 5 write tools, such as get_rates or create_shipment, and the 7 destructive tools, such as void_label or create_label.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list shipengine
metorial tools <integration-id>
metorial call <integration-id> list_warehouses -d '{}'

metorial tools lists the 24 tools, minus any you rejected. list_warehouses takes no input. It lists all warehouse locations configured in your ShipEngine account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • list_warehouses: List all warehouse locations configured in your ShipEngine account.
  • estimate_rates: Get quick rate estimates with minimal address info (country, postal code). Needs toCountryCode and weight.
  • list_carriers: List all carrier accounts connected to your ShipEngine account.
  • validate_address: Validate one or more shipping addresses to ensure they are accurate and deliverable. Needs addresses.
  • recognize_address: Extract structured address data from unstructured text such as emails, SMS messages, support tickets, or other documents. Needs text.
  • list_shipments: Search and list shipments with filtering options including status, tags, date ranges, and batch ID.
  • find_service_points: Find carrier pick-up/drop-off (PUDO) locations near a given address or coordinates. Needs providers.
  • list_labels: Search and list shipping labels with filtering options including status, carrier, tracking number, and date ranges.
  • track_package: Get the current tracking status and full event history for a package.
  • download_shipping_document: Download an existing label or manifest without purchasing another label or submitting another manifest.
  • get_shipping_resource: Retrieve one existing label, shipment, warehouse, pickup, manifest or manifest request by its exact provider ID.
  • list_shipping_resources: List one page of existing pickups or manifests for recovery and operational history.

Write tools (5)

  • create_warehouse: Create a new warehouse location that can be used as a ship-from address on shipments and labels. Needs name and originAddress.
  • create_shipment: Create a new shipment with origin/destination addresses, package details, and optional carrier/service selection. Needs shipFrom, shipTo and packages.
  • update_shipment: Update an existing shipment's details such as addresses, packages, carrier, or service. Needs shipmentId.
  • get_rates: Compare shipping rates across carriers for a shipment. Needs shipFrom, shipTo and packages.
  • update_warehouse: Update an existing warehouse's name, origin address, or return address. Needs warehouseId.

Destructive tools (7)

  • create_label: Purchase a shipping label; production requests can charge your account.
  • delete_warehouse: Delete a warehouse location from your ShipEngine account. Needs warehouseId.
  • void_label: Void a previously created shipping label. Needs labelId.
  • cancel_shipment: Cancel an existing shipment by its ID. Needs shipmentId.
  • schedule_pickup: Schedule a carrier pickup for one or more shipment labels. Needs labelIds, contactName, contactPhone, pickupWindowStart and pickupWindowEnd.
  • create_manifest: Create carrier manifests or scan forms for existing labels. Needs carrierId.
  • cancel_pickup: Cancel a previously scheduled carrier pickup. Needs pickupId.

Triggers

ShipEngine has 7 triggers, which fire on events in ShipEngine:

  • tracking_update: Fires when a tracking status changes for a package (e.g., accepted, in transit, delivered, exception).
  • report_complete: Fires when a requested report has finished generating and is ready for download.
  • rate_updated: Fires when a shipment rate has been updated.
  • batch_completed: Fires when a batch label processing operation completes.
  • order_source_refresh_complete: Fires when a connected order source (e.g., a marketplace) has completed a refresh of its orders.
  • carrier_connected: Fires when a new carrier account is connected to your ShipEngine account.
  • sales_order_imported: Fires when sales orders are imported from a connected order source.

Next steps