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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: xurprise 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
This server cannot be deployed
Maintenance
Related MCP Connectors
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
Search multi-merchant supply, checkout, and track orders via MCP.
For StoreRouter merchants: search your own catalog, check catalog status, and sync Shopify.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables read-only discovery and verification of products across droplinked's KYB-attested merchant network via tools for inventory, merchant, and brand attestation lookups.7MIT
- 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 gradedqualityAmaintenanceEnables 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.37 npm1MIT
- 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.42MIT