PHPackages                             magebitcom/magento2-mcp-order-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. magebitcom/magento2-mcp-order-tools

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

magebitcom/magento2-mcp-order-tools
===================================

Order-domain MCP tools for Magebit\_Mcp (read + write over sales orders, invoices, shipments, credit memos, comments, payment)

v1.0.0(1mo ago)0367↑52.4%MITPHPPHP &gt;=8.1

Since May 6Pushed 1mo agoCompare

[ Source](https://github.com/magebitcom/magento2-mcp-order-tools)[ Packagist](https://packagist.org/packages/magebitcom/magento2-mcp-order-tools)[ RSS](/packages/magebitcom-magento2-mcp-order-tools/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Magento2 MCP - Order Tools
==========================

[](#magento2-mcp---order-tools)

This is a sub-module for the [Magento2 MCP module](https://github.com/magebitcom/magento2-mcp-module)

---

Order-domain MCP tools for `Magebit_Mcp`. Reads and writes against sales orders, invoices, shipments, credit memos, comments, and payment records.

Each tool is a thin wrapper over a Magento service contract (`OrderRepositoryInterface`, `InvoiceOrderInterface`, etc.) and composes its response from field resolvers that 3rd-party modules can extend.

Install
-------

[](#install)

```
composer require magebitcom/magento2-mcp-order-tools
bin/magento module:enable Magebit_McpOrderTools
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
```

Ships with `Magebit_Mcp` as its only Magebit dependency. If you only want the base MCP transport (no order tools), install `Magebit_Mcp` alone; this module is designed to be optional.

Tool catalog
------------

[](#tool-catalog)

### Read tools

[](#read-tools)

ToolWhat it does`sales.order.list`Paginated order search; filter by status, state, date range, grand-total range, customer email, increment id, store id, website id.`sales.order.get`Single order by entity id or increment id with full detail (identity, state, customer, addresses, items, totals, payment, timestamps).`sales.order.invoices`Every invoice on an order.`sales.order.invoice.get`One invoice by id or increment id.`sales.order.shipments`Every shipment on an order.`sales.order.shipment.get`One shipment + its tracking records.`sales.order.payment`Payment record + transaction history for an order.`sales.order.comments`Status-history comments on an order, optionally narrowed to customer-visible entries.`sales.order.credit_memos`Every credit memo on an order.`sales.order.credit_memo.get`One credit memo by id or increment id.### Write tools

[](#write-tools)

All writes require the global `magebit_mcp/general/allow_writes` flag **and**the token's own `allow_writes` flag to be `1`. Destructive operations additionally set the `requires_confirmation` hint so MCP clients (Claude Desktop, etc.) prompt before firing.

ToolConfirm?Delegates to`sales.order.invoice.create`yes`InvoiceOrderInterface::execute()``sales.order.shipment.create`yes`ShipOrderInterface::execute()``sales.order.shipment.track.add`no`ShipmentTrackRepositoryInterface::save()``sales.order.credit_memo.create`yes`RefundOrderInterface::execute()` + optional online refund`sales.order.cancel`yes`OrderManagementInterface::cancel()``sales.order.hold`yes`OrderManagementInterface::hold()``sales.order.unhold`no`OrderManagementInterface::unHold()``sales.order.comment.add`no`OrderManagementInterface::addComment()`Every write tool also implements `Magebit\Mcp\Api\UnderlyingAclAwareInterface`so the handler blocks calls from admins who wouldn't be allowed to perform the same action in the admin UI.

Extending
---------

[](#extending)

See `docs/EXTENDING.md` for:

- adding a new field to any tool response via `*FieldResolverInterface`;
- adding a new filter to `sales.order.list` via `OrderFilterTranslatorInterface`;
- the ACL layering rules for custom write tools;
- PII redactor configuration for PSP-specific payment fields.

License
-------

[](#license)

Released under the [MIT License](LICENSE).

---

[![magebit (1)](https://private-user-images.githubusercontent.com/58505474/416166496-cdc904ce-e839-40a0-a86f-792f7ab7961f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIzOTA0OTMsIm5iZiI6MTc4MjM5M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WC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhNWJiNzc4MWIyMGQ1NWVhNTAwZGZkNWUwYmY3NDExZTg3MzQ0NjQwODgyNzAzOTdmYjJkMGE0MWU2NmYwYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.O9uTPK1p9IJ2oPJxA-nCoae9S2Po_IazuJDVEa6kNdk)

*Have questions or need help? Contact us at *

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance88

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Total

2

Last Release

58d ago

Major Versions

v0.0.1 → v1.0.02026-05-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10514036?v=4)[magebit](/maintainers/magebit)[@Magebit](https://github.com/Magebit)

---

Top Contributors

[![KristofersOzolinsMagebit](https://avatars.githubusercontent.com/u/58505474?v=4)](https://github.com/KristofersOzolinsMagebit "KristofersOzolinsMagebit (4 commits)")

---

Tags

adobeadobe-commerceaimagento2magento2-extensionmagento2-modulemcp-server

### Embed Badge

![Health badge](/badges/magebitcom-magento2-mcp-order-tools/health.svg)

```
[![Health](https://phpackages.com/badges/magebitcom-magento2-mcp-order-tools/health.svg)](https://phpackages.com/packages/magebitcom-magento2-mcp-order-tools)
```

###  Alternatives

[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[mage-os/module-llm-txt

AI-powered LLMs.txt generation for Magento 2 / Mage-OS stores. Help AI systems understand your store with OpenAI-generated content.

234.4k](/packages/mage-os-module-llm-txt)[mage-os/module-rma

Return Merchandise Authorization

214.0k](/packages/mage-os-module-rma)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

256.0k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
