KosmoKrator

data

AfterShip MCP, CLI, and Lua Integration for AI Agents

AfterShip integration docs for AI agents: MCP gateway setup, AfterShip CLI commands, Lua API reference, credentials, and function schemas.

AfterShip for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
aftership.aftership_list_trackings Read read 0 List shipment trackings with filters and pagination.
aftership.aftership_create_tracking Write write 0 Create a shipment tracking.
aftership.aftership_get_tracking Read read 0 Get a tracking by ID.
aftership.aftership_update_tracking Write write 0 Update a tracking by ID.
aftership.aftership_delete_tracking Write write 0 Delete a tracking by ID.
aftership.aftership_retrack_tracking Write write 0 Retrack an expired tracking by ID.
aftership.aftership_mark_tracking_completed Write write 0 Mark a tracking as completed by ID.
aftership.aftership_list_couriers Read read 0 List supported couriers.
aftership.aftership_detect_courier Read read 0 Detect courier candidates for a tracking number.
aftership.aftership_list_courier_connections Read read 0 List courier connections.
aftership.aftership_create_courier_connections Write write 0 Create courier connections.
aftership.aftership_get_courier_connection Read read 0 Get a courier connection by ID.
aftership.aftership_update_courier_connection Write write 0 Update a courier connection by ID.
aftership.aftership_delete_courier_connection Write write 0 Delete a courier connection by ID.
aftership.aftership_predict_estimated_delivery_date Read read 0 Predict estimated delivery date for one shipment.
aftership.aftership_batch_predict_estimated_delivery_date Read read 2 Predict estimated delivery dates for multiple shipments.