hertwill-mcp
Allows publishing products from the Hertwill catalog to a Shopify store at an absolute selling price, with automatic variant resolution and sync status reporting.
Allows publishing products from the Hertwill catalog to a WooCommerce store at an absolute selling price, with automatic variant resolution and sync status reporting.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hertwill-mcp Find alpaca throws under €150 that ship to Finland."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hertwill-mcp
An MCP server for the Hertwill dropshipping API (API docs). Use it to search the catalog, manage your store's import list, and publish products to your Shopify or WooCommerce store, all from Claude or any other MCP client.
Built on the MCP TypeScript SDK v2 (
@modelcontextprotocol/server). It serves the 2026-07-28 protocol revision and still works with clients on the 2025 revisions.Uses the stdio transport. It needs Node.js 20 or newer.
Tools
Tool | What it does | API key |
| Full-text search, or browse with filters (brand, category, price, stock, on sale, ships-to country, attributes) plus sorting and pagination | optional¹ |
| Full product details by id or slug, including variations; optionally translated (21 languages) | optional¹ |
| The category tree, or a single category | – |
| Brand listing, or full details for one brand (return policy, GPSR, …) | – |
| A brand's shipping price lists, optionally filtered to one destination country | – |
| Your store's import list, filterable by status | required |
| Add 1–50 products to the import list (idempotent) | required |
| Remove a product from the import list | required |
| Publish a product to your store at an absolute selling price. Variant pairs are resolved automatically | required |
| Your store's sync health, counts, and failing products | required |
| Sync status for all products, or for one | required |
¹ Catalog tools work without a key, but wholesale price comes back null unless a key is set.
The API's account endpoints (/v1/auth/* and /v1/api-keys) are deliberately left out. They need your email and password, and you manage them in the Hertwill dashboard.
Related MCP server: horoshop-mcp
Setup
Create a store-scoped API key (
hw_live_…) in your Hertwill account dashboard.Add the server to your MCP client.
Claude Code
claude mcp add -s user hertwill -e HERTWILL_API_KEY=hw_live_xxx -- npx -y github:aanndryyyy/hertwill-mcpClaude Desktop, Cursor, and other clients using mcpServers JSON
{
"mcpServers": {
"hertwill": {
"command": "npx",
"args": ["-y", "github:aanndryyyy/hertwill-mcp"],
"env": { "HERTWILL_API_KEY": "hw_live_xxx" }
}
}
}From a local clone
git clone https://github.com/aanndryyyy/hertwill-mcp.git
cd hertwill-mcp && npm install # builds dist/ automatically
claude mcp add -s user hertwill -e HERTWILL_API_KEY=hw_live_xxx -- node "$PWD/dist/index.js"Environment variables
Variable | Default | Purpose |
| – | Store-scoped API key. Required for the import-list and sync tools, and it unlocks prices |
|
| Override the API base URL |
Example prompts
"Find alpaca throws under €150 that ship to Finland."
"Add products 11167 and 9292 to my import list."
"Sync product 11167 to my store at €219."
"Is anything failing to sync in my store?"
Notes
Selling price is absolute.
sync_producttakes the retail price in your store's currency (e.g.24.99), not a markup multiplier. The API rejects prices below wholesale withPRICE_BELOW_COST.Variants.
sync_productfirst adds the product to the import list (a no-op if it's already there), so it gets the authoritative(id, dropship_id)pairs. Every variant then getsselling_price, unless you override individual variants withvariation_prices.Confirmation before writes. If your client supports elicitation,
sync_productandremove_from_import_listask you to confirm first. For a sync, the prompt shows the product, your selling price and the wholesale cost. If you decline, nothing is synced or removed, and the tool returnsstatus: "declined"(or"cancelled"if you dismissed the prompt). A declined sync still leaves the product in your import list, becausesync_productstages it there before asking. The confirmation is bound to the exact arguments through a signedrequestState, so a client cannot answer it in advance or reuse it for other arguments. Clients without form elicitation skip this step and rely on their own tool-approval prompt.Structured output. Every tool declares an
outputSchemaand returnsstructuredContent, with the same JSON as text. List tools return objects:{ categories },{ brands },{ price_lists },{ results }.Rate limits. The API allows 60 requests/min per IP on public endpoints and 300/min per key on authenticated ones. A
429comes back as a tool error that includes the retry delay.Response size. List responses leave out HTML descriptions and facets by default. Pass
include_description/include_facetsto get them.
Development
npm install
npm run build
npx @modelcontextprotocol/inspector node dist/index.js # interactive testing
# End-to-end smoke test against the live API. It's read-only; authenticated tools run only when a key is set.
HERTWILL_API_KEY=hw_live_xxx npm test # 2026-07-28 protocol
PROTOCOL=legacy HERTWILL_API_KEY=hw_live_xxx npm test # 2025-era protocolLicense
MIT
Available Tools
14 toolsadd_to_import_listAdd products to import listAIdempotent
Add 1–50 catalog products to your store's import list. Idempotent: re-adding returns status 'already_exists'. The response includes each product's variations (id, dropship_id) pairs. Requires HERTWILL_API_KEY.
Inputs: product_ids (required). Returns: results
get_brandGet brandARead-only
Get full details for one brand by numeric id, including return policy, GPSR and responsible person.
Inputs: brand_id (required). Returns: id, name, slug
get_brand_shipping_pricesGet brand shipping pricesARead-only
Get a brand's shipping price lists: per destination country price and delivery days. Optionally filter to one destination country.
Inputs: brand_id (required), destination. Returns: price_lists
get_categoryGet categoryBRead-only
Get one category by id or slug.
Inputs: id_or_slug (required). Returns: id, name, slug, children, +1 more
get_productGet product detailsARead-only
Get full details for one catalog product by numeric id or slug, including variations (with their catalog variation ids), its public page url, images, attributes, shipping, packaging and compliance data. Note: wholesale price is null unless HERTWILL_API_KEY is configured.
Inputs: id_or_slug (required), lang. Returns: data, meta
get_sync_healthStore sync healthARead-only
Get your store's sync health (healthy / degraded / disabled), per-status counts and the failing products with their error class. Requires HERTWILL_API_KEY.
Inputs: no named parameters. Returns: object
get_sync_statusGet product sync statusBRead-only
Get the sync status of one product in your store. Requires HERTWILL_API_KEY.
Inputs: product_id (required). Returns: object
list_brandsList brandsARead-only
List all brands (id, name, slug, dispatch days, shipping origin…). Long descriptions are omitted unless include_description is true. Use slugs as the brand filter in search_products.
Inputs: include_description. Returns: brands
list_categoriesList categoriesARead-only
List the product category tree (id, slug, name, children). Use slugs as the category filter.
Inputs: no named parameters. Returns: categories
list_import_listList import listARead-only
List products in your store's import list. Defaults to status 'not-synced' (products not yet in your store); pass status 'synced' for already-synced ones. Each item's id is the catalog product id to use with sync_product; variations holds the (id, dropship_id) pairs. Link a product as product_url_template with its slug filled in. Requires HERTWILL_API_KEY.
Inputs: page, order, status, order_by, +2 more. Returns: data, pagination, product_url_template
list_sync_jobsList sync jobsCRead-only
List products by sync status (omit status for all). Requires HERTWILL_API_KEY.
Inputs: page, status, per_page. Returns: data, pagination
remove_from_import_listRemove product from import listADestructiveIdempotent
Remove a product from your store's import list. When the client supports it, the user is asked to confirm first; if they decline, nothing is removed and the result has status 'declined' (or 'cancelled' if they dismissed the prompt). Requires HERTWILL_API_KEY.
Inputs: product_id (required). Returns: object
search_productsSearch / browse productsARead-only
Search or browse the Hertwill dropshipping catalog with filters, sorting and pagination. Pass query for full-text search; omit it to browse. Returns compact product summaries without the HTML description or variations; call get_product for full details and variation ids. Link a product as meta.product_url_template with its slug filled in. Note: wholesale price is null unless HERTWILL_API_KEY is configured.
Inputs: page, brand, query, on_sale, +12 more. Returns: data, meta
sync_productSync product to storeAIdempotent
Publish a product from your import list to your connected Shopify/WooCommerce store at the selling price you choose. selling_price is the ABSOLUTE retail price in your store currency (e.g. 24.99) — NOT a markup multiplier or percentage; it must be at or above the wholesale price. For products with variants, the variation (id, dropship_id) pairs are resolved automatically (the product is added to the import list first if needed); every variant gets selling_price unless overridden in variation_prices. When the client supports it, the user is asked to confirm the product, price and wholesale cost first; if they decline, nothing is synced and the result has status 'declined' (or 'cancelled' if they dismissed the prompt). Either way the product stays in the import list. Runs asynchronously — check progress with get_sync_status. Requires HERTWILL_API_KEY.
Inputs: product_id (required), selling_price (required), lang, currency, +1 more. Returns: status, variations_submitted
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Catalog-side tools (search_products, get_product, list/get_category, list/get_brand) are clearly distinct, but the store-side tools overlap heavily: get_sync_status, list_sync_jobs, get_sync_health and list_import_list all expose product sync state with different shapes, and an agent could plausibly reach for any of them to answer 'is this product synced?'.
Names consistently follow a snake_case verb_noun pattern (get_, list_, search_, add_to_, remove_from_), with sync_product as the only bare verb_noun, which still fits the same convention. Prefixes map cleanly to read vs write operations.
14 tools is well within a healthy range for a catalog-browse plus store-sync domain, and each maps to a recognizable operation. The sync-status trio (get_sync_status, list_sync_jobs, get_sync_health) is slightly redundant rather than essential.
The surface covers discovery (search/products/categories/brands/shipping prices), import-list add/remove/list, publish, and sync monitoring — a full lifecycle. Gaps exist around post-sync management: no explicit unpublish/delete-from-store tool and no dedicated price-update operation beyond re-running sync_product.
Maintenance
Related MCP Connectors
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Manage a Hyprcart store: catalog, prices, stock, orders and content, with the merchant's consent.
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
Search multi-merchant supply, checkout, and track orders via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a multilingual, region-aware brand catalogue and click-through URL generation for MCP-compatible agents, enabling commerce recommendations with attribution tracking.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to work with one or many Horoshop stores through the public API, control panel and storefront cart — reading and updating the catalog, processing orders, managing SEO, redirects, marketplace feeds, design and settings. Write operations preview changes by default, require confirmations for bulk or irreversible actions, and verify results by reading them back.1MIT
- AlicenseAqualityBmaintenanceUnifies Taobao, JD, and Pinduoduo product search, item detail lookup, and affiliate link conversion (including coupons) into one set of tools exposed to MCP clients, using only official open-platform APIs. Runs in mock mode with realistic fake data until per-platform credentials are supplied, so the full flow can be wired up and tested before appkeys are approved.46MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to search a product catalogue and safely change product prices and stock. It offers bounded read and write tools with version-checked, dry-run updates, least-privilege access modes, and actionable errors that help the model recover from conflicts.6MIT