PostEx MCP Server
@faizan45640
About PostEx MCP Server
MCP server providing tools to interact with the PostEx Merchant API for order management, tracking, and other logistics operations.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"PostEx-MCP-Server": {
"command": "node",
"args": [
"index.js",
"<YOUR_POSTEX_API_TOKEN>"
]
}
}
}Tools
14Get a list of cities where PostEx operates.
Get the merchant's registered pickup addresses.
Create a new pickup address for the merchant.
Get the types of orders supported (e.g., "Normal", "Reverse").
Create a new order in the PostEx system.
List orders created but not yet booked for pickup within a date range.
Track a single order using its tracking number.
Track multiple orders using a list of tracking numbers. (Note: API docs specify GET but require a body; implementation uses GET as per latest code change, which might not work as expected with a body).
Provide advice (e.g., retry, return) for an attempted parcel.
Retrieve shipper advice history for a tracking number.
Cancel an order using its tracking number. (Note: Implemented as PUT with a JSON body).
Check the payment settlement status for an order.
Get a list of all possible order statuses.
List orders within a date range, optionally filtered by status ID.
Overview
What is PostEx MCP Server?
An MCP server that provides tools for interacting with various endpoints of the PostEx Merchant API (v4.1.9). It is intended for developers who need to manage PostEx orders, addresses, tracking, and related operations through a standardized protocol.
How to use PostEx MCP Server?
Install dependencies (@modelcontextprotocol/sdk, zod, node-fetch@2), then run the server with Node.js, passing your PostEx API token as a command-line argument: node index.js <YOUR_POSTEX_API_TOKEN>. The server connects via standard I/O and listens for MCP requests.
Key features of PostEx MCP Server
- Exposes 14 tools covering order, address, and tracking operations.
- Validates input parameters using Zod schemas.
- Securely passes API token via command line.
- Graceful shutdown on SIGINT and SIGTERM signals.
- Uses
node-fetchfor HTTP requests to PostEx API.
Use cases of PostEx MCP Server
- Automate order creation and booking from an AI assistant.
- Retrieve operational cities and merchant addresses for logistics workflows.
- Track single or multiple orders programmatically.
- Manage shipper advice (retry/return) for failed deliveries.
- Cancel orders and check payment settlement status.
FAQ from PostEx MCP Server
What runtime and dependencies are required?
Node.js (LTS recommended) and npm/yarn. Dependencies include @modelcontextprotocol/sdk, zod, and node-fetch@2.
How do I obtain an API token?
A valid PostEx Merchant API Token must be obtained from your PostEx merchant account or representative.
Which PostEx API endpoints are not implemented?
Endpoints that return PDF files (generate-load-sheet, get-invoice) are not implemented in this version.
How does authentication work?
The API token is passed as a command-line argument and used in the Authorization header for all API calls.
How is the server connected to MCP?
The server uses standard I/O for communication and logs status messages to standard error.
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

EverArt
modelcontextprotocolModel Context Protocol Servers
Comments