Agent Gateway

Magento 2 Extension New Open Source & Adobe Commerce 2.4.x
SKU: M2-AGENTGATEWAY
Run a Magento-native MCP server so AI procurement agents can search the catalog, read product detail, resolve pricing, check stock, and look up order status with scoped keys — not admin tokens.

Everything you need, out of the box

  • Streamable HTTP MCP endpoint at /agent/mcp
  • Company- and customer-scoped agent API keys
  • Read tools for catalog, product, pricing, stock, and order status
  • Rate limiting and an exportable audit trail
  • Cache-safe MCP responses with Varnish bypass samples
  • DI tool registry for Agent Gateway Pro
MCP server Scoped agent keys Free listing
One-time payment
FREE
Lifetime license — no recurring fees
Get it on Adobe Commerce Marketplace

Billing and licensing handled securely by Adobe Commerce Marketplace.

  • Free download via Adobe Commerce Marketplace
  • Documentation & install guide included
  • Technical support is not included on free extensions
Marketplace Verified

Adobe handles billing, licensing and distribution.

Composer install

Install from Adobe Commerce Marketplace. Documentation is included; technical support is not.

Pre-sales help

Questions before you install? Use the contact form. Free extensions are not covered by licensed support.

Technical fit

Compatibility & requirements

Built for modern Magento 2 stacks with Composer-based deployment.

Requirements

Magento
Open Source & Adobe Commerce 2.4.x
PHP
8.2 – 8.5
Install
Composer — requires magemaclean/m2-core
Edition
Open Source & Adobe Commerce

Deployment checklist

  • Enable the module and run setup:upgrade
  • Deploy static content in production mode
  • Flush caches after configuration changes
  • Verify on staging before production rollout
Try it live

Frontend and admin demos

Independent Magento demo stores on magemaclean-demos.com — sample catalog, real module, no purchase required.

Frontend demo

Explore the shopper experience on a live Magento storefront.

Try the MCP agent flow on the demo storefront.

Launch frontend demo

Admin demo

Open Magento Admin and review configuration, grids, and workflows.

Sign in as demo — the password is printed on the admin login page.

Launch admin demo

All MageMaclean demos

The Challenge

Agents need catalog access without admin tokens:

  • Procurement assistants want live products, price, and stock
  • Sharing Admin credentials or unbounded integration tokens is unsafe
  • One-off agent APIs do not speak a shared protocol
  • You need an audit trail of which agent called which tool

The Solution

An MCP server inside Magento:

  • Scoped, revocable agent keys — company- or customer-aware
  • Read tools for search, product, pricing, stock, and order status
  • Rate limits and an exportable audit log
  • Cache-safe MCP responses that Varnish can bypass

Agent Gateway is a free Magento 2 module that runs a Model Context Protocol (MCP) server on your store. Compatible AI clients connect to /agent/mcp with keys you issue in Admin instead of sharing Magento Admin access. Typical use cases include B2B buyers whose procurement assistants need live catalog and pricing, and merchants who want an auditable agent channel. After install, Admin gains MageMaclean → Agent Gateway (Agent Keys and Audit Log).

Requires the free MageMaclean Core module (magemaclean/m2-core), installed automatically when you use Composer. Pair with Agent Gateway Pro when you need carts, orders, guardrails, and approvals. Technical support is not included on free extensions — use the Marketplace listing documentation.

What you get

Controlled reads for AI agents

MCP endpoint

Streamable HTTP at /agent/mcp for initialize, tools/list, and tools/call.

Scoped keys

Company- and customer-aware API keys with least-privilege tool scopes.

Read tools

Catalog search, product detail, company-aware pricing, stock check, and order status.

Audit

Tool calls, actor, status, and latency — exportable from Admin.

Cache-safe

Cache-Control: no-store on MCP responses, with Nginx/Varnish samples.

Pro-ready registry

A DI tool registry so Agent Gateway Pro can add write tools later.

How it works

Key to tool call to Magento data

1
Issue a key Create a scoped agent key in MageMaclean → Agent Gateway
2
Connect an MCP client The agent lists tools and calls only what the key allows
3
Magento answers Catalog, price, stock, or order status — with an audit row

Who it is for

B2B and catalog-heavy Magento merchants who want AI procurement agents to read live data without unbounded Admin access. Start with free Agent Gateway; add Pro when agents should place orders under merchant policy.

Get it running

Installation

Install via Composer from Adobe Commerce Marketplace (requires free MageMaclean Core).

composer require magemaclean/mage2-agentgateway
bin/magento module:enable MageMaclean_AgentGateway
bin/magento setup:upgrade

Then create agent keys under MageMaclean → Agent Gateway. Technical support is not included on free extensions. Use the Marketplace listing documentation.

License

Pricing

Free on Adobe Commerce Marketplace. Technical support is not included on free extensions.

License
Free
Download on Adobe Commerce Marketplace
After you buy

Support & license

Licensing and billing go through Adobe Commerce Marketplace. MageMaclean provides developer support on paid licenses.

License
OSL-3.0
Support
Not included on free extensions. Use the Marketplace listing documentation.
Composer package
magemaclean/mage2-agentgateway
Module
MageMaclean_AgentGateway

Contact us with pre-sales questions.

Need help?

Support from the developers who built it

Review our support policy, response times, and update guarantees before you purchase on the Adobe Commerce Marketplace.