How to Use the MailerLite MCP in Claude Code
Automate your MailerLite list management from the command line. A headless MCP server for your CI/CD pipelines and cron jobs.
Works with every AI agent you already use
…and any MCP-compatible client
Connect MailerLite MCP to Claude Code
Create your Vinkius account to connect MailerLite to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run List Cleanup on a Schedule
This is for headless automation. Set up a cron job that runs a command like `claude mailerlite-mcp list_subscribers --filter '{"status":"bounced"}'`. You can pipe that output directly to a script that calls `delete_subscriber` for each entry. This is how you keep your lists clean without manual intervention. This MCP connection is built for exactly this kind of background task.
Integrate MailerLite into Shell Scripts
Add new subscribers directly from a bash script. After a user signs up in your system, your script can call `claude mailerlite-mcp create_subscriber --email "..."` followed by `add_subscriber_to_group`. The output is clean JSON, so you can easily parse it with `jq` to grab the new subscriber ID for the next step. This turns complex API interactions into simple, chainable command-line operations.
Monitor Campaigns in Your CI/CD Pipeline
Use this MailerLite MCP server to build health checks into your deployment process. A simple `claude mailerlite-mcp list_campaigns | jq '. | length'` can verify that your campaigns are present after a deployment. You can also monitor account status with `get_me` or check form configurations with `list_forms`. If a command fails, it returns a non-zero exit code, which can automatically fail your GitHub Actions workflow.
Set up MailerLite MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seemailerlite-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest MailerLite transactions." It will automatically discover and invoke the available MailerLite tools.
claude mcp add --transport http mailerlite-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about MailerLite MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the MailerLite MCP today
We host it, we monitor it, we maintain it. You just paste one token.