Operations integration
WP Mail SMTP MCP
WP MCP adds WP Mail SMTP ops on the theme dispatcher pair. get-wp-mail-smtp-config reports the active mailer, the from identity and the mailer's settings read through WP Mail SMTP's own Options API, with every credential masked by key and every stored or constant credential value scrubbed from the whole answer so a secret cannot leak through a renamed or nested key. get-wp-mail-smtp-log returns the last sends from the Pro email log, or says logging is off. send-wp-mail-smtp-test is the same mail check behind site health: with confirm:true it sends a test only to the caller's own or the admin address, under a shared hourly limit. set-wp-mail-smtp-from sets the from name and address, merged through WP Mail SMTP's own Options::set() as its settings screen saves them and snapshotted on the option, and refuses a field a constant defines, since the constant would win. Every op runs at manage_options.
What your AI can do
Real WP Mail SMTP operations, every write reversible.
- Report the active mailer and from identity with every credential masked
- Read the last sends from the Pro email log
- Send a test email to your own or the admin address with confirm:true
- Set the from name and address, snapshotted and reversible
- Refuse a from field that a constant already defines
Example prompts
Example WP Mail SMTP prompts.
How is this site sending email right now?
Send a test email to the admin address so I can confirm SMTP works.
Set the from name to "Acme Support" and the from address to support@acme.com.
Under the hood
The WP Mail SMTP calls, under the hood.
theme-read({ operation: "get-wp-mail-smtp-config" }), every credential masked and scrubbed
theme-write({ operation: "set-wp-mail-smtp-from", args: { from_name: "Acme Support" } }), snapshotted on wp_mail_smtp option
In the free plugin
The WP Mail SMTP integration is in the free plugin.
The core WP Mail SMTP tools ship in the free, GPL plugin with the full snapshot and undo engine, and no trial clock. Pro adds 133 more tools, including Elementor deep editing, the other page builders, the forms adapter pack and, for some integrations, extra operations. The pricing page lists what each tier includes.
Frequently asked
WP Mail SMTP MCP: questions, answered.
Can an agent read the SMTP password or API keys?
No. The config read masks every credential by key and scrubs every stored or constant credential value from the whole answer, so a secret cannot leak through a renamed or nested key.
Who can a test email go to?
Only the caller's own address or the site admin address, with confirm:true and under a shared hourly limit. It is the same mail check that site health runs.
Related integrations
More integrations for the same agent.
MCP for FluentSMTP
FreeOperations, 2 tools.
MCP for Post SMTP
FreeOperations, 2 tools.
MCP for WP Mail Logging
FreeOperations, 1 tools.
MCP for Check & Log Email
FreeOperations, 1 tools.
MCP for Email Log
FreeOperations, 1 tools.
MCP for Action Scheduler
FreeOperations, 2 tools.
Browse the full Integrations hub, or read more on the WordPress MCP plugin.