跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 QLS,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Pakketdienst QLS(荷兰):带面单和轨迹的包裹发货,配送产品和自提点,从 QLS 仓库发出的履约订单,履约商品和库存,缺货单,退货和入库采购单。删除商品和取消订单在安装时默认关闭。
试试这样问
QLS 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → QLS、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
QLS + ChatGPT
Pakketdienst QLS(荷兰):带面单和轨迹的包裹发货,配送产品和自提点,从 QLS 仓库发出的履约订单,履约商品和库存,缺货单,退货和入库采购单。删除商品和取消订单在安装时默认关闭。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
QLS_USERNAME, QLS_PASSWORD
步骤 1 — 获取凭证
设置大约需要 5 分钟。你需要一个 mijn.pakketdienstqls.nl 账号。
- QLS 用 HTTP Basic 和 mijn.pakketdienstqls.nl 门户的登录信息认证 API。如果你的账号允许,请为 API 单独建一个用户(联系 QLS IT 支持 [email protected]),这样某位同事改密码时连接器不会失效。
- 把用户名(通常是邮箱地址)填入
QLS_USERNAME,密码填入QLS_PASSWORD。 - 安装连接器并运行
qls_list_companies。它返回公司 id(UUID),其他所有工具都以company_id使用它;qls_get_company显示单个公司。
使用哪个 API:https://api.pakketdienstqls.nl 上的 QLS Fulfilment and Parcel Service API(OpenAPI 在 https://api.pakketdienstqls.nl/swagger/)。QLS 提供 v1 和 v2;连接器在 QLS 提供 v2 的地方(创建发货、退货、采购单)用 v2,其余用 v1。
需要先拿到的 id:qls_list_companies 的公司 id;qls_list_brands 的品牌 id(品牌带有发件、退货和报关地址,发货和下单都需要);qls_list_shipping_products 的配送产品,其中 combinations[].id 即 product_combination_id,options[].tag 是配送选项,另有按国家和重量段的价格以及最大尺寸。自提点来自 qls_list_service_points,或针对单个配送产品的 qls_list_product_service_points;把它们的 servicepoint_code 填到发货或订单上。
可读取的内容:包裹发货及其状态(created、printed、pre_transit、in_transit、delivered、returned_to_sender)、条码、跟踪 id 和跟踪链接,可按参考号、条码、状态、品牌、收件人字段、日期或关键词筛选;单票发货的重量,以及设置 with_label 时的 PDF 和 ZPL 面单链接;包裹的退货发货;履约订单的状态、订购、预留和已发数量、收件人、配送批次和已出库的发货;履约商品的 EAN、SKU、货号、价格、库存合计和库位(区、货架、层、保质期);按商品的库存(总数、预留、可用、可售、已售、缺货、在途、预测)和带批次的库位库存;缺货单;退货的状态、消费者、原发货和原订单以及退回商品和原因;采购单(预告的入库到货)的状态、商品、供应商和到货批次,包括在途的采购单;供应商。
可写入的内容:qls_create_shipment 向承运商预订包裹,返回条码、跟踪链接和 label_pdf_url;发件和退货地址默认取品牌的地址。qls_create_fulfillment_order 让 QLS 从你的库存拣货、打包并发出。qls_update_fulfillment_order 可以暂停或放行订单,或修改处理日期、参考号、备注或自提点。qls_create_fulfillment_product 和 qls_update_fulfillment_product 维护商品;qls_create_return_from_order 预报退货;qls_create_purchase_order 预报到仓的货物。发货会产生费用,履约订单会发出真实库存,所以每次写入前 AI 会先展示收件人、商品和数量以及配送产品,等你同意。
安装时关闭:qls_delete_fulfillment_product 和 qls_cancel_fulfillment_order,两者都无法撤销。团队需要时由管理员开启。
数据格式:每个响应都包装为 {"meta": {"code": 200}, "errors": [], "data": ..., "pagination": ...},数据位于 data。重量单位为克,价格和货到付款金额为欧元,尺寸为毫米。公司、品牌、订单、商品和发货的 id 是 UUID 字符串;配送产品和组合的 id 是整数。履约订单状态为 error_validation、concept、received、pending、partically_sent(QLS 的拼写)和 sent。库存和采购单的日期筛选使用 d-m-Y H:i(例如 1-10-2026 00:00),其他日期筛选使用日期或日期时间,如 2026-10-01 00:00:00。
分页:列表每页最多返回 100 条。pagination 包含 page、pageCount、count 和 nextPage;只要 nextPage 为 true,AI 就会继续请求下一 page。
常见错误:401 表示用户名或密码错误,它们就是 mijn.pakketdienstqls.nl 的登录信息。404(Niet Gevonden)表示 id 不存在或公司 id 不属于你:请从列表工具获取 id。422 或非空的 errors 列表表示校验问题;QLS 用荷兰语返回错误。
本连接器不能取消包裹发货,不读取 QLS 账单,也不修改品牌和公司设置:没有对应的工具。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。
- 前往 chatgpt.com/plugins,点击 Add,然后选择 Add custom MCP server。
- 填写名称,例如 Name:
QLS。 - 在 Connection 下的 Server URL 中填入
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。 - 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
- 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。
可用工具
| Tool | What it does |
|---|---|
qls_list_companies | List the QLS companies the API user may act for, with their id and name |
qls_get_company | Get one QLS company (id and name) by its id, to confirm which account the API user works on |
qls_list_brands | List the brands (trade names) of a company |
qls_get_brand | Get one brand (trade name) of a company by its id, with its name |
qls_list_shipping_products | List the shipping products (shipping methods such as DHL or PostNL parcel, mailbox or service point) the company may use, with their price… |
qls_list_service_points | Find carrier service points (pick-up points) near a postal code for every service point product the company has enabled, with address… |
qls_list_product_service_points | Find service points near a postal code for one shipping product (for example only DHL service points), with address, opening times and… |
qls_list_shipments | List the parcel shipments of a company with status (created, printed, pre_transit, in_transit, delivered, returned_to_sender), barcode… |
qls_get_shipment | Get one shipment with status, weight in grams, barcode, tracking id and URL |
qls_get_shipment_return | Get the return shipment created for a shipment (status, barcode, tracking), when the consumer sent the parcel back with a return label |
qls_list_fulfillment_orders | List fulfilment orders (orders QLS picks, packs and ships from its warehouse) with status (error_validation, concept, received, pending… |
qls_get_fulfillment_order | Get one fulfilment order with status, amounts ordered, reserved and delivered, receiver, products, deliveries and the shipments (barcode… |
qls_list_fulfillment_products | List the fulfilment products (articles stored at QLS) with name, EAN, SKU, article number, total, reserved and blocked stock and prices |
qls_get_fulfillment_product | Get one fulfilment product with EAN, SKU, prices, stock totals and the warehouse locations (zone, rack, shelf, best-before) where it is… |
qls_list_stock | List stock per fulfilment product only: total, reserved, available, salable, sold, backorder, incoming and forecast amounts. 100 products… |
qls_get_product_stock | Get the warehouse stock records of one fulfilment product: per location the current and reserved amount, batch and best-before date |
qls_list_backorders | List the fulfilment products that are in backorder (ordered but not in stock) with the missing amount, to see what to replenish |
qls_list_returns | List returns handled by QLS (v2) with status (created, approved, rejected, partially_rejected, quarantine, incomplete, completed and more)… |
qls_get_return | Get one return (v2) with status, consumer, original shipment and order and the returned products with expected and received amounts and… |
qls_list_purchase_orders | List purchase orders (announced inbound deliveries of goods to the QLS warehouse, v2) with status (created, in_transit, arrived… |
qls_list_purchase_orders_in_transit | List the purchase orders whose goods are on their way to the QLS warehouse (v2), with deliveries, products and estimated arrival |
qls_get_purchase_order | Get one purchase order (v2) with its products and amounts, suppliers, deliveries (barcode, estimated arrival, received) and labels |
qls_list_suppliers | List the suppliers of a company (id and name), used on purchase orders and linked to fulfilment products for reports |
qls_create_shipment | Create a parcel shipment (v2) and get its barcode, tracking URL and label URLs (label_pdf_url, label_zpl_url) |
qls_create_fulfillment_order | Create a fulfilment order: QLS picks the products from its stock, packs and ships them to the receiver |
qls_update_fulfillment_order | Change a fulfilment order that has not left the warehouse: put it on hold or release it, change the processable date, your reference, the… |
qls_cancel_fulfillment_order | Cancel a fulfilment order that has not been shipped yet; its reserved stock is released |
qls_create_fulfillment_product | Create a fulfilment product (an article QLS will store and ship) with name, EAN, SKU, image and prices |
qls_update_fulfillment_product | Update a fulfilment product: EAN, SKU, image or prices |
qls_delete_fulfillment_product | Delete a fulfilment product that has no stock or open orders |
qls_create_return_from_order | Announce a return for a fulfilment order (v2): QLS expects the listed products back and processes them on arrival |
qls_create_purchase_order | Announce an inbound delivery of goods to the QLS warehouse (v2 purchase order) with the products and amounts, suppliers and the expected… |
示例提示
- “我们发荷兰和比利时可以用哪些 QLS 配送产品?按重量段列出价格。”
- “查找邮编 3011 AB 附近的 DHL 自提点。”
- “为订单 1042 创建一票 PostNL 包裹,收件人是鹿特丹的 Jan de Vries,重 1200 克。先给我看收件人、产品和重量。”
- “哪些履约商品可用库存少于 20 件?它们有多少在途?”
- “列出本周仍处于 pending 或 partically_sent 的履约订单。”
FAQ
ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。
下一步
这份指南对你有帮助吗?