Counterbell – Agentic Commerce, MCP Server & AI Shopping Agents for WooCommerce

By nikoladikic

0+ active installationsVersion 0.1.1

Lets your customers' AI assistants read your catalog, get a real cart total, and hand the buyer a link to your checkout.

Description

More and more shoppers ask an AI assistant to find a product, compare prices or put an order together. Counterbell gives those assistants a correct, read-only way to ask your shop.

It is for the customer’s assistant, not a tool for running your shop. An assistant sees exactly what a visitor who is not signed in sees, and nothing more.

There is nothing to connect and no account to open. Activate the plugin and your shop answers.

An example

A shopper tells their assistant: “Two ceramic mugs and the copper kettle, sent to Berlin, with the code WELCOME10. What will I pay?”

The assistant asks your shop for a quote. Your shop’s own cart works it out and answers:

  • 2 x Ceramic Mug: 23.22 EUR
  • 1 x Copper Kettle: 80.10 EUR
  • Discount: 11.48 EUR
  • Shipping, DHL Paket: 5.83 EUR
  • Tax: 17.43 EUR
  • Total to pay: 109.15 EUR
  • A checkout link for the buyer

The buyer opens the link, lands on your checkout with the same cart, and sees the same 109.15 EUR. They pay you as usual. (The figures are from the plugin’s test shop; the second screenshot shows that checkout.)

Why the total is right

Assistants that read a product page have to guess at tax, shipping and coupons. Counterbell does not calculate anything itself. It puts the items in a real WooCommerce cart, held in memory for that one request, and lets WooCommerce and your extensions do the sums for the buyer’s destination. What the assistant quotes is what your checkout charges.

What an assistant can do

  • Search and read products: name, public price, sale price, stock, variations, attributes, shipping details. Read live from WooCommerce on every call, never from a copy.
  • Get a real cart total: line totals, tax, the shipping options for the destination, coupon results, and anything your shop refuses, item by item (out of stock, a quantity limit, a coupon that does not apply).
  • Hand the buyer a checkout link: the assistant never pays. It gives the buyer a link that opens the same cart at your own checkout.
  • Read shop facts: currency, whether prices include tax, where you ship, payment methods, and the shipping and returns notes you write.

What an assistant cannot do

  • Place an order or take a payment.
  • See hidden or private products, or categories you exclude.
  • See a price your shop does not show to guests. If a wholesale plugin hides prices until sign-in, they stay hidden.
  • See customers, orders or anything in your admin.

The five tools

  • search_products: find products by words, category, price range or sale status.
  • get_product: one product in full, with its variations.
  • list_categories: the shop’s product categories.
  • quote_cart: the exact total for a list of items and a destination, with a checkout link.
  • get_store_info: currency, tax display, shipping countries, payment methods and your notes.

Each one can be switched off in the settings.

How assistants find your shop

  • An MCP server (Streamable HTTP, JSON-RPC 2.0) at /wp-json/counterbell/v1/mcp
  • An MCP server card at /.well-known/mcp.json
  • An A2A agent card at /.well-known/agent-card.json
  • An optional /llms.txt

The settings page lists these addresses for your shop. An assistant or developer tool that supports remote MCP servers connects with the first one; no key or sign-in is needed, because everything it returns is already public on your shop.

For the shop owner

  • Switch each tool on or off, and keep whole categories out.
  • A rate limit per calling address.
  • A seven-day activity log: which assistant called what. No address and nothing about a person is stored.
  • A price check you run by hand: it compares the price assistants are told with the price your cart charges, and lists any product where the two differ.

Light on your shop

The plugin adds no scripts or styles to your pages and does nothing until a request arrives at one of its addresses. A quote creates no order, no session, no cookie and no stock hold.

Privacy

The plugin makes no calls to any outside service and sends no data anywhere. It answers requests that arrive at your site. The activity log stores a salted hash in place of the caller’s address.

For developers

Five filters let a theme or another plugin adjust what assistants are told:

  • counterbell_product_exposed: the last word on whether a product is shown.
  • counterbell_price_is_public: whether a guest is shown a product’s price (for shops that print prices without WooCommerce’s own markup).
  • counterbell_resolved_price: the price data returned for a product and quantity.
  • counterbell_tools: the list of tools on offer.
  • counterbell_tool_call: answer a tool call yourself.

Who makes it

Counterbell is made by Nikola Dikic, a WordPress and WooCommerce developer who builds websites that AI assistants can read and act on.

Installation

  1. Install and activate WooCommerce.
  2. Install and activate this plugin.
  3. Open WooCommerce > Counterbell. The addresses assistants use are listed at the top.
  4. Optional: write a sentence each about shipping, returns and how to reach you.

Use a permalink structure other than Plain so the documents under /.well-known/ can be found.

FAQ

Can an assistant buy something on its own?

No. It can prepare a cart and give the buyer a link. The buyer opens the link and pays at your checkout as usual.

Does a quote reserve stock or create an order?

No. The cart used for a quote exists only in memory for the length of the request. No session, cookie, order or stock hold is created.

Do I need an account, an API key or a paid service?

No. The plugin talks to no outside service. Assistants call your site directly.

Which assistants can use it?

Any assistant or tool that can connect to a remote MCP server, and any that reads llms.txt or the cards under /.well-known/. Assistants that run in the cloud can only reach a shop that is public on the internet over HTTPS.

How do I know whether assistants are using it?

Open WooCommerce > Counterbell > Activity. It shows which assistant called which tool in the last seven days, and whether the shop answered or refused.

Will my wholesale or customer-specific prices be shown?

No. Every request is answered as a guest. A product whose price is hidden from guests is returned without a price and cannot be quoted.

A price counts as public only when the price your shop prints for a visitor who is not signed in actually shows that amount. A “log in to see prices” message, an empty price or anything else in its place means no amount is given, the product is left out of searches by price, and it cannot be quoted or added through the checkout link.

The plugin reads the price WooCommerce itself prints for a guest. If your shop hides prices some other way, for example a theme that leaves the price out of its templates, keep those products out with “Categories to keep out” in the settings, or have a developer answer the counterbell_price_is_public filter.

Can I keep some products away from assistants?

Yes. Hidden, private, draft and password-protected products are never shown. You can also name categories to keep out, and switch off any of the five tools.

Does it work with the block checkout and High-Performance Order Storage?

Yes. The plugin does not touch orders, and the checkout link works with both the block and the classic checkout.

My site is in a subfolder. Will assistants find it?

The MCP endpoint works anywhere. Assistants look for /.well-known/ documents at the root of the domain, so on a subfolder install give them the endpoint address directly.

I already have an llms.txt

A real file at that address always wins, and you can switch the plugin’s version off in the settings.

What is removed when I delete the plugin?

Its settings and the activity log table. Nothing else was ever stored.

Screenshots

Changelog

0.1.1

  • Security: a price hidden from guests by a “log in to see prices” message is no longer returned. A price is public only when the shop’s own price markup for a guest prints that amount; this is applied to product answers, searches by price, cart quotes and the checkout link.
  • Shop managers can save the settings, not only open the page.

0.1.0

  • First release.