1. Conduid
  2. Science
  3. PostEx MCP Server
MCP server · Science

PostEx MCP Server

MCP server providing tools to interact with the PostEx Merchant API for order management, tracking, and other logistics operations.

34Low

Scored 6 months ago · breakdown

About PostEx MCP Server

PostEx MCP Server is an MCP server in the Science category: mCP server providing tools to interact with the PostEx Merchant API for order management, tracking, and other logistics operations.

Install

From source
git clone https://github.com/faizan45640/PostEx-MCP-Server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (14)

cancelOrderCancel an order using its tracking number. (Note: Implemented as PUT with a JSON body).

Parameters not published.

createMerchantAddressCreate a new pickup address for the merchant.

Parameters not published.

createOrderCreate a new order in the PostEx system.

Parameters not published.

getMerchantAddressGet the merchant's registered pickup addresses.

Parameters not published.

getOperationalCitiesGet a list of cities where PostEx operates.

Parameters not published.

getOrderStatusGet a list of all possible order statuses.

Parameters not published.

getOrderTypesGet the types of orders supported (e.g., "Normal", "Reverse").

Parameters not published.

getPaymentStatusCheck the payment settlement status for an order.

Parameters not published.

getShipperAdviceRetrieve shipper advice history for a tracking number.

Parameters not published.

getUnbookedOrdersList orders created but not yet booked for pickup within a date range.

Parameters not published.

Show all 14 tools
listOrdersList orders within a date range, optionally filtered by status ID.

Parameters not published.

saveShipperAdviceProvide advice (e.g., retry, return) for an attempted parcel.

Parameters not published.

trackBulkOrderTrack 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).

Parameters not published.

trackOrderTrack a single order using its tracking number.

Parameters not published.

Ask AI

✦

Ask AI about PostEx MCP Server

Powered by Claude · Grounded in docs

I know everything about PostEx MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

PostEx MCP Server

This project implements a Model Context Protocol (MCP) server that provides tools for interacting with various endpoints of the PostEx Merchant API (v4.1.9).

Prerequisites

  • Node.js (LTS version recommended)
  • npm or yarn
  • A valid PostEx Merchant API Token

Setup

  1. Clone the repository (if applicable) or ensure you have the index.js file.
  2. Install dependencies:
    npm install @modelcontextprotocol/sdk zod node-fetch@2 # Use v2 for require syntax compatibility
    # or
    yarn add @modelcontextprotocol/sdk zod node-fetch@2
    
  3. Obtain your PostEx API Token from your PostEx merchant account or representative.

Running the Server

Execute the server using Node.js, providing your PostEx API token as a command-line argument:

node index.js <YOUR_POSTEX_API_TOKEN>

Replace <YOUR_POSTEX_API_TOKEN> with your actual token.

The server will connect via standard I/O and log status messages to standard error. It is now ready to receive MCP requests.

Available Tools

The server exposes the following tools, corresponding to PostEx API endpoints:

  • getOperationalCities: Get a list of cities where PostEx operates.
  • getMerchantAddress: Get the merchant's registered pickup addresses.
  • createMerchantAddress: Create a new pickup address for the merchant.
  • getOrderTypes: Get the types of orders supported (e.g., "Normal", "Reverse").
  • createOrder: Create a new order in the PostEx system.
  • getUnbookedOrders: List orders created but not yet booked for pickup within a date range.
  • trackOrder: Track a single order using its tracking number.
  • trackBulkOrder: 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).
  • saveShipperAdvice: Provide advice (e.g., retry, return) for an attempted parcel.
  • getShipperAdvice: Retrieve shipper advice history for a tracking number.
  • cancelOrder: Cancel an order using its tracking number. (Note: Implemented as PUT with a JSON body).
  • getPaymentStatus: Check the payment settlement status for an order.
  • getOrderStatus: Get a list of all possible order statuses.
  • listOrders: List orders within a date range, optionally filtered by status ID.

Note: Tools corresponding to API endpoints that return PDF files (generate-load-sheet, get-invoice) are not implemented in this version.

Development Notes

  • The server uses node-fetch for making HTTP requests to the PostEx API.
  • zod is used for input validation for the tool parameters.
  • The API token is passed securely as a command-line argument and used in the Authorization header for API calls.
  • Error handling is basic; check console output for potential issues during API calls.
  • Graceful shutdown is handled for SIGINT and SIGTERM signals.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About PostEx MCP Server

How do I install PostEx MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is PostEx MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is PostEx MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.