@shareawish/mcp
OfficialThis server manages Share a Wish creator shops end-to-end: shops, product lists, products, videos, analytics, and earnings.
Identity:
whoamiverifies credentials and shows the signed-in partner profile.Shops: check handle availability, create/update/publish/unpublish shops, and upload logo or cover images.
Lists/collections: create, update, delete, list, and fetch product lists with product counts and items.
Products: scrape product pages, add products by URL or manually, add existing catalog products to lists, update/remove list items, and search the affiliate catalog.
Video media: list, upload (MP4/MOV up to 200 MB), update, and delete product videos.
Analytics: get KPIs (visits, clicks, saves) and top products over a date range.
Earnings: retrieve affiliate earnings, clicks, conversions, and payouts.
Generates save-button and basket embed snippets to integrate Share a Wish wishlist and checkout functionality into Shopify stores.
Generates save-button and basket embed snippets to integrate Share a Wish wishlist and checkout functionality into WooCommerce stores.
@shareawish/mcp
Two Model Context Protocol servers (stdio) so that Claude, Cursor, Copilot & Co. can work with Share a Wish directly:
Server | Binary | For whom | What it does |
Creator Shop |
| Creators / affiliates | Create and manage creator shops: handle check, shop create/update/publish, logo & cover upload, lists, products by URL (scraped) or manual, affiliate-link and title/image/price overrides, catalog search, product videos (upload, hide, delete), analytics, earnings. Also |
Wishlist Integration |
| Shop developers / agencies | API keys (test/live) and domain allowlists, basket (wishlist drawer + checkout) configurations and webhook test, save-button and basket embed snippets (HTML/React/Vue/Shopify/WooCommerce), usage vs. plan limits, plan table, docs search and OpenAPI lookup. |
Both are single-file bundles without runtime dependencies (Node ≥ 18).
Install
Create a personal access token in the Partner Portal → Account Settings → Access tokens & AI agents (
saw_pat_…, shown once).Add the server to your MCP client. Every Partner Portal account can use it, the Free plan included; plan limits apply exactly as in the portal.
Claude Code:
claude mcp add shareawish-creator -e SHAREAWISH_TOKEN=saw_pat_… -- npx -y -p @shareawish/mcp shareawish-creator-mcp
claude mcp add shareawish-wishlist -e SHAREAWISH_TOKEN=saw_pat_… -- npx -y -p @shareawish/mcp shareawish-wishlist-mcpCursor / Windsurf / Claude Desktop / VS Code (mcpServers in the client config):
{
"mcpServers": {
"shareawish-creator": {
"command": "npx",
"args": ["-y", "-p", "@shareawish/mcp", "shareawish-creator-mcp"],
"env": { "SHAREAWISH_TOKEN": "saw_pat_…" }
},
"shareawish-wishlist": {
"command": "npx",
"args": ["-y", "-p", "@shareawish/mcp", "shareawish-wishlist-mcp"],
"env": { "SHAREAWISH_TOKEN": "saw_pat_…" }
}
}
}From source: git clone https://github.com/shareawish/mcp && cd mcp && npm install && npm run build, then use node dist/creator.js / node dist/wishlist.js as the command.
Related MCP server: MCP Affiliate Server
Authentication
Variable | Notes |
| Recommended. Personal access token from the Partner Portal. Revocable, expires after 365 days by default, cannot create other tokens. |
| Local use only. Signs in on first use, refreshes automatically. |
| A session access token (valid ~1 h, no refresh). |
| Refresh token of a Partner Portal session. |
Docs, snippet and plan tools of the Wishlist server work without credentials. Nothing is written to disk. Use one token per machine or agent and revoke it when you are done.
Optional: SHAREAWISH_API_BASE, SHAREAWISH_PARTNER_API_BASE, SHAREAWISH_DOCS_URL, SHAREAWISH_SUPABASE_URL, SHAREAWISH_SUPABASE_ANON_KEY (defaults point at production).
Typical sessions
Creator: whoami → shops_check_handle → shops_create → shops_upload_image(type=logo, source=./logo.png) → lists_create → products_add_by_url(source_url, affiliate_url) → media_upload_video(product_id, source=./clip.mp4) → shops_publish(status=live). The public shop is https://shareawish.shop/<handle>.
Shop integrator: whoami → keys_create(environment=test) → snippet_save_button(framework=react, public_key=pk_test_…) → widget_init_check(public_key, origin=http://localhost:3000) → baskets_create(name, cart_url|webhook_url) → snippet_basket(config_id=bkt_…) → later keys_create(environment=prod, allowed_domains=[…]), usage_get.
Test
npm run smoke # offline: protocol, tool list, snippets, docs, error surfacing
SHAREAWISH_EMAIL=… SHAREAWISH_PASSWORD=… node scripts/smoke.mjs all --live # against the live API
SHAREAWISH_EMAIL=… SHAREAWISH_PASSWORD=… npm run e2e:creator # creates a draft shop, uploads logo + video, adds a product, publishes, reads it publicly, sets it back to draft
SHAREAWISH_EMAIL=… SHAREAWISH_PASSWORD=… npm run e2e:wishlist # test key → widget init → basket config → snippets → allowlist → revokeRun the end-to-end scripts with a dedicated test partner: they write real rows (shops stay behind as drafts).
Which server for what
Need | Server / tool |
Public API key ( |
|
Basket configuration ( |
|
Embed snippets, docs search, basket know-how | both servers: |
Creator shops, lists, products, videos, analytics |
|
Each server's instructions point to the other one. whoami on both servers returns the partner (email, name, plan) and the session type.
Basket needs https (localhost excepted). https://shareawish.shop/basket is served with Content-Security-Policy: frame-ancestors 'self' https: http://localhost:* http://127.0.0.1:* — http://localhost works for local tests, any other http:// page shows an empty iframe. The basket SDK logs insecure_origin and dispatches sharewish:basket.error in that case.
Notes
Tool names use
snake_case(shops_create,keys_domains_set) for maximum client compatibility.shops_listandlists_listreturn compact rows (id, name, handle/slug, public, counts, …) withq,limit/offsetpaging andnext_offset; passfull=truefor the raw records or useshops_get/lists_get. Raw output for a partner with 170 shops is ~250 KB and exceeds most clients' tool-result limits.shops_updatemergessettingswith the current values (the API overwrites the whole JSON otherwise).products_add_by_urlfirst calls the scrape preview to reuse an existing catalog product, then adds the item with youraffiliate_url.media_upload_video: MP4/MOV up to 200 MB; Creator Free allows 5 ready videos per shop. Every video belongs to one primary product (product_id);product_idslinks further products that are shown next to the video in the shop's video feed (https://shareawish.shop/<handle>, "Videos" row).media_update(product_ids=[...])replaces those links.Live keys created after 2026-09-01 need at least one allowed domain;
localhostis always allowed.
Changelog
0.1.5 — Basket:
basket_guide(config fields, drawer/inline/page embedding, checkout mechanics, events) on both servers;snippet_basketgetsmode(drawer default) and the add-to-cart bridge; basket schema aligned with the API (layoutcards, checkoutadd-to-cart|direct-checkout|custom-callback,cart_button_text,view_button_text,shop_name,explore_url,popular_url, every field described). Requires basket-integration.js withdrawer()(deployed 2026-09-14).0.1.4 — Creator server:
whoamireturns the partner profile (email, name, plan) and shop counts;shops_list/lists_listreturn compact, filterable, paged rows (full=truefor raw records);docs_search,snippet_save_button,snippet_basketadded; instructions point to the wishlist server for keys and baskets. Wishlist server:whoamiincludes the partner profile;baskets_createandsnippet_basketstate the https requirement of the basket iframe (localhost excepted). Shared docs/snippet module.0.1.3 — Product videos:
product_idsonmedia_upload_video/media_update.
Available Tools
31 toolsanalytics_kpisAnalytics KPIsB
Shop visits, product clicks, saves and list clicks over a date range (one shop or all).
Inputs: to, from, list_id, shop_id.
analytics_top_productsTop productsC
Most clicked/saved products of a shop.
Inputs: to, from, shop_id.
basket_guideBasket guideA
How the wishlist basket works and how to integrate it well: config fields (layout, colours, typography, animation, labels, empty state), embedding patterns (drawer/side panel, inline, standalone page, Shopify), checkout mechanics (webhook, add-to-cart bridge, cart URL pattern, view product), events. No credentials needed. Read before baskets_create.
Inputs: topic.
catalog_searchSearch catalogA
Search the affiliate product catalog with ready affiliate links: Awin feeds and – only if the shop has an Amazon tag in its settings – Amazon. Results are ranked: products whose title contains all words come first, then close matches missing a word (colours and synonyms count as soft criteria). Each hit has productId (Amazon/existing product) or rawProductId (Awin feed row); pass that as product_id or raw_product_id to products_add_existing.
Inputs: q (required), shop_id (required), brand, limit, +5 more.
docs_searchSearch docsA
Search the public developer docs (llms.txt index + endpoint summary) and return matching sections with links. No credentials needed.
Inputs: query (required), limit.
earnings_summaryEarningsC
Affiliate earnings, clicks, conversions and payouts of a shop (70/30 rev-share on Awin conversions).
Inputs: shop_id (required), months.
lists_createCreate listC
Create a product list in a shop (e.g. "Herbst-Favoriten").
Inputs: name (required), shop_id (required), is_public, cover_image, +3 more.
lists_deleteDelete listB
Delete a list (products stay in the shop catalog).
Inputs: list_id (required), shop_id (required).
lists_getGet listC
A list with its products (each with listItemId, offerId, overrides).
Inputs: list_id (required), shop_id (required).
lists_listList listsB
Lists (collections) of a shop as compact rows (id, name, slug, public, featured, product count, market, short description). full=true returns the raw records.
Inputs: shop_id (required), q, full, limit, +1 more.
lists_updateUpdate listA
Rename/describe a list, toggle public/featured, or reorder+prune products by passing the full ordered product id array.
Inputs: list_id (required), shop_id (required), name, products, +4 more.
media_deleteDelete product videoB
Delete a product video and its files.
Inputs: id (required).
media_listList product videosA
Product videos of the partner (optionally filtered by product/shop) plus the plan limit.
Inputs: shop_id, product_id.
media_updateUpdate product videoA
Change title/caption/language/position, hide/show (status hidden|ready) or replace the additionally linked products (product_ids; the primary product_id is kept).
Inputs: id (required), title, status, caption, +3 more.
media_upload_videoUpload product videoB
Upload an MP4/MOV (max 200 MB) for a product from a local path or URL, optionally with a poster image, and publish it (status ready). A video always belongs to at least one product (product_id); product_ids links further products that are shown next to the video in the shop's video feed. Creator Free: 5 ready videos per shop.
Inputs: source (required), product_id (required), title, width, +7 more.
products_add_by_urlAdd product by URLA
Add a product to a list from its shop URL. The page is scraped for title/image/price; affiliate_url is the link visitors will click (may equal source_url). Optional overrides for title/image/description/price.
Inputs: list_id (required), shop_id (required), source_url (required), affiliate_url (required), +9 more.
products_add_existingAdd catalogue product to listA
Place a catalogue product into a list. Pass product_id when the catalog_search hit has one (Amazon/existing product – Amazon gets the shop's Amazon tag automatically), otherwise its raw_product_id (Awin feed row – product, affiliate link and feed price are created automatically). An explicit affiliate_url and overrides win over these defaults.
Inputs: list_id (required), shop_id (required), product_id, market_code, +6 more.
products_add_manualAdd manual productA
Add a product with your own data (no scraping) to the shop catalog. Use lists_update(products) or products_add_existing to place it in a list.
Inputs: title (required), shop_id (required), affiliate_url (required), tags, +8 more.
products_preview_urlPreview product URLA
Scrape a product page (title, image, price, brand) without adding it. Returns productId to reuse in products_add_by_url.
Inputs: url (required), market_code.
products_remove_itemRemove list itemC
Remove a product from a list.
Inputs: item_id (required), list_id (required), shop_id (required).
products_update_itemUpdate list itemC
Change the affiliate link or overrides of a product in a list (item_id = listItemId from lists_get).
Inputs: item_id (required), list_id (required), shop_id (required), available, +9 more.
shops_check_handleCheck handleA
Check whether a shop handle (URL slug, e.g. "lenas-picks") is available. Returns a slugified suggestion.
Inputs: handle (required), exclude_shop_id.
shops_createCreate shopA
Create a creator shop (draft). Handle becomes the public URL https://shareawish.shop/. Publish later with shops_publish.
Inputs: name (required), handle (required), settings, template, +2 more.
shops_getGet shopB
Full shop record (name, handle, description, template, settings, images, markets, publish state).
Inputs: shop_id (required).
shops_listList shopsA
Creator shops of the partner as compact rows (id, name, handle, public, url, template, markets, followers, updated_at). Filter with q, page with limit/offset; full=true returns the raw records (large – settings, description, images).
Inputs: q, full, limit, offset, +1 more.
shops_publishPublish shopA
Set the shop live (public) or back to draft.
Inputs: status (required), shop_id (required).
shops_updateUpdate shopC
Update name/description/template/handle/markets/settings. Settings are merged with the existing ones.
Inputs: shop_id (required), name, domain, handle, +4 more.
shops_upload_imageUpload shop imageA
Upload a logo or cover image from a local file path or an http(s) URL (max 10 MB; jpg/png/webp) and attach it to the shop.
Inputs: type (required), source (required), shop_id (required).
snippet_basketBasket snippetA
Copy-paste code for the wishlist basket: mode "drawer" (side panel opened from a header button – recommended), "inline" (section on a page) or "page" (standalone wishlist page); frameworks html, react, shopify, woocommerce. Includes the add-to-cart bridge (onAddToCart → respond). Needs a basket config id (bkt_…, created with baskets_create on the shareawish-wishlist server or in the Partner Portal). The embedding page must be https (http://localhost is allowed).
Inputs: mode, config_id, framework, public_key.
snippet_save_buttonSave-button snippetA
Copy-paste code for the save-to-wishlist button on any website (html, react, vue, shopify). Keys come from the shareawish-wishlist server (keys_create) or the Partner Portal → API & Integrations → API Keys; without a key a placeholder is used.
Inputs: framework, public_key.
whoamiWho am IA
Verify credentials and show the signed-in partner (email, name, plan) and the number of shops. Call this first.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Domains are clearly separated by prefix (shops_, lists_, products_, media_, analytics_, snippet_), so most tools are easy to select. The main soft spot is the trio products_add_existing / products_add_by_url / products_add_manual plus products_preview_url, which all revolve around getting a product in; the descriptions do distinguish them (catalog hit vs scraped URL vs manual data vs dry-run preview), but the agent must read carefully to pick correctly.
A predictable <domain>_<verb>_<object> convention holds almost everywhere (shops_list, shops_check_handle, products_add_by_url, media_upload_video, lists_delete). Minor deviations exist: whoami and basket_guide have no domain prefix, and products_update_item / products_remove_item use an item suffix that relies on the description to be understood, but overall the pattern is readable and stable.
31 tools is heavy for a single server, though the surface genuinely spans several domains (shops, lists, products, media, analytics/earnings, snippets, docs). The prefix grouping keeps it navigable, but the products family in particular carries five near-adjacent tools that inflate the count.
Lists have full CRUD, shops have create/read/update/publish/image, and media has full lifecycle, so core flows are covered. Notable gaps remain: there is no tool to list, update or delete a shop-catalog product created via products_add_manual (only list-item overrides and removal), no shop deletion, and analytics/earnings are summary-only with no conversion-level or product-catalog enumeration.
Maintenance
Related MCP Connectors
Commission infrastructure for AI commerce — program discovery, attribution, and settlement.
Connect AI to store orders, products and inventory with scoped access and human approvals.
AI shopping gateway for product search, inventory, carts, and merchant-hosted checkout.
For businesses that pay affiliates: set up and run your affiliate program from your AI assistant.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to save product URLs to a user's Wishfinity wishlist. When recommending products, the AI can generate a clickable link that saves items for later purchase or gifting.11,168 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search products and generate affiliate links across European and global affiliate networks, automating product discovery and link creation for monetization.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI shopping agents to search products, check stock, apply promotions, manage cart sessions, and create cryptographically signed checkout sessions on e-commerce storefronts, while giving merchants analytics into agent intent and catalog demand gaps.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to browse public wishlists, check available gifts within budget, reserve items, and draft coordination messages without scraping or clicking through the UI.MIT