MCP
Connect your AI assistant to Superroute using the Model Context Protocol (MCP) for package tracking and more.
The Model Context Protocol (MCP) is an open standard that allows AI assistants like Claude, Cursor, and ChatGPT to interact with external tools and services. It enables your AI to perform real actions — such as tracking a package — directly within the conversation.
By configuring the Superroute MCP server, your AI assistant gains access to logistics tools without leaving your workflow.
Public tools like package tracking work without any authentication. Add this configuration to your MCP client:
{
"mcpServers": {
"mili-express": {
"type": "url",
"url": "https://api.miliexpress.com/mcp"
}
}
}
To use tools that require user permissions, add your API Bearer token to the configuration:
{
"mcpServers": {
"mili-express": {
"type": "url",
"url": "https://api.miliexpress.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-token>"
}
}
}
}
Call the login endpoint with your credentials:
curl -X POST https://api.miliexpress.com/api/v1/user/login \ -H "Content-Type: application/json" \ -d '{"email": "you@example.com", "password": "your-password"}'
The response will include your access token:
{
"access_token": "eyJ0eXAiOiJKV1Qi...",
"token_type": "Bearer",
"expires_at": "2026-02-20 00:00:00"
}
Use the access_token value in the Authorization header of your MCP configuration.
The following tools are currently available on the MCP server:
| Tool | Authentication | Description |
|---|---|---|
track_package |
Public | Track a package by its tracking number. Returns delivery status, tracking events timeline, and proof of delivery if available. |
More tools will be added over time. Authenticated tools will only appear when a valid token is provided.
Select your AI client below for tailored setup instructions:
Claude Code reads MCP configuration from a .mcp.json file in your project root or home directory.
{
"mcpServers": {
"mili-express": {
"type": "url",
"url": "https://api.miliexpress.com/mcp"
}
}
}
To use authenticated tools, add the headers field:
{
"mcpServers": {
"mili-express": {
"type": "url",
"url": "https://api.miliexpress.com/mcp",
"headers": {
"Authorization": "Bearer <your-api-token>"
}
}
}
}
Cursor supports MCP servers via its built-in configuration.
{
"mcpServers": {
"mili-express": {
"type": "url",
"url": "https://api.miliexpress.com/mcp"
}
}
}
Windsurf uses a global MCP configuration file.
{
"mcpServers": {
"mili-express": {
"serverUrl": "https://api.miliexpress.com/mcp"
}
}
}
ChatGPT supports MCP connections for Plus, Pro, and Team users.
https://api.miliexpress.com/mcp