TrackMage
Shipment tracking api and logistics management capabilities through the TrackMage API
TrackMage MCP Server - Shipment Tracking API & Logistics API Integration
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.
Features
- Carrier Support: Track packages across 1600+ carriers worldwide (full list)
- Resources: Workspaces, shipments, orders, carriers, tracking statuses
- Tools: Create shipments/orders, get shipment checkpoints, carrier detection
- Authentication: OAuth with client credentials
⚠️ Data Privacy Notice
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.
Best practices:
- Only use with non-sensitive or test data if you have privacy concerns
- Check your LLM provider's data handling policies
- Consider opting out of training data programs if available
- Ensure compliance with your organization's data policies
Prerequisites
- Node.js v18+
- TrackMage account
Getting Credentials
- Register and log into TrackMage.
- Go to Settings > API KEYS.
- Enter an App Name (e.g., "MCP") and App URL (e.g.,
http://localhost:3000). - Click Generate and copy your Client ID and Client Secret.
- Note your Workspace ID from the dashboard URL.
Installation
Option 1: Local Setup
git clone https://github.com/yourusername/trackmage-mcp-server.git
cd trackmage-mcp-server
npm install
cp .env.example .env
# Edit .env with your credentials
npm start
Configuration
Edit .env:
TRACKMAGE_CLIENT_ID=your_client_id_here
TRACKMAGE_CLIENT_SECRET=your_client_secret_here
TRACKMAGE_WORKSPACE_ID=your_workspace_id_here
Usage
Run the server:
npm start
and then use
{
"mcpServers": {
"trackmage": {
"transport": {
"type": "http",
"host": "localhost",
"port": 3000
}
}
}
}
or using file process:
{
"mcpServers": {
"trackmage": {
"command": "node",
"args": ["/path/to/trackmage-mcp-server/index.js"],
"env": {
"TRACKMAGE_CLIENT_ID": "your_client_id_here",
"TRACKMAGE_CLIENT_SECRET": "your_client_secret_here",
"TRACKMAGE_WORKSPACE_ID": "your_workspace_id_here"
}
}
}
}
MCP Resources
trackmage:///workspaces/{id}trackmage:///shipments/{id}trackmage:///orders/{id}trackmage:///carriers/{id}trackmage:///tracking_statuses/{id}
MCP Tools
Shipment Management
-
create_shipment: Create a new shipment- Parameters:
{ trackingNumber, originCarrier?, email?, workspaceId? } - Returns: Created shipment object
- Parameters:
-
update_shipment: Update an existing shipment- Parameters:
{ shipmentId, trackingNumber?, originCarrier?, email?, status? } - Returns: Updated shipment object
- Parameters:
-
list_shipments: List shipments from workspace- Parameters:
{ workspaceId?, page?, itemsPerPage? } - Returns: Array of shipment objects
- Parameters:
-
get_shipment_checkpoints: Get tracking checkpoints for a shipment- Parameters:
{ shipmentId } - Returns: Array of tracking checkpoint events
- Parameters:
-
retrack_shipments: Retrack multiple shipments by tracking numbers- Parameters:
{ trackingNumbers: [{ number, originCarrier? }], workspaceId? } - Returns: Retracking results
- Parameters:
Order Management
-
create_order: Create a new order- Parameters:
{ orderNumber, email?, workspaceId? } - Returns: Created order object
- Parameters:
-
update_order: Update an existing order- Parameters:
{ orderId, orderNumber?, email?, status? } - Returns: Updated order object
- Parameters:
-
list_orders: List orders from workspace- Parameters:
{ workspaceId?, page?, itemsPerPage? } - Returns: Array of order objects
- Parameters:
Carrier Management
-
list_carriers: List available carriers- Parameters:
{ page?, itemsPerPage? } - Returns: Array of carrier objects with codes and names
- Parameters:
-
detect_carrier: Detect possible carriers for a tracking number- Parameters:
{ trackingNumber } - Returns: Array of possible carrier matches
- Parameters:
Testing
npm test
相關伺服器
Bitly MCP Server
Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.
TikTok Ads MCP Server
A Model Context Protocol (MCP) server for TikTok Ads API integration. This server enables AI assistants like Claude to interact with TikTok advertising campaigns, providing comprehensive campaign management, analytics, and optimization capabilities. Part of the AdsMCP project - MCP servers for advertising platforms.
Notion
Interact with Notion using its API. This server mirrors the Notion API SDK, allowing LLMs to manage pages, databases, and other Notion content.
Bakaláři
Access data from the Bakaláři school system, including schedules, absences, and grades, through a standardized API.
Amazing Marvin AI Assistant
Connect your Amazing Marvin productivity system with AI assistants for smarter task management.
Nuclei Server
A simple notes system with resources, tools, and prompts.
ClickUp
Integrate AI assistants with ClickUp for productivity and project management.
che-ical-mcp
Native macOS Calendar & Reminders MCP server with 24 tools using Swift EventKit - supports recurring events, location triggers, search, batch operations
PowerPoint MCP Server
Manipulate PowerPoint presentations using the python-pptx library.
n8n MCP Server
Manage n8n workflows, executions, and credentials through the Model Context Protocol.