ghn_list_provinces
List provinces
List all provinces and cities with their ProvinceID. Use the ProvinceID with ghn_list_districts. Uses the district address model. GHN: GET /master-data/province.
無需輸入參數。
io.usefulapi由 usefulapi.io 發布官方發布者v1.0.1更新於 Nov 8, 2026
Quote shipping fees, track orders, and create or cancel shipping orders in GHN.
發布方自己的服務:Ably MCP by usefulapi
面向 GHN 物流的託管 MCP 伺服器:讓助理查詢運費、查看訂單,並建立或取消真實配送訂單。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.usefulapi%2Fghn/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"ghn-by-usefulapi": {
"type": "http",
"url": "https://ghn.usefulapi.io/mcp"
}
}
}Use your GHN account from Claude, Cursor, or any MCP client. Quote shipping fees, read orders, and create or cancel GHN shipping orders. Hosted, no local install: connect with your own credentials.
Live endpoint: https://ghn.usefulapi.io/mcp · Homepage: https://usefulapi.io
https://ghn.usefulapi.io/mcp.claude mcp add --transport http ghn https://ghn.usefulapi.io/mcp, then run /mcp to log in.Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your GHN credentials.
Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/ghn/
On first connect you provide your GHN Token API value (GHN Developer Portal, Manage token; reveal it with the OTP sent to your phone) and your GHN ShopId (in your GHN account information). The server validates them and stores them per user. No keys go in config files.
read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.
*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this server only. Subscribe with ghn_upgrade (it returns a Stripe Checkout link). Cancel any time with ghn_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running ghn_upgrade before then undoes the cancel. Or write to [email protected].
MIT — see LICENSE. Documentation only; the server is hosted.
來源:servers/ghn/README.md,提交 eece7cf
List provinces
List all provinces and cities with their ProvinceID. Use the ProvinceID with ghn_list_districts. Uses the district address model. GHN: GET /master-data/province.
無需輸入參數。
List districts
List the districts of one province with DistrictID and service support (SupportType: 0 locked, 1 pickup only, 2 delivery only, 3 both). GHN: GET /master-data/district?province_id=.
province_id必填List wards
List the wards of one district. Use WardCode (a string) for ghn_calculate_fee and ghn_create_order ward fields. GHN: GET /master-data/ward?district_id=.
district_id必填List delivery services
List the delivery services GHN offers on a route for this shop. Returns service_type_id (2 = under 20 kg, 5 = 20 kg or more or multi-parcel). Call it before ghn_calculate_fee. GHN: POST /v2/shipping-order/available-services.
to_district_id必填from_district_id必填Calculate shipping fee
Quote the shipping fee for a parcel to a ward, before creating an order. Quote only: no order is created. GHN: POST /v2/shipping-order/fee.
itemswidthcouponheightlengthweight必填cod_valueto_ward_code必填from_ward_codeto_district_id必填insurance_valueservice_type_id必填另有 1 個Get an order
Get the full details of one shipping order by its GHN tracking code: status, parties, COD, fees and items. GHN: GET /v2/shipping-order/detail?order_code=.
order_code必填Get an order by your code
Get the full details of one shipping order by your own client_order_code instead of the GHN tracking code. GHN: GET /v2/shipping-order/detail-by-client-code?client_order_code=.
client_order_code必填Create a shipping order
CREATES A REAL SHIPPING ORDER: GHN picks up and delivers the parcel and can charge the shop or collect cash on delivery (COD) from the recipient. Call only after the user explicitly confirms the recipient, the parcel and the fee in this chat (use ghn_calculate_fee first). client_order_code is required: a retry with the same code returns the first order and creates no duplicate. Set to_district_name when is_new_to_address is false. Send content or items. GHN: POST /v2/shipping-order/create.
noteitemswidth必填height必填length必填weight必填contentto_name必填to_phone必填cod_amountto_address必填to_ward_name必填另有 8 個Cancel shipping orders
CANCELS REAL SHIPPING ORDERS. The batch is all-or-nothing: one unknown or foreign order code cancels nothing. Call only after the user explicitly confirms the order codes. An order that can no longer be cancelled returns result false. GHN: POST /v2/switch-status/cancel.
reasonorder_codes必填reason_code已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
io.usefulapi官方發布者
MCP server for Ably — channel history, presence, occupancy, stats, publish, and app management.
io.usefulapi官方發布者
託管的唯讀 MCP 伺服器,讓助理讀取 Tiltify 的募款活動、捐款紀錄以及捐款人與募款人排行榜。
io.usefulapi官方發布者
託管的 Termii 伺服器,讓助理傳送簡訊,並查詢錢包餘額、DND 狀態、寄件者 ID 和訊息紀錄。
io.usefulapi官方發布者
託管型 MCP 伺服器,讓助理讀取 Temp Stick 的溫度與濕度感測器、其讀值以及警示通知。
io.usefulapi官方發布者
將助理連接到 Stibee 電子郵件行銷工作區,可讀取地址簿、訂閱者和郵件統計,並新增訂閱者與分組。
{ "mcpServers": { "ghn": { "url": "https://ghn.usefulapi.io/mcp" } }}