Docs Procurement MCP Reference Settings
The server reads settings from the environment and from .env in the repository root. The environment wins over .env. Every setting is optional, and an empty value counts as unset. .env.example lists them all.
Destination#
Variable Default Meaning
SHIP_TO_COUNTRYAUDestination country code.
SHIP_TO_POSTCODE4000Destination postcode (Brisbane).
SHIP_TO_LAT-27.4698Latitude of the centre for pickup searches.
SHIP_TO_LNG153.0251Longitude of the centre for pickup searches.
PICKUP_RADIUS_KM50Radius for pickup searches.
Keys#
Variable Default Meaning
APIFY_TOKENunset Apify token for every Apify actor lane and search_by_image.
TMAPI_TOKENunset TMAPI key. TMAPI_API_TOKEN is accepted too.
EBAY_APP_IDunset eBay client id. EBAY_CLIENT_ID is accepted too.
EBAY_CERT_IDunset eBay client secret. EBAY_CLIENT_SECRET is accepted too.
EBAY_OAUTH_TOKENunset A bearer token fetched by you. Skips the client-credentials call.
SOCIAVAULT_API_KEYunset SociaVault key for facebook.
KEEPA_API_KEYunset Keepa key for get_price_history.
KEEPA_DOMAINunset Keepa's numeric domain id for amazon.com.au.
GUMTREE_COOKIESunset Cookies from a browser session on Gumtree.
Apify actors#
Each lane runs the actor named here. Change a value to run another actor with the same output format.
Variable Default
TAOBAO_APIFY_ACTORzen-studio/taobao-search-scraper
JD_APIFY_ACTORzen-studio/jd-com-search-scraper
ALI1688_APIFY_ACTORzen-studio/1688-wholesale-scraper
AMAZON_APIFY_ACTORjunglee/free-amazon-product-scraper
EBAY_SOLD_APIFY_ACTORcaffein.dev/ebay-sold-listings
WOOLWORTHS_APIFY_ACTORdromb/woolworths-au-product-search-catalog-unofficial
COLES_APIFY_ACTORdromb/coles-au-product-search-specials-stores-unofficial
ALDI_APIFY_ACTORdromb/aldi-au-product-search-catalog-unofficial
GUMTREE_APIFY_ACTORcrawlerbros/gumtree-scraper
IMAGE_SEARCH_APIFY_ACTORdev00/alibaba-1688-aliexpress-reverse-image-search-api
Deal feeds#
Variable Default
OZBARGAIN_FEED_URLhttps://www.ozbargain.com.au/deals/feed
CHEAPIES_FEED_URLhttps://www.cheapies.nz/deals/feed
Forwarder estimate and currency#
Variable Default Meaning
FORWARDER_RATE_AUD_PER_KG12.0Freight per kg, China to Australia. A placeholder.
FORWARDER_DEFAULT_WEIGHT_KG0.5Weight of one item when a search gives none. A placeholder.
FORWARDER_MIN_CHARGE_AUD15.0Smallest freight charge. A placeholder.
FORWARDER_FEE_PCT0.0Forwarder service fee as a fraction.
GST_RATE0.10GST applied to the forwarded total.
CNY_TO_AUD0.215Fixed CNY to AUD rate.
NZD_TO_AUD0.92Fixed NZD to AUD rate, for Cheapies prices.
Database#
Variable Default Meaning
DATABASE_URLunset Postgres connection string. Unset: no cache, no log.
PROCUREMENT_PG_SCHEMAprocurementSchema name. Must match [a-z_][a-z0-9_]*.
PROCUREMENT_CACHE_TTL_S3600Seconds a cached search is served.
Behaviour#
Variable Default Meaning
PROCUREMENT_DEADLINE_S55Seconds allowed for a whole search.
PROCUREMENT_TIMEOUT_S8Timeout of one direct API call (eBay, TMAPI, feeds).
PROCUREMENT_INCLUDE_RAW01 adds each source's raw payload to offers as raw.
MCP_HTTP_PORTunset Serve streamable HTTP on 127.0.0.1:<port> at /mcp. Unset: stdio.
eBay notifications#
Variable Default Meaning
EBAY_DELETION_TOKENunset Verification token for eBay account-deletion notifications.
EBAY_DELETION_ENDPOINThttps://procurement.jupiter.au/ebay/notificationsThe URL registered in the eBay developer portal.
See also
Source: belikh/procurement HEAD