kowal.info

MCP Email

Product page

Kowal MCP Server — kowal.co

Description

Use the kowal_email_template tool to inspect the transactional email templates Magento Sales selects for a store view and to prepare revisions for review.

For whom

For Magento administrators and developers maintaining order, invoice, shipment and credit memo emails for customers and guests.

Features

  • List the registered message types and inspect the variables declared in their module source.
  • Read a store view’s effective template assignment and inspect the assigned database or file source.
  • Clone a supported database template, review revisions to its subject, content or styles, and manage store-view assignment through separate change plans.

Installation

This component is included in Kowal MCP Server. Follow the suite installation instructions.

Configuration

  1. Follow the package installation instructions and enable Kowal_McpEmail alongside Magento_Email, Magento_Config and Magento_Sales. Run the Magento upgrade as part of deployment.
  2. Grant kowal_email_template/list_message_types for discovery. For assignment reads, grant both kowal_email_template/get_assignments and kowal_email_template/scope_store_N, replacing N with the active store view ID. Renew OAuth consent after changing grants.
  3. Call get_assignments with the message type and store ID. To inspect the source, grant and use get_assigned_template for a database template or get_assigned_file for a registered file reference.

Requirements / notes

A clone is saved as an unassigned database template. Review its preview and confirm the target store view before approving a separate assignment plan.

FAQ

Does get_variables show the values from a customer’s order?

It returns declarations from the registered module file. To review the template actually selected for a particular view, start with its assignment and inspect the corresponding source.

Verify the installation

bin/magento module:status Kowal_McpEmail

List the message types and select order_guest. Read its assignment for an active test store view and compare the template reference with the order email setting in Magento Admin. This check uses read actions only.