A Model Context Protocol (MCP) server for shipment tracking api, package monitoring, and logistics management using the TrackMage API. Supports tracking across 1600+ carriers worldwide. - Carrier Support: Track packages across 1600+ carriers worldwide (full list) - Resources: Workspaces, shipments, orders, carriers, tracking statuses - Tools: Create shipments/orders, get shipment checkpoints, carr
Add this skill
npx mdskills install trackmage/trackmage-mcp-serverWell-documented shipment tracking integration with comprehensive API tools and clear setup instructions
1# TrackMage MCP Server - Shipment Tracking API & Logistics API Integration23A Model Context Protocol (MCP) server for shipment tracking api, package monitoring, and logistics management using the TrackMage API. Supports tracking across 1600+ carriers worldwide.45## Features67- **Carrier Support**: Track packages across 1600+ carriers worldwide ([full list](https://trackmage.com/carriers/))8- **Resources**: Workspaces, shipments, orders, carriers, tracking statuses9- **Tools**: Create shipments/orders, get shipment checkpoints, carrier detection10- **Authentication**: OAuth with client credentials1112## ⚠️ Data Privacy Notice1314**Data sharing with your LLM provider**: This MCP server provides data to whichever LLM you're using (Claude, ChatGPT, etc.). While this is the expected behavior for MCP servers, please ensure you're comfortable sharing logistics data including tracking numbers, customer emails, addresses, and shipment details with your chosen LLM provider.1516**Best practices:**17- Only use with non-sensitive or test data if you have privacy concerns18- Check your LLM provider's data handling policies19- Consider opting out of training data programs if available20- Ensure compliance with your organization's data policies2122## Prerequisites2324- Node.js v18+25- TrackMage account2627## Getting Credentials28291. Register and log into [TrackMage](https://app.trackmage.com).302. Go to **Settings > API KEYS**.313. Enter an **App Name** (e.g., "MCP") and **App URL** (e.g., `http://localhost:3000`).324. Click **Generate** and copy your **Client ID** and **Client Secret**.335. Note your **Workspace ID** from the dashboard URL.3435## Installation3637### Option 1: Local Setup3839```bash40git clone https://github.com/yourusername/trackmage-mcp-server.git41cd trackmage-mcp-server42npm install43cp .env.example .env44# Edit .env with your credentials45npm start46```4748## Configuration4950Edit `.env`:5152```53TRACKMAGE_CLIENT_ID=your_client_id_here54TRACKMAGE_CLIENT_SECRET=your_client_secret_here55TRACKMAGE_WORKSPACE_ID=your_workspace_id_here56```5758## Usage5960Run the server:6162```bash63npm start64```65and then use66```67{68 "mcpServers": {69 "trackmage": {70 "transport": {71 "type": "http",72 "host": "localhost",73 "port": 300074 }75 }76 }77}7879```80or using file process:81```82{83 "mcpServers": {8485 "trackmage": {86 "command": "node",87 "args": ["/path/to/trackmage-mcp-server/index.js"],88 "env": {89 "TRACKMAGE_CLIENT_ID": "your_client_id_here",90 "TRACKMAGE_CLIENT_SECRET": "your_client_secret_here",91 "TRACKMAGE_WORKSPACE_ID": "your_workspace_id_here"92 }93 }9495 }96}97```9899### MCP Resources100101- `trackmage:///workspaces/{id}`102- `trackmage:///shipments/{id}`103- `trackmage:///orders/{id}`104- `trackmage:///carriers/{id}`105- `trackmage:///tracking_statuses/{id}`106107### MCP Tools108109#### Shipment Management110111- **`create_shipment`**: Create a new shipment112 - Parameters: `{ trackingNumber, originCarrier?, email?, workspaceId? }`113 - Returns: Created shipment object114115- **`update_shipment`**: Update an existing shipment116 - Parameters: `{ shipmentId, trackingNumber?, originCarrier?, email?, status? }`117 - Returns: Updated shipment object118119- **`list_shipments`**: List shipments from workspace120 - Parameters: `{ workspaceId?, page?, itemsPerPage? }`121 - Returns: Array of shipment objects122123- **`get_shipment_checkpoints`**: Get tracking checkpoints for a shipment124 - Parameters: `{ shipmentId }`125 - Returns: Array of tracking checkpoint events126127- **`retrack_shipments`**: Retrack multiple shipments by tracking numbers128 - Parameters: `{ trackingNumbers: [{ number, originCarrier? }], workspaceId? }`129 - Returns: Retracking results130131#### Order Management132133- **`create_order`**: Create a new order134 - Parameters: `{ orderNumber, email?, workspaceId? }`135 - Returns: Created order object136137- **`update_order`**: Update an existing order138 - Parameters: `{ orderId, orderNumber?, email?, status? }`139 - Returns: Updated order object140141- **`list_orders`**: List orders from workspace142 - Parameters: `{ workspaceId?, page?, itemsPerPage? }`143 - Returns: Array of order objects144145#### Carrier Management146147- **`list_carriers`**: List available carriers148 - Parameters: `{ page?, itemsPerPage? }`149 - Returns: Array of carrier objects with codes and names150151- **`detect_carrier`**: Detect possible carriers for a tracking number152 - Parameters: `{ trackingNumber }`153 - Returns: Array of possible carrier matches154155## Testing156157```bash158npm test159```160
Full transparency — inspect the skill content before installing.