Download the PHP package angeo/module-mcp-reorder without Composer

On this page you can find all versions of the php package angeo/module-mcp-reorder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-mcp-reorder

MCP Reorder for Magento 2 — Signed-in Buyer Tools (B2B)

CI Packagist Version

Let an AI agent fill a buyer's cart from their order history — and leave checkout to the buyer.

Business buyers order the same things again and again. With this module, a buyer can tell Claude (or any MCP client) "order the same as last month, but double the gloves" or paste a list of SKUs. The agent reads their own orders, puts the lines in their own cart at their own prices, and reports what is out of stock or more expensive now. The buyer then checks out on your store as usual.

The tools never place an order. Payment, purchase orders, approvals and company rules stay exactly where they are today: in your checkout.

Extends angeo/module-mcp-server. For shoppers who are not signed in, see angeo/module-mcp-checkout.

Contents

Tools

Tool What it does Changes data
list_my_orders The buyer's orders, newest first. sku finds orders that contain a product. no
get_my_order Every line of one order: SKU, options, quantity, price then. no
reorder_to_cart Put an order into the cart: all lines, a multiplier, or chosen items. Reports price changes and lines that cannot be added. cart
add_items_to_my_cart Quick order: a list of {sku, qty} into the cart in one call. cart
update_my_cart_item Change a line's quantity, or remove it with qty: 0. cart
get_my_cart The buyer's cart with totals and a checkout_url. no
get_my_prices The buyer's own unit price and quantity breaks for up to 50 SKUs. no

reorder_to_cart and add_items_to_my_cart take "preview": true: same result, prices and stock check, but the cart is not saved.

Two conversation starters (MCP prompts) are added for signed-in buyers: Reorder from {store} and Quick order at {store}.

Example flow:

How it works

Security model

Requirements

Installation

Then, in Stores → Configuration → Angeo → MCP Server:

  1. Security → Accept Customer Tokens = Yes
  2. Customer Account Tools → Enable = Yes

Test from the shell, as a real customer, without a token:

Configuration

Stores → Configuration → Angeo → MCP Server → Customer Account Tools

Setting Default Notes
Enable Customer Account Tools No per store view
Max Lines per Call 50 ceiling 100
Max Quantity per Line 1000 resulting quantity of one cart line
Max Cart Lines 100 ceiling 500
Max Cart Subtotal 0 base currency; 0 = no cap
Orders per Page 10 ceiling 50

Reordering also follows Magento's own Sales → Reorder → Allow Reorder.

Connecting a signed-in buyer

The buyer's Magento customer token must reach /mcp:

Adobe Commerce B2B

The module works on Magento Open Source and Mage-OS with customer groups and tier prices. On Adobe Commerce with the B2B extension, carts are changed through the core cart (Quote::addProduct), so B2B rules that hook into the cart apply. Negotiable quotes, requisition lists and purchase-order approval are not touched: the buyer uses them at checkout as usual. Dedicated tools for requisition lists are planned as an optional adapter.

Known limits

License

MIT — see LICENSE.


All versions of module-mcp-reorder with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
angeo/module-mcp-server Version ^2.4.0
magento/framework Version >=103.0.6 <104
magento/module-catalog Version >=104.0.6 <105
magento/module-configurable-product Version >=100.4.6 <101
magento/module-customer Version >=103.0.6 <104
magento/module-quote Version >=101.2.6 <102
magento/module-sales Version >=103.0.6 <104
magento/module-store Version >=101.1.6 <102
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package angeo/module-mcp-reorder contains the following files

Loading the files please wait ...