Summary
InPost ShipX API for Poland: find Paczkomat lockers and pickup points, list and track shipments, download labels, calculate prices, read courier pickup orders and the cash on delivery report. Creating and buying shipments and ordering a courier are included but switched off. API token and organization ID from Manager Paczek.
Guided setup
Connect InPost to Cursor in 2 minutes
Start a free trial on AnythingMCP Cloud, connect InPost in the guided setup, then add your MCP URL to Cursor. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for InPost
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → InPost, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
InPost + Cursor
InPost ShipX API for Poland: find Paczkomat lockers and pickup points, list and track shipments, download labels, calculate prices, read courier pickup orders and the cash on delivery report. Creating and buying shipments and ordering a courier are included but switched off. API token and organization ID from Manager Paczek.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
INPOST_TOKEN, INPOST_ORGANIZATION_ID
Step 1 — Get credentials
Setting up takes about 5 minutes.
- Sign in to Manager Paczek at https://manager.paczkomaty.pl.
- Open Moje konto (My Account), Dane (Data), and make sure the company address and the invoice data are complete. InPost does not issue API access without them.
- Open Moje konto, tab API, expand API ShipX and click Generate. If you have a courier contract, tick the box and enter the contract number; for locker services alone just click Generate.
- Click Pokaż token (Show token) and copy the token into
INPOST_TOKEN. Up to 10 tokens can exist. - Copy the Organization ID shown in My Account into
INPOST_ORGANIZATION_ID.
The token is sent as a bearer token. It is a production token: sandbox tokens from sandbox-manager.paczkomaty.pl only work on the sandbox host and are refused here.
Where to start: inpost_get_organization shows the services of your contract. inpost_list_shipments lists your shipments, inpost_track_shipment follows one by tracking number, and inpost_search_points finds lockers.
Lockers and points: inpost_search_points reads the points service at https://api.inpost.pl/v1/points with the same token. For "the nearest locker", pass relative_post_code (or relative_point with coordinates) together with sort_by distance_to_relative_point; distances are in metres. The name of a point (e.g. KRA010) is what a shipment takes as target_point. Only points with status Operating accept parcels.
Reference data: inpost_list_services (service ids and their extra services), inpost_list_sending_methods (how a parcel is handed over: at a locker, at a point, or collected by a courier) and inpost_list_statuses (every status code with a customer-friendly text in English or Polish).
Shipments: inpost_list_shipments and inpost_get_shipment use the ShipX id; inpost_track_shipment uses the 24-digit tracking number. A shipment goes created, offers_prepared, offer_selected, confirmed; from confirmed on it has a tracking number and inpost_get_shipment_label returns its label as a PDF, ZPL or EPL file. Tracking history is kept 45 days. inpost_calculate_shipment_prices prices shipments without creating them.
Creating shipments (switched off): inpost_create_shipment buys the shipment in the same call unless only_choice_of_offer is true, inpost_buy_shipment pays for one created without payment, and inpost_cancel_shipment only works before payment (status created or offers_prepared). A bought shipment cannot be cancelled through the API. Creation is asynchronous: read the shipment again until it is confirmed. Locker parcels need the receiver phone and e-mail, a template size and custom_attributes.target_point; courier parcels need the receiver address and the dimensions in mm and weight in kg.
Courier pickups: inpost_list_dispatch_orders and inpost_get_dispatch_order read pickup orders, inpost_calculate_dispatch_order_price prices one. inpost_create_dispatch_order orders the courier for a fee and inpost_cancel_dispatch_order cancels an order in status new or sent; both are installed switched off.
Money: amounts are in PLN. Prepaid customers pay from the balance topped up in Manager Paczek, and a shipment fails to confirm when the balance is too low. Customers billed on account (debit clients) get rate and prices as null everywhere. inpost_get_cod_report returns the cash on delivery report for courier shipments as CSV.
Formats: post codes are NN-NNN, phone numbers 9 digits without +48, times ISO 8601 with the Polish offset. Lists return count, page, per_page and items; raise page until it reaches total_pages or an empty items. Several values of one filter are separated by commas.
Errors: InPost answers with status, error (a key such as validation_failed, invalid_parameter, resource_not_found, access_forbidden, invalid_action, offer_expired), a description and details naming the fields with reasons such as required, invalid or too_long. The connector asks for English messages. 401 means the token is wrong, access_forbidden that the token does not belong to this organization id. InPost does not publish rate limits for ShipX; avoid polling in tight loops.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Cursor
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Cursor reads MCP servers from ~/.cursor/mcp.json. Add this entry:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart Cursor.
- Open Cursor → Settings → MCP and check that
anythingmcpis listed and connected. - Start chatting — the agent can now call the
InPosttools.
Available tools
| Tool | What it does |
|---|---|
inpost_get_organization | Read your InPost organization: id, name, tax_id, the list of services your contract allows (e.g. inpost_locker_standard… |
inpost_search_points | Find InPost Paczkomat parcel lockers and PaczkoPunkt pickup points. Returns count, page, per_page, total_pages and items, each… |
inpost_list_services | List the InPost services ShipX knows, each with id (e.g. inpost_locker_standard, inpost_courier_standard), name, description and its… |
inpost_list_sending_methods | List the ways a parcel can be handed to InPost: parcel_locker (drop at a Paczkomat), dispatch_order (courier collects), pop (parcel point)… |
inpost_list_statuses | List every shipment status ShipX uses with its name (the code found on shipments and in tracking, e.g. ready_to_pickup), a short title… |
inpost_list_shipments | List the shipments of your organization, newest first. Returns count, page, per_page and items, each with id, status… |
inpost_get_shipment | Read one shipment by its ShipX id: status, tracking_number (and return_tracking_number once it was returned to the sender)… |
inpost_track_shipment | Track an InPost shipment by tracking number. Returns status (the current status code), service, custom_attributes (parcel size… |
inpost_calculate_shipment_prices | Price one or more shipments without creating them. Returns a list with, per shipment id, calculated_charge_amount (total)… |
inpost_get_shipment_label | Download the label of a shipment that is already bought (status confirmed or later) as a file: PDF by default, or ZPL or EPL for thermal… |
inpost_list_dispatch_orders | List the courier pickup orders (dispatch orders) of your organization. Returns count, page, per_page and items, each with id… |
inpost_get_dispatch_order | Read one courier pickup order: id, status, external_id (the order number at the courier, filled once InPost has processed the order)… |
inpost_calculate_dispatch_order_price | Price a courier pickup for a set of bought shipments without ordering it. Returns total_success_count, total_error_count, total_price… |
inpost_get_cod_report | Download the cash on delivery report for a date range as CSV text. Columns: date, customer number, sender, receiver, receiver post code… |
inpost_create_shipment | Create a shipment in simplified mode. Unless only_choice_of_offer is true, InPost buys the shipment right away: the price is taken from the… |
inpost_buy_shipment | Pay for a shipment that was created without payment (offer mode, or only_choice_of_offer): InPost charges the price of the chosen offer, so… |
inpost_cancel_shipment | Cancel a shipment that has not been bought yet: it must be in status created or offers_prepared, otherwise InPost answers invalid_action.… |
inpost_create_dispatch_order | Order a courier to collect bought shipments at an address (dispatch order). InPost charges for the pickup according to your price list, so… |
inpost_cancel_dispatch_order | Cancel a courier pickup order. Only orders in status new or sent can be cancelled; otherwise InPost answers invalid_status. It cannot be… |
Example prompts
- "Find the three nearest Paczkomat lockers to postal code 00-950 Warszawa."
- "Where is my InPost shipment 520000012345678901234567?"
- "List my shipments from the last week that are not delivered yet."
- "How much does a size B locker parcel cost on my contract?"
- "Show the cash on delivery report for October."
FAQ
Where do I get the InPost token? In Manager Paczek (manager.paczkomaty.pl): Moje konto, tab API, API ShipX, Generate, then Pokaż token. The Organization ID is shown in Moje konto. InPost only issues API access when the company address and invoice data are complete.
Which country does it cover? Poland, through the ShipX API for Poland: lockers and pickup points, your shipments and labels, tracking, prices, courier pickup orders and the cash on delivery report. Sandbox tokens do not work here.
Can it create or buy shipments? inpost_create_shipment, inpost_buy_shipment, inpost_cancel_shipment, inpost_create_dispatch_order and inpost_cancel_dispatch_order install switched off, because buying a shipment or ordering a courier costs money. Switch them on on the connector page only if the AI should use them.
Does Cursor support custom MCP servers on the free tier? Yes — MCP is available on Hobby, Pro and Business plans.
Next steps
Was this guide helpful?