Download the PHP package magebitcom/magento2-mcp-customer-tools without Composer

On this page you can find all versions of the php package magebitcom/magento2-mcp-customer-tools. 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 magento2-mcp-customer-tools

Magento2 MCP - Customer Tools

This is a sub-module for the Magento2 MCP module


Customer-domain MCP tools for Magebit_Mcp. Reads and writes against customer accounts, addresses, customer groups, and account management flows (password reset, confirmation).

Each tool is a thin wrapper over a Magento service contract (CustomerRepositoryInterface, AddressRepositoryInterface, GroupRepositoryInterface, AccountManagementInterface) and composes its read response from field resolvers that 3rd-party modules can extend.

Install

Tool catalog

Read tools

Tool What it does
customer.customer.list Paginated customer search; filter by email (exact / glob / array), firstname/lastname substring, group_id, website_id, store_id, created_at range, updated_at range, dob range.
customer.customer.get Single customer by numeric id or by email (+ optional website_id for email lookup in per-website scope).
customer.address.list Paginated address search; filter by customer_id, country_id, region_id, postcode, city, telephone.
customer.address.get Single customer address by id.
customer.group.list Paginated group search; filter by code (exact / glob / array) and tax_class_id.
customer.group.get Single customer group by id.
customer.account.confirmation_status Returns account_confirmed, account_confirmation_required, or account_confirmation_not_required.

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 requires_confirmation so MCP clients (Claude Desktop, etc.) prompt before firing.

Tool Confirm? Delegates to Underlying ACL
customer.customer.create yes AccountManagementInterface::createAccount() Magento_Customer::manage
customer.customer.update yes CustomerRepositoryInterface::save() (PATCH) Magento_Customer::manage
customer.customer.delete yes CustomerRepositoryInterface::delete() Magento_Customer::delete
customer.address.create yes AddressRepositoryInterface::save() Magento_Customer::manage
customer.address.update yes AddressRepositoryInterface::save() (PATCH) Magento_Customer::manage
customer.address.delete yes AddressRepositoryInterface::delete() Magento_Customer::manage
customer.account.reset_password yes AccountManagementInterface::initiatePasswordReset() Magento_Customer::reset_password
customer.account.resend_confirmation no AccountManagementInterface::resendConfirmation() Magento_Customer::manage

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.

Identity lookups

customer.customer.get, customer.customer.update, customer.customer.delete, customer.account.confirmation_status accept either id (numeric primary key) or email. Email lookups take an optional website_id because customer/account_share/scope may be per-website (the Magento default), in which case the same address can exist on multiple sites as distinct accounts.

Address tools are keyed by numeric id only — addresses are unique per row, not per customer+label.

PII handling

Customer and address records are PII-heavy by design. Every read tool exposes the fields / exclude arguments so callers can narrow the payload:

Audit summaries stored in magebit_mcp_audit_log contain identifiers only (id, email, website_id, row counts) — never the full record.

Extending

See docs/EXTENDING.md for:

License

Released under the MIT License.


magebit (1)

Have questions or need help? Contact us at [email protected]


All versions of magento2-mcp-customer-tools with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
magento/framework Version ^103.0
magebitcom/magento2-mcp-module Version *
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 magebitcom/magento2-mcp-customer-tools contains the following files

Loading the files please wait ...