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(1w ago)0107—7.1%MITPHPPHP &gt;=8.1

Since May 6Pushed 1w 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 1w 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA4NTE5NDIsIm5iZiI6MTc4MDg1MTY0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MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxNDUwYzhjNGMwNjg0OTU2NjFjMmNjNzc5OTA2M2I2ZjEyMTExYzM5MDc4NTE4ZjI3NWI5ZWQ0ODBmY2U0MDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.WyWSUAmhWJkIPMIGe-_CfWKsPa3C79JB_s0Iv2Rr0Q0)

*Have questions or need help? Contact us at *

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

13d 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

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2852.6M](/packages/elgentos-regenerate-catalog-urls)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

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

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

1010.0k22](/packages/loki-magento2-components)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.9k](/packages/magepal-magento2-form-field-manager)[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.

223.3k](/packages/mage-os-module-llm-txt)

PHPackages © 2026

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