Skip to main content
Glama
Pirate Ship MCP Server

Pirate Ship MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoTime zone for "today" and date ranges when `connect` could not read Chrome's.Chrome's zone
PIRATE_SHIP_PROXYNoProxy for every request to Pirate Ship, e.g. `http://user:pass@host:port`.
PIRATE_SHIP_MCP_HOMENoFolder of `session.json`.~/.config/pirate-ship-api-mcp
PIRATE_SHIP_MCP_HOSTNoAddress of `serve`.127.0.0.1
PIRATE_SHIP_MCP_PORTNoPort of `serve`.8787
PIRATE_SHIP_MCP_TOKENNoBearer token required by `serve`; needed to listen beyond `127.0.0.1`.
PIRATE_SHIP_AUTH_TOKENNoThe `pirate_id_f0fecf84` cookie, instead of `pirate-ship-mcp connect`.
PIRATE_SHIP_MCP_READ_ONLYNo`1` hides and refuses every tool that changes Pirate Ship (same as `--read-only`).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
change_ship_dateA

Moves a draft batch to another ship date and returns its new rates.

The ship date on Pirate Ship's buy page: rates are fetched again for that day, so prices and estimated delivery can change. Pick a date from a rate's ship_dates. Works on drafts only.

create_batchA

Unpaid draft batch for many packages with the rates of each rate group; buy it with buy_label.

Pirate Ship's spreadsheet upload: one batch for up to 500 recipients from your ship-from address, rated by Pirate Ship. The package (packaging, weight_oz and size, or package_preset_id) applies to every shipment; a recipient's own weight_oz or size overrides it. Pirate Ship splits the batch into rate groups (domestic small, big or heavy, international): buy_label needs one rate_id per group. errors counts rows Pirate Ship could not rate (an address it cannot find); get_batch shows them. Nothing is charged; delete_batch drops the draft.

create_batch_from_ordersA

Turns store orders into a batch of shipments with one saved package; nothing is bought.

Creates a Pirate Ship batch from imported orders: recipients come from the orders, size and weight from the saved package. The batch is rated, not paid: no label is bought. Large batches are built in the background (progress in the answer).

create_email_templateA

Adds a tracking email template for the emails recipients get with their tracking link.

Saves a new tracking email template. Nothing is sent now: Pirate Ship uses the template when a label is bought with tracking emails on. html takes the placeholders [Recipient First Name], [Ship Date], [Shipping Service], [Recipient Address] and [Tracking #].

create_saved_packageA

Saves a package (type, size, weight, extra services) for reuse on labels.

Adds a Saved Package in Settings. Parcel, SoftEnvelope and Irregular need length_in and width_in, a box also height_in; flat rate packaging needs none. weight_oz 0 leaves the weight to each label. default true preselects it on new shipments.

create_scan_formA

USPS End of Day SCAN Form for the labels of one Ship Date, as a PDF link.

Puts the USPS labels of one Ship Date and Ship From Address (or of one batch) that have no SCAN Form yet on a new SCAN Form and returns its PDF link. The carrier scans that one sheet instead of every package. No labels without a form: Pirate Ship answers with an error.

create_ship_from_addressA

Adds a US Ship From Address, optionally with a separate return address.

Saves a new Ship From Address in Pirate Ship. Without return_address, returns go to the origin. Pirate Ship completes the ZIP+4. It does not become the default: call set_default_ship_from_address for that.

create_shipmentA

Unpaid draft label for one package with every rate; buy it with buy_label.

Pirate Ship's Single Shipment form up to Get Rates: makes a draft batch for one package from your ship-from address to the recipient and returns its rates (USPS and UPS services with your price, retail price, estimated delivery, possible ship dates). Nothing is charged; buy_label buys one of the rates, delete_batch drops the draft. Give the package as packaging, weight_oz and size, or package_preset_id of a saved package. When Pirate Ship suggests a corrected address and address_correction is ask, the answer is status address_correction with the suggestion and no draft: call again with accept or skip.

delete_batchA

Deletes an unpaid draft batch or single shipment.

Removes a draft from create_shipment (or any batch not yet bought) from Pirate Ship. Bought labels cannot be deleted: refund_label or refund_batch returns their cost.

delete_email_templateA

Delete one tracking email template from the account.

Removes the template for good; it cannot be restored. Tracking emails already sent are not changed. To change a template's text instead, use update_email_template. Returns the deleted template's id.

delete_saved_packageA

Delete a Saved Package (box size and weight preset) from the account.

Removes it for good; labels already made with it are not affected. To change its size or weight instead, use update_saved_package. Returns the deleted package's id.

delete_ship_from_addressA

Removes a saved Ship From Address. The default address cannot be removed.

Deletes one Ship From Address from Settings. Labels already bought are not affected. Pirate Ship keeps at least one address and never deletes the default: make another one the default first.

download_labelsA

A download link for the printable labels of a batch or of chosen shipments.

Pirate Ship's Print Labels: builds one file with the bought, printable labels of batch_id or of shipment_ids, in the account's label size and format (Settings, Label Settings), and returns its link. Building takes a few seconds. Refunded labels and return labels that print later are left out.

export_reportA

A CSV of the transactions, refunds, receipts, return labels or carrier adjustments report.

Builds the same spreadsheet as the Export button of the chosen Reports table, with every column of the matching list_ tool, for an optional date range and search. Returns a link to the CSV; no matching rows return empty true and no link. Shipments have their own tool, export_shipments.

export_shipmentsA

A CSV of the shipments report with every column, as a download link.

Builds the same spreadsheet as the Export button of Reports, Shipments: one row per label with every column (recipient and address, tracking, carrier and service, cost, package, batch, ship-from, order id, rubber stamps). Takes the filters of list_shipments. Returns a link to the CSV; a filter with no matching labels returns empty true and no link. Large exports can take up to a minute.

get_account_balanceA

Account Balance, Pending Refunds and Pending Returns from the Reports page.

The Pirate Ship account balance in US dollars (balance_settled_usd leaves out payments still settling), how many payment methods are saved, refunds and return labels still pending, and the last 30 days of labels as the Reports page shows them: label count, total, average and payments.

get_batchA

A draft or bought batch: shipments, tracking, rates to buy, what can be refunded.

One Pirate Ship batch: a single label from create_shipment is a batch of one. A draft (step Rated) lists every rate the packages qualify for, with rate_id for buy_label. A bought batch (Billed) shows each shipment's status, tracking number and link, whether its label can be printed or refunded, and what was paid per service.

get_label_settingsA

Read the account's label settings from Settings, General.

Returns the size and file format new labels are made in, whether a packing list prints with them, the logo on the label, USPS label-free QR codes, what happens when Pirate Ship finds a better address, and the spreadsheet format of report exports. Read it before update_label_settings, which changes them.

get_pickup_quoteA

What a USPS or UPS pickup would cost; USPS pickups are free. Nothing is booked.

Prices one pickup without booking it. USPS collects for free on the next delivery day. UPS charges per pickup and needs a date and a ready and close time; surcharges are listed apart.

get_ratesA

USPS and UPS services with price for one package, cheapest first.

Pirate Ship's Quick Rate Quote: every USPS and UPS service that can carry one package from your default ship-from address to to_zip, with your price and the retail price, the zone and the estimated delivery. Weight in ounces (2 lb = 32). Parcel, SoftEnvelope and Irregular need length_in and width_in, a box also height_in: size changes the price (cubic and dimensional pricing). Flat rate envelopes and boxes need only the weight. Services that cannot carry the package are left out. Nothing is bought.

get_receiptA

One payment to Pirate Ship with its billing address and the labels it paid for.

The receipt page of one payment from list_receipts: title, status, total and refunded amount in US dollars, the billing address, the balance before and after, every transaction it covered (labels, refunds, adjustments, with batch_id and shipment_id) and reversals such as chargebacks.

get_shipmentA

One shipment with tracking, service, cost, recipient and carrier adjustments.

The shipment page of a Pirate Ship label: status, carrier and service, zone, tracking number and link, recipient, package, base and total cost with surcharges and insurance in US dollars, estimated delivery, the store order it came from, whether it can be printed or refunded, and carrier adjustments (weight or size the carrier corrected, with the price change and dispute state).

get_shipping_statsA

Labels, spend, savings, tracking and where packages went for a date range, as on Reports.

Everything the Reports page charts for a date range (default the last 30 days, at most a year): label count, total and average cost (domestic and international), payments, carrier adjustments, savings against retail, pending refunds and returns, tracking states, labels and average cost per day, the carrier split, labels per zone and per US state and country. Money is in US dollars.

get_tracking_email_settingsA

Read whether label recipients get a tracking email, when, and with which template.

enabled: new labels send a tracking email to the recipient by default. delay: when it goes out after the label is bought (delay_label as Pirate Ship shows it). branding: Pirate Ship's branding in the email. default_template_id: the template from list_email_templates used. update_tracking_email_settings changes these.

ignore_ordersA

Hides store orders from the Import list without shipping them.

They move to the ignored list (list_import_orders with ignored true); unignore_orders brings them back.

list_batchesA

Latest batches and single labels, newest first, with status and tracking counts.

The batches on Pirate Ship's Ship page, newest first: drafts (RATED), bought (BILLED) and refunded, each with its shipment count, status text, the first shipment's tracking number and how many shipments are delivered, in transit, ready to print, refunded or failed. page 0 is the newest; an empty list means no more pages. get_batch gives one in full.

list_carrier_adjustmentsA

Extra charges or credits the carrier made after a label was used, with old and actual package.

The Reports, Carrier Adjustments table: when USPS or UPS measured a package differently from the label (weight, size, package type, zone, ZIP), the old and actual values, the old and new cost and the adjustment in US dollars, and whether it was disputed. dispute_adjustment disputes one by shipment_id.

list_email_templatesA

List the templates of the tracking emails sent to label recipients.

Returns every template with its id, name, subject, sender name, reply-to email, BCC address and HTML body with placeholders such as [Tracking #]; default marks the one used for new labels. Use the id in update_email_template or delete_email_template. Whether emails go out at all and when is in get_tracking_email_settings.

list_import_ordersA

Unshipped orders from your connected store integrations, as in the Import grid.

Orders imported from connected stores that still need a label: one row per order with the grid's columns (order number, recipient, items, store). ignored true lists the orders you hid with ignore_orders. Run sync_store_orders first for the newest. Use order ids in create_batch_from_orders.

list_package_typesA

Packaging types per carrier (box, envelope, flat rate) and the size and weight limits.

The packaging keys get_rates and saved packages take, per carrier, with which measurements each needs, plus Pirate Ship's limits: maximum weight in ounces and side lengths in inches.

list_pickupsA

Your scheduled and past USPS and UPS pickups with confirmation numbers.

Every carrier pickup on the account: carrier, day and time window, status, confirmation number, package count and weight in ounces, where the driver finds them, the price (USPS is free) and whether it can still be cancelled with cancel_pickup.

list_receiptsA

Payments made to Pirate Ship, newest first; get_receipt shows one.

The Reports, Receipts table: each payment the account made (card, PayPal, bank) with its status, description and total in US dollars. Pass receipt_id to get_receipt for the labels it paid for.

list_refundsA

Label refunds with their status and amount, newest request first.

The Reports, Refunds table: every label refund the account asked for (or Pirate Ship made automatically for an unused label), when it was requested, approved, declined or reversed, the tracking number, recipient and amount in US dollars. from_date and to_date narrow by the request day.

list_return_labelsA

List the account's pay-on-use return labels and whether each was used.

Returns total and a page of return_labels, newest first: shipment_id, created_at, status, the address the parcel goes back to and amount_usd, what Pirate Ship charged when a customer used it (an unused label costs nothing). Filter by date, status or search text and page with limit and offset. For the outgoing labels themselves use list_shipments.

list_saved_packagesA

Your Saved Packages from Settings: size, weight and the extra services stored with each.

Every Saved Package: packaging type, size in inches, weight in ounces (0 when each label sets its own), signature, insured value, return label setting and flags. default marks the one preselected on new shipments. Use an id in update_saved_package or delete_saved_package.

list_scan_formsA

USPS SCAN Forms per Ship From Address, with their PDF links and labels still without one.

For every Ship From Address with USPS labels: how many labels can still go on a SCAN Form (labels_available) and the SCAN Forms already made, each with ship date, label count and PDF link. A SCAN Form lets the carrier scan all packages at once. Make one with create_scan_form.

list_ship_from_addressesA

Your Ship From Addresses with their return addresses; one is the default.

Every saved Ship From Address in Pirate Ship: where labels ship from and the return address printed on them (origin_is_return when they are the same). default marks the one new shipments and rate quotes start from. Use an id in update_ship_from_address, delete_ship_from_address or set_default_ship_from_address.

list_shipmentsA

Labels bought in Pirate Ship with recipient, tracking, cost and status, newest first.

The Reports, Shipments table: every label the account bought, with the recipient's address, carrier and service, tracking number and status, cost in US dollars, package size and weight, batch and ship-from address. search works like the table's search box (name, email, tracking number, order id). from_date and to_date narrow by the day the label was created; status, tracking_status, carrier and batch take the values the table shows. total counts every match, limit and offset page through them.

list_store_connectionsA

Stores and marketplaces connected to Pirate Ship for order import, with their status.

Every connected store (Shopify, Etsy, eBay, WooCommerce, Squarespace and others): its name, platform, whether it is active and still authorised (valid false means reconnect it in Pirate Ship) and whether orders sync on their own. Connecting a store happens in Pirate Ship, not here.

list_transactionsA

Every charge, payment and refund on the Pirate Ship balance, newest first.

The Reports, Transaction History table: each label purchase, payment, refund and carrier adjustment with its amount in US dollars (negative takes from the balance) and the balance after it. from_date and to_date narrow by day, type by the table's transaction types, search works like its search box.

parse_addressA

Splits a pasted address into name, street, city, state, ZIP and country.

Pirate Ship's Paste Address: free text such as a line copied from an email or an order becomes the fields create_shipment takes. It only parses; the address is checked when the shipment is created.

rename_batchB

Change the title of a batch or single label.

Sets the title Pirate Ship shows on the Ship page and in reports; nothing else about the batch changes and calling it again with the same title changes nothing. Returns batch_id and the new title.

search_recipientsA

Past recipients' addresses matching a name, email or phone.

The suggestions Pirate Ship's Ship To form shows while typing: addresses of people this account shipped to before, matched by the start of their name (or email or phone). Use one as create_shipment's to.

set_default_ship_from_addressA

Makes one Ship From Address the default for new shipments and rate quotes.

New shipments, get_rates and pickups start from the default Ship From Address.

sync_store_ordersA

Pulls new orders from every connected store into Pirate Ship's Import list.

Starts Refresh Data for all connected stores and waits up to wait_seconds for it to finish; running true means it continues in the background. Then list_import_orders shows the orders. With no store connected nothing is imported.

unignore_ordersA

Put ignored store orders back on the Import list.

Reverses ignore_orders: the orders show in list_import_orders again and create_batch_from_orders can ship them. Up to 500 order ids per call; ids that are not ignored are skipped. Returns how many orders came back and their ids.

update_email_templateA

Changes a tracking email template; fields you leave out keep their values.

Edits the name, subject, sender, BCC address, HTML body or default flag of one template.

update_label_settingsA

Changes label size, file format, packing list, logo, QR codes, address correction or export format.

Saves Settings, General for the whole account. Fields you leave out keep their values. Applies to labels made from now on; get_label_settings shows the current values.

update_saved_packageA

Changes a Saved Package; fields you leave out keep their values.

Edits one Saved Package: name, packaging, size, weight, signature, insurance, return label and flags. Pirate Ship saves an edit as a new version: the answer carries the new id, use it from then on. default true makes it the preselected package.

update_ship_from_addressA

Changes a Ship From Address: its name, origin or return address.

Edits one saved Ship From Address; fields you leave out keep their values. origin_is_return true sends returns to the origin, return_address sets a separate one. Pirate Ship saves an edit as a new version: the answer carries the new id, use it from then on. Labels already bought keep their address.

update_tracking_email_settingsA

Turns default tracking emails on or off and sets their delay after purchase.

Changes only what you pass and returns the settings as get_tracking_email_settings does.

Prompts

Interactive templates invoked by user choice

NameDescription
getting_startedCheck the Pirate Ship session and show what the tools can do, without changing anything.
plan_taskTurn a goal into Pirate Ship tool calls: reads first, every write shown before it runs.

Resources

Contextual data attached and managed by the client

NameDescription
guideWhere to start, read and write rules, paging.
toolsEvery tool with its access (read or write) and full description.

TDQS

A3.6/5.0

Scored across 51 tools

Disambiguation4/5

Most tools target distinct resources and actions, and the descriptions clarify the nuanced draft/batch/shipment/report distinctions. There is still some potential confusion among the many reporting list/export tools and between rate-quote versus draft-creation tools, but boundaries are generally readable.

Naming Consistency5/5

The tool names consistently follow a snake_case verb_noun convention such as list_shipments, create_saved_package, update_label_settings, and delete_batch. Minor outliers like change_ship_date and unignore_orders still fit the same predictable style.

Tool Count2/5

At 51 tools, the surface is too large for practical agent selection even though the descriptions are detailed and most tools map to distinct operations. The broad shipping domain explains some breadth, but this is well beyond a well-scoped MCP tool set.

Completeness2/5

The core shipping lifecycle has significant dead ends: descriptions repeatedly reference buy_label, refund_label, refund_batch, cancel_pickup, and dispute_adjustment, but those tools are absent. An agent can create drafts and inspect data but cannot complete critical operations like buying or refunding a label.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues