TrackMage MCP Server is a Model Context Protocol (MCP) server for integrating the TrackMage API, designed to enable AI assistants to perform shipment tracking, logistics management, create orders, and monitor package delivery status. It supports package tracking across more than 1,600 carriers worldwide.
Key Capabilities
- Carrier Support: Can track packages across more than 1,600 carriers worldwide (the original text mentions a "complete list," but no specific list is provided).
- Resources: Provides resources such as workspaces, shipments, orders, carriers, and tracking statuses. Resource URI forms include
trackmage:///workspaces/{id}、trackmage:///shipments/{id}、trackmage:///orders/{id}、trackmage:///carriers/{id}、trackmage:///tracking_statuses/{id}. - Tools:create_shipment: Create a new shipment. Parameters:{ trackingNumber, originCarrier?, email?, workspaceId? }; returns the created shipment object.update_shipment: Update an existing shipment. Parameters:{ shipmentId, trackingNumber?, originCarrier?, email?, status? }; returns the updated shipment object.list_shipments: List shipments in a workspace. Parameters:{ workspaceId?, page?, itemsPerPage? }; returns an array of shipment objects.get_shipment_checkpoints: Get tracking checkpoints for a shipment. Parameters:{ shipmentId }; returns an array of tracking checkpoint events.retrack_shipments: Re-track multiple shipments by tracking number. Parameters:{ trackingNumbers: [{ number, originCarrier? }], workspaceId? }; returns the re-tracking results.create_order: Create a new order. Parameters:{ orderNumber, email?, workspaceId? }; returns the created order object.update_order: Update an existing order. Parameters:{ orderId, orderNumber?, email?, status? }; returns the updated order object.list_orders: List orders in a workspace. Parameters:{ workspaceId?, page?, itemsPerPage? }; returns an array of order objects.list_carriers: List available carriers. Parameters:{ page?, itemsPerPage? }; returns an array of carrier objects containing code and name.detect_carrier: Detect the carrier a tracking number may correspond to. Parameters:{ trackingNumber }; returns an array of possible carrier matches.
- Authentication: Uses the OAuth client credentials method.
- Real-time Tracking Updates: Supports real-time tracking updates.
Usage
Obtaining Credentials
- Register and log in to TrackMage.
- Go to Settings > API KEYS.
- Enter the App Name (e.g., "MCP") and App URL (e.g.,
http://localhost:3000). - Click Generate and copy the Client ID and Client Secret.
- Note the Workspace ID from the dashboard URL.
Local Setup
The original text provides "Option 1: Local Setup" and gives "Run the server:" and "or using file process:", but the source material does not provide the specific local run commands or file processing command content.
Data Privacy Reminder
This MCP server will provide data to the LLM being used (such as Claude, ChatGPT, etc.). Although this is the expected behavior of an MCP server, please make sure you are willing to share logistics data (including tracking numbers, customer emails, addresses, and shipment details) with your chosen LLM provider.
Recommended practices:
- If there are privacy concerns, use only non-sensitive or test data.
- Review the LLM provider's data handling policies.
- If possible, consider opting out of training data programs.
- Ensure compliance with your organization's compliance policies.
Use Cases
- Query shipments, orders, and tracking statuses in AI assistants.
- Create or update shipments and orders through a conversational interface.
- Perform carrier detection for tracking numbers.
- Re-track multiple shipments in batch.
Limitations
- The source material does not provide the specific local run commands and file processing commands.
- The source material does not provide the specific contents of the complete carrier list.
- When using sensitive logistics data, you must assess privacy and compliance risks yourself.