Summary
Kuehne+Nagel Shipment Tracking API v2: find air, sea and road shipments by tracking number, customer reference or filters, and read their references, parties, cargo, routing milestones and milestone history. Read-only. OAuth2 consumer key and secret from the developer portal.
Guided setup
Connect Kuehne+Nagel to Microsoft Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Kuehne+Nagel in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Kuehne+Nagel
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 → Kuehne+Nagel, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Kuehne+Nagel + Microsoft Copilot
Kuehne+Nagel Shipment Tracking API v2: find air, sea and road shipments by tracking number, customer reference or filters, and read their references, parties, cargo, routing milestones and milestone history. Read-only. OAuth2 consumer key and secret from the developer portal.
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:
KUEHNE_NAGEL_CONSUMER_KEY, KUEHNE_NAGEL_CONSUMER_SECRET
Step 1 — Get credentials
Before you start: the API shows what your myKN account shows. Your company needs a myKN Enterprise Visibility setup (the company locations whose shipments you may see); ask your Kuehne+Nagel account manager if you are not sure.
Setting up takes about 10 minutes.
- Sign in to the developer portal at https://portal.api.kuehne-nagel.com/devportal/ with the same email address as your myKN account.
- Under Applications create an application (or open the default one) and subscribe it to the API ShipmentTracking, version v2.
- In the application open Production Keys, OAuth2 Tokens, generate the keys with the grant type Client Credentials, and copy the Consumer Key into
KUEHNE_NAGEL_CONSUMER_KEYand the Consumer Secret intoKUEHNE_NAGEL_CONSUMER_SECRET.
The connector exchanges them at https://portal.api.kuehne-nagel.com/oauth2/token for a bearer token and renews it by itself.
Where to start
- You know the tracking number:
kuehne_nagel_get_shipment. - You know your own reference (order or purchase order number):
kuehne_nagel_find_shipments_by_reference. The reference is required there and must match completely. - You want a list (all sea shipments in transit, everything departing this month):
kuehne_nagel_search_shipments. All its filters are optional; without filters it lists every visible shipment, newest first. - You want to know what changed (a delay, a new estimated arrival):
kuehne_nagel_get_shipment_historywith the shipmentId.
Two identifiers: the trackingNumber (letters and digits such as 1056143482TK) and the numeric shipmentId (such as 19101910). The details take the tracking number, or shipment-id: followed by the shipmentId; the history takes the bare shipmentId.
Reading the data: modeOfTransport is AIR, SEA or ROAD. currentStage is BOOKED, IN_TRANSIT, COMPLETED or CANCELLED. The routing lists locations (origin, ports or airports, destination) with milestones; each milestone time carries a condition, PLANNED or ACTUAL, and reached tells whether the shipment passed it. Times are ISO 8601. The search pages from page 0 with size rows; page.hasNext tells whether another page follows.
Errors: problems are answered as application/problem+json with title and detail. 401 means the token was refused, 403 that the application is not subscribed to ShipmentTracking v2, 404 that no visible shipment has that number.
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 Microsoft Copilot
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.
Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.
- In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
- Enter a Server name (for example
AnythingMCP), a Server description that says what the connector does, and the Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server. - Under authentication, choose API key, set Type to Header and the header name to
X-API-Key, then select Create. - In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
- Try it in the agent's Test pane: ask for something that needs the
Kuehne+Nageltools. - Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.
Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
kuehne_nagel_search_shipments | Search the shipments your myKN account can see, newest first, with optional filters on customer reference, mode of transport, current… |
kuehne_nagel_find_shipments_by_reference | Find the shipments that carry a given customer reference (your order or purchase order number). The reference is required and must match… |
kuehne_nagel_get_shipment | Read one shipment in full: shipmentId, trackingNumber, bookingId, modeOfTransport, serviceType, shipmentReferences (HAWB, MAWB, bill of… |
kuehne_nagel_get_shipment_history | Read how the milestones of a shipment changed over time, newest change first: milestones with type (ROUTE_LOCATION_MILESTONE or… |
Example prompts
- "Where is shipment 1056143482TK and when does it arrive?"
- "Find the shipments for our purchase order PO-45812."
- "List all sea shipments that are in transit."
- "What changed in the milestones of shipment 19101910 this week?"
- "Which air shipments depart this month?"
FAQ
Where do the keys come from? From the Kuehne+Nagel developer portal, signed in with the email of your myKN account: create an application, subscribe it to ShipmentTracking v2 and generate the production keys with the grant type Client Credentials. Your company needs a myKN Enterprise Visibility setup; ask your Kuehne+Nagel account manager if you are not sure.
What does it show? The air, sea and road shipments your myKN account can see: references, parties, cargo, routing with planned and actual milestones, and the milestone history. Search by tracking number, by your own reference (exact match) or with filters.
Can it book or change shipments? No. The connector is read-only; nothing installs switched off.
Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.
What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.
The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.
Next steps
Was this guide helpful?