Synchronity

io.github.themewirecoPublished by GitHub account themewirecov0.5.21Updated Oct 24, 2026

Shop connected e-commerce stores: search, compare, cart, and checkout with buyer approval.

VerifiedStreamable HTTPWeb executableProductivity & WorkflowBusiness & Commerce

Overview

AI-generated overview

Connects an assistant to Synchronity's hosted gateway so it can search, compare, cart and check out products across connected e-commerce stores.

What you can do
  • List registered stores and browse or search their product catalogs, with details, variants, addons and images
  • Fetch product reviews with ratings, trust scores and authenticity flags, and compare products across several stores
  • Manage carts: create, add or remove items, set quantities, apply coupons, resume an active cart and read totals
  • Set shipping addresses, choose shipping options and assemble checkout-ready carts in one call
  • Run checkout and payment with buyer approval, including payment methods, mobile-money OTP and payment status polling
  • Look up single orders or list recent orders for a store
When to use it
Useful when you want an AI assistant to shop on your behalf across one or more connected stores: finding products, comparing offers, building a cart and completing an approved checkout without leaving the chat.
Requirements
A remote endpoint at the Synchronity gateway, or the npm package run locally with Node.js over stdio. Optional environment variables GATEWAY_URL (defaults to the hosted gateway) and DEFAULT_SITE_ID. Checkout and payment need a buyer delegation token obtained through an email one-time code. Stores must be registered with Synchronity, typically via its WooCommerce plugin.
Before you install
Checkout and payment create real orders and charges; the order is created unpaid and payment is then initiated in chat, so confirm amounts with the user first. Approval relies on a 6-digit code emailed to the buyer, and the delegation token authorizes checkout and payment. Buyer email, shipping address and order data are sent to the Synchronity gateway and the merchant store. Cart and order tools change live server-side state.

Installation

In SourceWeft

  1. Open Synchronity in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.themewireco%2Fsynchronity/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "synchronity": {
      "type": "http",
      "url": "https://api.synchronity.app/mcp"
    }
  }
}

README

[Synchronity]

Synchronity

Shop anything online with AI — search, compare, and buy across connected stores from any AI assistant.


Synchronity is commerce infrastructure for AI assistants. It connects to the hosted Synchronity gateway at https://api.synchronity.app — there is nothing to self-host.

This repository contains the public, MIT-licensed pieces:

PartWhat it is
packages/mcpThe MCP server — exposes shopping tools to Claude, Cursor, and any MCP client
packages/sdkTyped gateway client used by the MCP server
desktop-extensionClaude Desktop extension (.mcpb) source — a zero-dependency bridge to the gateway
plugins/synchronityCross-assistant plugin (Claude Code + Codex) — install via the marketplace below
woocommerceThe Synchronity WooCommerce plugin — makes a store agent-ready

Releases attach prebuilt artifacts: the synchronity.mcpb desktop extension and the WooCommerce plugin zip. See Releases.

For shoppers — connect your AI assistant

Claude Desktop (easiest)

  1. Download synchronity.mcpb from the latest release (or from api.synchronity.app/setup/download).
  2. Open it with Claude Desktop and click Install.
  3. Ask Claude to shop — e.g. "Search Synchronity for a wireless keyboard."

Claude Code (plugin marketplace)

bash
/plugin marketplace add themewireco/synchronity/plugin install synchronity@synchronity

Then just shop — "find me a birthday cake from my stores". The plugin bundles the synchronity-commerce skill and runs the MCP server locally via npx, so there is nothing to clone or build.

Codex

Add the Synchronity plugin from this repo (plugins/synchronity). Codex reads .codex-plugin/plugin.json and connects to the hosted MCP at https://api.synchronity.app/mcp, with the same synchronity-commerce skill.

Any MCP client (manual)

bash
npm install && npm run build
jsonc
{  "mcpServers": {    "synchronity": {      "command": "node",      "args": ["/absolute/path/to/synchronity/packages/mcp/dist/index.js"],      "env": { "GATEWAY_URL": "https://api.synchronity.app" }    }  }}

GATEWAY_URL defaults to https://api.synchronity.app. Sensitive actions (checkout, payment) require buyer approval — the assistant walks you through a one-time approval step.

What the assistant can do

Product search & details (with inline images), compare across stores, reviews, cart management, shipping, checkout, card/mobile-money payment, order tracking, and human-in-the-loop approval for sensitive actions.

For merchants — make your WooCommerce store agent-ready

  1. Download the WooCommerce plugin zip from the latest release.
  2. In WordPress: Plugins → Add New → Upload Plugin, choose the zip, Install and Activate.
  3. Open WooCommerce → Synchronity, copy your connector key, and register your store with Synchronity.

Your store keeps its own catalog, currency, shipping, and orders — Synchronity routes agent requests to it through the gateway.

Build the artifacts yourself

bash
npm run build         # build the MCP server + clientnpm run build:mcpb    # -> synchronity.mcpb (Claude Desktop extension)npm run build:plugin  # -> synchronity-woocommerce-v<version>.zip

Configuration

Env varDefaultPurpose
GATEWAY_URLhttps://api.synchronity.appSynchronity gateway base URL
DEFAULT_SITE_ID—Optional default store to scope tools to
DEBUGfalseVerbose logging to stderr

Reviewing & testing

New here or reviewing the connector? Follow the end-to-end walkthrough: docs/reviewer-testing.md.

Privacy & support

License

MIT © Themewire — see LICENSE.

Source: README.md at commit 4af5f71

Tools

26

list_sites

List connected stores

List all registered e-commerce sites. Use this first to find a site by name (e.g. "Pronto Partners") and get its site_id, which is required by all other tools.

Takes no parameters.

search_products

Search products

Find products on a registered store. To BROWSE a store's catalog (open-ended requests like "what do they sell", "show me what's available"), call with NO query — this returns the store's products. To SEARCH, pass `query` (a product name/keyword). Returns paginated products as an interactive card. ALWAYS translate a buyer's budget or price constraint into the price params on THIS call instead of filtering in your reply: "under/below/within X" or "X budget" → `max_price: X`; "over/above/at least X" → `min_price: X`; "between X and Y" → both. Likewise pass `in_stock: true` for "available"/"in stock" and `category` when they name one. The card renders exactly what this call returns, so the filter MUST be applied here — never fetch the full catalog and then narrow it in text. Call once with your best intent (browse OR a single query); if a real search is genuinely empty, ask the user to clarify rather than re-firing reworded queries. The card shows products, prices, IDs, and Add-to-cart controls — keep your text reply to one brief sentence and do not re-list what the card shows.

Parameterspagequeryqueriessite_idrequiredcategoryin_stockper_pagemax_pricemin_price

get_product

Get product details

Retrieve detailed information about a specific product including variants, pricing, images, and availability. May also return `addons` — customer-selectable options defined by the store (e.g. engraving, gift wrap, size add-ons). When a product has addons, present them to the buyer and collect every addon with `required: true` before calling add_to_cart; for any option carrying a `price_modifier`, show that surcharge so the buyer knows the added cost. The card already shows the product details to the user, so keep your text reply brief and do not re-describe what the card displays.

Parameterssite_idrequiredproduct_idrequired

get_product_reviews

Get product reviews

🔍 **RECOMMENDED STEP** — Fetch product reviews and authenticity consensus before making purchase decisions. Returns: average rating, trust score (0.0-1.0), review sentiment analysis, authenticity flags (fake reviews, seller issues, negative trends), and recent reviews with verified purchase status. Always call this for each product before adding to cart to verify quality and detect scams.

Parameterspagelimitsite_idrequiredproduct_idrequired

request_back_in_stock

Notify me when back in stock

Subscribe the buyer to a back-in-stock alert for an out-of-stock product. Use when the buyer asks to be notified/told/pinged when an item restocks ("notify me when X is back", "let me know when it's in stock"). Collect the buyer's email so the alert can reach them (without it only the demand is recorded for the merchant). The buyer is emailed when the product is next seen in stock. Returns whether an email alert was armed.

Parametersemailsite_idrequiredproduct_idrequiredvariant_idproduct_title

compare_products

Compare products across stores

Compare products across multiple registered e-commerce sites simultaneously. Uses fail-open strategy: partial results from successful sites are returned even if some sites time out.

Parametersqueryrequiredcategoryin_stocksite_idsrequiredmax_pricemin_price

create_cart

Create cart

Create a new shopping cart for a specific site. Returns a cart_id. IMPORTANT: Reuse the active cart_id across multiple products in the same session. Do NOT call create_cart again if you already have a cart_id for this site in the chat history.

Parameterssite_idrequiredcurrency

add_to_cart

Add item to cart

Add a product variant (or base product) to an existing cart. Reuse the active cart_id from the chat history if one already exists. Only call create_cart first if no cart exists yet.

Parametersemailitemsaddonscart_idsite_idrequiredquantityproduct_idvariant_id

quick_checkout

Quick checkout (build carts)

Assemble checkout-ready cart(s) in ONE call for a multi-product (and optionally multi-store) request. Creates a cart per store, adds all items, and sets the shipping address — then returns the cart(s) with delivery options to choose. Use this when the buyer lists several products at once (optionally across stores) and/or gives their address up front, instead of calling create_cart/add_to_cart/set_shipping_address separately. Does NOT select delivery, check out, or pay — the buyer picks delivery (select_shipping_option) and approves checkout/payment per store afterward. Out-of-stock items are reported; pass customer.email to auto-arm a back-in-stock alert for them.

Parametersitemsrequiredcustomershipping_addressrequired

remove_from_cart

Remove item from cart

Remove a line item from the cart. Requires the item_id from the cart contents.

Parameterscart_idrequireditem_idrequiredsite_idrequired

set_cart_quantity

Set item quantity

Set a cart line's quantity (the server cart is the checkout source of truth, so this updates it live). Requires the item_id from the cart contents and the new absolute quantity. A quantity of 0 removes the line. Returns the updated cart card.

Parameterscart_idrequireditem_idrequiredsite_idrequiredquantityrequired

apply_coupon

Apply coupon

Apply a discount or promotional code to the cart. Returns the updated cart with discount applied.

Parameterscoderequiredcart_idrequiredsite_idrequired

get_cart

View cart

Retrieve current cart contents, including items, pricing, discounts, and totals. The card already shows the line items and totals to the user, so keep your text reply to one brief sentence — do not re-list the cart contents.

Parameterscart_idsite_idrequired

get_active_cart

Resume active cart

Retrieve the buyer's in-progress cart for a site (resumes a conversation). Call this before assuming a new cart when a shopping conversation continues or after a cart error. Returns the cart with its items rebuilt if the connector cart expired, or null if no cart exists.

Parameterssite_idrequired

set_shipping_address

Set shipping address

Set the cart shipping destination (collected from the buyer) and return available shipping options with costs. Call after items are in the cart and before select_shipping_option. country_code is required; include postal_code/state for accurate rates.

Parameterscitystatecart_idrequiredsite_idrequiredpostal_codecountry_coderequired

select_shipping_option

Select shipping option

Select one of the shipping options returned by set_shipping_address. Binds the rate to the cart so the total includes shipping; call before execute_checkout so the hosted checkout opens pre-filled.

Parameterscart_idrequiredsite_idrequiredoption_idrequired

execute_checkout

Place order (checkout)

Execute checkout for a cart to create an order. Requires a buyer delegation token (from user auth) and a shipping address. The order is created UNPAID (status "pending"). IMPORTANT — do NOT stop here or just hand the user the payment_url. Immediately continue the in-chat payment flow: call get_payment_methods for the returned order_id, present the available channels to the buyer, and ask which they want to use; then drive initiate_payment → (submit_payment_otp if needed) → poll get_payment_status until the order is paid. The payment_url in the response is only a manual fallback if the buyer declines in-chat payment. Always offer to collect payment in the chat first.

Parametersnotescart_idrequiredsite_idrequiredcustomer_namerequiredshipping_cityrequiredshipping_namerequiredcustomer_emailrequiredcustomer_phonerequiredshipping_line1requiredshipping_line2shipping_phoneshipping_staterequired+3 more

get_order

Get order details

Retrieve details for an order by its ID, including items, status, shipping, and tracking information. Orders are buyer-private — pass `buyer_delegation_token` (the delegation token from this buyer's checkout approval) so the gateway can confirm the buyer owns this order. If checking if an order is paid: a status of 'pending' or 'pending_payment' means the order has NOT been paid. Do NOT assume that the vendor storefront has synchronization delays or database lag; treat 'pending' as unpaid. When an order is unpaid, offer to collect payment in the chat by starting the in-chat payment flow (get_payment_methods → initiate_payment → get_payment_status) rather than only pointing the user at the payment_url. Do not mark the purchase task as successful until the status updates to 'processing' or 'completed'.

Parameterssite_idrequiredorder_idrequiredbuyer_delegation_token

list_orders

List orders

List recent orders for a site, optionally filtered by status (pending, processing, completed, cancelled, refunded). Orders are buyer-private — pass `buyer_delegation_token` (from this buyer's checkout approval); only that buyer's orders are returned.

Parameterspagestatussite_idrequiredper_pagebuyer_delegation_token

request_delegation

Request buyer approval

Start the human delegation (approval) flow needed for checkout/payment. PREFERRED: pass the buyer's `email` — the gateway emails them a 6-digit code and returns a device_code; ask the user for the code and call submit_delegation_otp. This keeps approval fully in-chat (no link) and you never see the code, so you cannot approve on their behalf. If you omit `email`, it falls back to a browser approval link (device flow) which the user must open; then poll check_delegation. You can never approve a delegation yourself.

Parametersemailscopessite_idrequiredmarketing_opt_in

submit_delegation_otp

Submit approval code

Submit the 6-digit code the buyer received by email (from request_delegation with an email) to approve the delegation in-chat. On success returns a delegation_token to use as buyer_delegation_token for checkout/payment. You cannot obtain this code yourself — the user must read it from their email and give it to you.

Parameterscoderequiredsite_iddevice_coderequired

check_delegation

Check approval status

Poll for human approval of a delegation request. When status is "approved", returns the delegation_token to use as buyer_delegation_token in execute_checkout.

Parametersdevice_coderequired

get_payment_methods

Get payment methods

STEP 1 of the in-chat payment flow. Returns the payment channels available for an order (e.g. "mobile_money", "card") plus a `gateways` array of the enabled payment gateways (each with id, label, and its channels). When more than one gateway is listed, ask the buyer which they want to use and pass it as `gateway` to initiate_payment. Call this first, after an order exists. Then call initiate_payment with the chosen channel (and gateway if more than one). site_id falls back to DEFAULT_SITE_ID if omitted.

Parameterssite_idorder_idrequired

initiate_payment

Start payment

STEP 2 of the in-chat payment flow. Starts a payment session for an order and returns a PaymentSession with an `instruction` the agent renders in chat. REQUIRES a buyer_delegation_token — obtain it exactly like execute_checkout: call request_delegation, have the user approve in chat, then check_delegation to get the token (spending money always needs human approval). For channel "mobile_money" you MUST collect the buyer's `phone` (Ghana: 055… or +233…) and `provider` — use codes mtn, vod (Vodafone/Telecel), or tgo (AirtelTigo); aliases telecel→vod, tigo→tgo are accepted. ALWAYS quote the **Show this instruction to the buyer** line from the response verbatim (Paystack display_text). For channel "card", no phone/provider is needed; the response instruction contains an `authorization_url` you send the user to. After calling: if instruction.action == "submit_otp", ask the user for the OTP and call submit_payment_otp. If instruction.action == "approve_on_phone", tell the user to approve the prompt on their phone, then poll get_payment_status. If instruction.action == "redirect" (card), send the user the authorization_url, then poll get_payment_status.

Parametersphonechannelrequiredgatewaysite_idorder_idrequiredproviderbuyer_delegation_token

submit_payment_otp

Submit payment code

STEP 3 (mobile_money only, when initiate_payment returned instruction.action == "submit_otp"). Submits the one-time password the buyer received to authorise the mobile-money charge. REQUIRES the same buyer_delegation_token used for initiate_payment. After submitting, poll get_payment_status until payment_status is "paid"/"processing" or "failed".

Parametersotprequiredsite_idorder_idrequiredbuyer_delegation_token

get_payment_status

Check payment status

FINAL STEP of the in-chat payment flow. Returns the current PaymentSession for an order. Poll this (every ~5 seconds) after initiate_payment/submit_payment_otp until payment_status becomes "paid" or "processing" (success — the order is confirmed) or "failed" (tell the user; they can retry by initiating a new payment). Do NOT treat the purchase as complete until this returns "paid" or "processing". No delegation needed (read-only).

Parameterssite_idorder_idrequired

Version history

1
  1. v0.5.21LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts