# Maniship > Maniship files advance cargo manifests (pre-arrival / pre-loading security filings) for freight forwarders: > EU ICS2 (ENS), US AMS and ISF 10+2, Canada ACI eHBL, Japan AFR and UAE MPCI. UK S&S GB is coming soon. > An AI assistant can do the whole filing with the user through the Maniship MCP server. No API key is needed. ## If a user asked you to "start filing advanced-cargo with Maniship" 1. Connect to the MCP server (Streamable HTTP): https://maniship.com/mcp If you can't add an MCP server yourself, show the user how: https://maniship.com/ ("Use my AI to start"). 2. Ask the user for their email address, then call `start_guest_session(email)` once. Keep the returned `session_token` for the whole conversation (store it if you can) and pass it as `session_token` on every other tool call (or send it as `Authorization: Bearer `). 3. list_destinations_and_filings → pick dest + filing_key. Then add every party you'll need to the address book (see "Parties required per filing" below BEFORE you ask the user who to include — some roles aren't obvious from the shipping documents alone, e.g. EU ICS2's carrier). 4. create_or_update_draft (see "Draft fields" below for the full shape; codes via search_reference: ports = UN/LOCODE, hs, containers = ISO 6346, packages = UN/ECE Rec 21), then validate_draft until there are no severity=error issues. severity=warning either means a default was assumed for something the UI doesn't collect yet, or that a key you set isn't part of the shape at all and was silently ignored — the `field` names it, fix the typo. 5. quote_price, then confirm with the user before `submit_filing` — submitting may cost money or plan quota, or be refused (`quote.kind`/`result` = `quota_exceeded`) if Maniship is invite-only right now and the quota is used up. Never invent a payment method. While invite-only, no USD amount is ever shown anywhere, even in quote_price's response — treat `quota_exceeded` the same whether it comes from quote_price or submit_filing. 6. Call `verify_email`, ask the user to read back the 6-digit code we emailed them, then call `answer_verify_email(code)`. Their filings then join their Maniship account. Until then the guest session sees only what it created. Notes: cargo loaded in mainland China or Hong Kong can't be filed through Maniship. ## Parties required per filing (validate_draft reports these too once you've built a draft) Every filing needs: a shipper, a consignee, your own company set as the declarant in the address book (is_own_company=true), and at least one goods line with description + HS code + packages + gross weight. Beyond that, per destination: - EU ICS2 (ENS): also a carrier — an address-book party with a name AND an EORI (not collected by the web UI yet, so you'll likely need to ask the user for it explicitly); your own company's EORI specifically (other tax ids like USCC/VAT/TIN are NOT accepted as the EU TIN); a port of discharge (`pod`); and at least one EU member state in the itinerary (`extra.ics2.itinerary`, see "Draft fields" below). An EORI over 17 characters is rejected. - UAE MPCI: a UAE port of discharge (`pod` starting with AE); `extra.mpci.shippingLineIdentifier`; `extra.mpci.carrierIdentifier`; `extra.mpci.estimatedTimeOfArrival`; a vessel name; and `extra.mpci.externalCustomerCountry` (defaults to your own company's country if you don't give one). - UK S&S GB, US AMS/ISF, Canada ACI eHBL, Japan AFR: not wired to customs yet (see `list_destinations_and_filings`' `forwarding` field) — only the common checks above apply, and `submit_filing` has nothing to lodge for these yet. ## Draft fields (`create_or_update_draft`'s `draft`, same shape the filing page itself uses) Top level: hbl, mbl (house/master B/L numbers), vesselName, vessel (IMO, 7 digits, optional), voyage, loadingPort (UN/LOCODE where the cargo is ACTUALLY loaded — checked against the China/Hong Kong restriction above), loadingTime (ISO date-time), poa (the port of loading AS PRINTED ON THE HOUSE B/L, UN/LOCODE — usually the same as loadingPort, but keep them separate if the document shows a different one), pod (port of discharge, UN/LOCODE). Parties: shipper, consignee, buyer, seller, notify, carrier — each `{"partyId": ""}` from address_book_upsert/address_book_list results (never a free-text company name). buyerIsConsignee/ sellerIsShipper (booleans, default true) mean buyer/seller are omitted and taken from consignee/shipper. addNotify (boolean) turns the notify party on. carrier is read for EU ICS2 only. containers: list of {number (ISO 6346, 4 letters + 7 digits), type (ISO 6346 size/type code, e.g. 22G1/42G1/45G1), seal, vgm (MPCI only — verified gross mass; unit in extra.mpci.vgmUnit), fullEmpty ("5" full/default, "4" empty — MPCI only)}. goods: list of {description, hs (HS code, 4–10 digits, no dots), packages, packageType (UN/ECE Rec 21 code, e.g. CT cartons), grossKg, container (must match a containers[].number on this draft), shippingMarks (the shipping/case marks printed on the cargo; "N/M" if the document has none). Use this EXACT key name — a typo like "shippingMark" is ignored and only flagged as a validate_draft warning, not rejected. extra.ics2 (EU ICS2 only): itinerary — ordered ISO country codes the cargo routes through, STARTING AT THE LOADING COUNTRY, e.g. ["VN", "SG", "DE"] for cargo loaded in Vietnam, transiting Singapore, headed for Germany. Include every transit country, not just the destination's — the EU member state the filing is actually lodged under is derived as the FIRST EU country found in this list (route order), which is not necessarily the same as the port-of-discharge country. Also specificCircumstanceIndicator, masterDocumentType, houseDocumentType, transportChargesPaymentMethod, containerSupplierType, placeOfDelivery, placeOfDeliveryName — leave these at their defaults unless the shipping document says otherwise. extra.mpci (UAE MPCI only): shippingLineIdentifier, carrierIdentifier, estimatedTimeOfArrival (ISO, ETA at the UAE port — distinct from loadingTime, which is the departure side), vgmUnit, houseBLType, parentBLType, originalBLType, mpciPartyType, processingIndicator, consignmentProcessingIndicator, externalCustomerType, externalCustomerCountry (your own company's country, unless the document names a different filer). Any other key — top level, inside a containers[]/goods[] row, or inside extra. — is ignored, and comes back as a `severity: "warning"` validate_draft issue naming the exact key, so a typo doesn't just silently vanish. ## MCP tools - start_guest_session: start here; returns the session_token for the user's email - verify_email: email the user a 6-digit code to move this session's work into their account - answer_verify_email: the code the user read back after verify_email - search_reference: look up codes (UN/LOCODE ports, HS, ISO 6346 containers, package types) - list_destinations_and_filings: destinations and the filing types for each - address_book_list: list saved parties (shippers, consignees, notify parties, carriers) - address_book_upsert: create or update a party; returns party_id - create_or_update_draft: create a filing draft or update one (see "Draft fields" above) - validate_draft: the issues submit would return - list_filings: the user's filings - get_filing_status: customs status of a filing - quote_price: what submitting will cost (quota | payment | free_resend | quota_exceeded — never a USD amount while Maniship is invite-only) - submit_filing: submit (confirm with the user first) - answer_captcha: pass the code the user typed when submit asks for a captcha ## Links - Pricing: https://maniship.com/pricing - Terms: https://maniship.com/terms - Privacy: https://maniship.com/privacy - MCP server card: https://maniship.com/.well-known/mcp.json