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
- A portal with at least one access group
- An API key from ShipEngine for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
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:
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
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.
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 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). NeedstoCountryCodeandweight.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. Needsaddresses.recognize_address: Extract structured address data from unstructured text such as emails, SMS messages, support tickets, or other documents. Needstext.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. Needsproviders.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. NeedsnameandoriginAddress.create_shipment: Create a new shipment with origin/destination addresses, package details, and optional carrier/service selection. NeedsshipFrom,shipToandpackages.update_shipment: Update an existing shipment's details such as addresses, packages, carrier, or service. NeedsshipmentId.get_rates: Compare shipping rates across carriers for a shipment. NeedsshipFrom,shipToandpackages.update_warehouse: Update an existing warehouse's name, origin address, or return address. NeedswarehouseId.
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. NeedswarehouseId.void_label: Void a previously created shipping label. NeedslabelId.cancel_shipment: Cancel an existing shipment by its ID. NeedsshipmentId.schedule_pickup: Schedule a carrier pickup for one or more shipment labels. NeedslabelIds,contactName,contactPhone,pickupWindowStartandpickupWindowEnd.create_manifest: Create carrier manifests or scan forms for existing labels. NeedscarrierId.cancel_pickup: Cancel a previously scheduled carrier pickup. NeedspickupId.
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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use ShipEngine there
- Tool permissions: tool filters and what employees see
- ShipEngine on metorial.com: the integration overview