Italy Logistics

by junter1989k-ai

270 downloads
Not rated
GitHub Website

About

Buy Poste Italiane shipping labels in Italy, track parcels and refund unused labels — stateless, bring your own Shippo token

Details

Author
junter1989k-ai
Downloads
270
Categories
AI

- MCP server integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Italy Logistics
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The README includes setup instructions such as node test/serve.js # local server on :3248 (/mcp).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "italy logistics": {
            "italy-logistics": {
                "type": "http",
                "url": "https://logi-it.wishpool.app/mcp",
                "headers": {
                    "x-shippo-token": "shippo_test_your_token"
                }
            }
        }
    }
}

McpServers

{
    "italy-logistics": {
        "type": "http",
        "url": "https://logi-it.wishpool.app/mcp",
        "headers": {
            "x-shippo-token": "shippo_test_your_token"
        }
    }
}

Italy Logistics MCP 🇮🇹 — How can my AI agent buy a Poste Italiane / Italian shipping label?

Remote MCP server that lets any AI agent buy Italian shipping labels (etichette di spedizione) — Poste Italiane parcels and more — with automatic cheapest-rate selection, track parcels, and refund unused labels via the Shippo shipping API. Poste Italiane runs on Shippo's master account, so no Poste Italiane contract or merchant courier account is needed. Stateless, bring-your-own API token, never stores anything. Free Shippo test tokens give zero-cost end-to-end labels.

Live endpoint: https://logi-it.wishpool.app/mcp · Registry: app.wishpool/italy-logistics-mcp

Quick start

{
  "mcpServers": {
    "italy-logistics": {
      "type": "http",
      "url": "https://logi-it.wishpool.app/mcp",
      "headers": {
        "x-shippo-token": "shippo_test_your_test_or_shippo_live_prod_token"
      }
    }
  }
}

No shared demo — but test tokens are free. Shippo issues free TEST tokens (prefix shippo_test_…) that run the full flow end-to-end at no cost: sign up with no card at apps.goshippo.com/join → API. Production tokens (prefix shippo_live_…) buy real labels. The same server auto-selects the environment from the token prefix.

Poste Italiane without a Poste Italiane contract

Poste Italiane parcels run on Shippo's master carrier account, so an AI agent can print a Poste Italiane label with no Poste Italiane contract and no merchant courier account — just a free Shippo token. The carrier parameter stays open, so a merchant with its own carrier account on Shippo (Poste Italiane, DHL, etc.) can select it instead.

Tools

| Tool | What it does |
|---|---|
| create_shipment | Buy an Italian label. to_ + from_ address fields (provincia/state optional), parcel weight (grams by default, required) and length/width/height (centimetres by default). Optional carrier/service restrict the choice (e.g. Poste Italiane / Delivery Business Express) — default is the cheapest rate across all available carriers. Fetches rates, buys the chosen rate, returns shipment_id, transaction_id, tracking_number, printable label_url, carrier, service and the rate (EUR). |
| query_tracking | Track by tracking_number + carrier token (default poste_italiane; use shippo with SHIPPO_TRANSIT/SHIPPO_DELIVERED for TEST tokens). Returns status from the Shippo enum — UNKNOWN / PRE_TRANSIT / TRANSIT / DELIVERED / RETURNED / FAILURE — plus a plain-English hint; non-terminal statuses carry next_steps. Raw carrier scans always included. |
| refund_label | Refund an unused label by transaction_id. Returns refund_status: QUEUED / PENDING / SUCCESS / ERROR. Only labels never scanned by the carrier are eligible — an already-shipped label cannot be refunded. |

Owner policy guardrails ride optional headers (x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools) — set by the human owner in client config; the agent cannot relax them. The label price is gated before any purchase: approval-above returns an unsigned draft with the shipment/rates prepared but no label bought.

Develop

node test/serve.js   # local server on :3248 (/mcp)
node test/e2e.js     # protocol + validation + policy/shippo units + fake-token live probe to api.goshippo.com (expects native 401)

How it talks to Shippo

create_shipment is two server-to-server REST calls: POST /shipments/ (to/from address + parcel → rates[]) then POST /transactions/ (chosen rate object_id → label_url + tracking_number). query_tracking is GET /tracks/{carrier}/{tracking_number}. refund_label is POST /refunds/ (by transaction id). Auth is the header Authorization: ShippoToken <token>; the token prefix (shippo_test_… / shippo_live_…) selects test vs production on the same base URL https://api.goshippo.com.

Safety

Pure stateless translation layer. The label is generated and served by Shippo/the carrier; the Shippo API token travels per-request in a header, nothing is stored. Parcels flow sender ↔ carrier ↔ recipient directly. Privacy policy.

Sister servers

UK labels (Royal Mail) live in uk-logistics-mcp; France (Mondial Relay) in france-logistics-mcp; Australia (Aramex) in australia-logistics-mcp; US labels (USPS/UPS/FedEx) in usa-logistics-mcp; Taiwan CVS pickup + home delivery in taiwan-logistics-mcp. One family of stateless BYO local-commerce MCP servers: local payments in 81 countries at mcp.wishpool.app, plus electronic-invoice servers across nine countries including Mexico CFDI, Brazil NF-e, Chile DTE, Peru CPE and India GST.

MIT licensed.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.