MailerLite MCP, CLI, and Lua Integration for AI Agents
MailerLite integration docs for AI agents: MCP gateway setup, MailerLite CLI commands, Lua API reference, credentials, and function schemas.
8 functions 4 read 4 write API key auth
MailerLite for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
mailerlite- route_slug
mailerlite- package
mailerlite- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. MailerLite CLIHeadless setup and direct function calls. MailerLite MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
MailerLite MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for MailerLite.
Claude Code MailerLite MCP setup for Claude Code. Cursor MailerLite MCP setup for Cursor. Codex MailerLite MCP setup for Codex. OpenAI Agents MailerLite MCP setup for OpenAI Agents SDK. Claude Agent SDK MailerLite MCP setup for Claude Agent SDK. Vercel AI SDK MailerLite MCP setup for Vercel AI SDK. LangChain MailerLite MCP setup for LangChain. LangGraph MailerLite MCP setup for LangGraph. CrewAI MailerLite MCP setup for CrewAI. MCP clients MailerLite MCP setup for Generic MCP Clients.
MailerLite CLI Matrix
Use these pages for direct MailerLite CLI workflows in scripts, CI, cron, and agent wrappers.
CI MailerLite CLI for CI. Cron Jobs MailerLite CLI for cron jobs. Shell Scripts MailerLite CLI for shell scripts. Headless Automation MailerLite CLI for headless automation. Coding Agents MailerLite CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
mailerlite.mailerlite_list_subscribers | Read read | 3 | List subscribers from MailerLite. Supports pagination and filtering by status (active, unsubscribed, etc.). |
mailerlite.mailerlite_get_subscriber | Read read | 1 | Get details for a single MailerLite subscriber by their ID. |
mailerlite.mailerlite_create_subscriber | Write write | 3 | Add a new subscriber to MailerLite. Provide an email address and optionally a name and custom fields. |
mailerlite.mailerlite_update_subscriber | Write write | 3 | Update an existing subscriber in MailerLite. Provide the subscriber ID and fields to update. |
mailerlite.mailerlite_delete_subscriber | Write write | 1 | Delete a subscriber from MailerLite by their ID. This action is permanent. |
mailerlite.mailerlite_list_groups | Read read | 2 | List subscriber groups (segments) from MailerLite. Supports pagination. |
mailerlite.mailerlite_add_subscriber_to_group | Write write | 3 | Add a subscriber to a MailerLite group by providing the group ID and subscriber email. |
mailerlite.mailerlite_get_current_user | Read read | 0 | Get the currently authenticated MailerLite account information. Useful for verifying API credentials. |