How to Use the Maropost MCP in Claude Code
Run Maropost contact syncs and campaign reporting directly from your terminal using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Maropost MCP to Claude Code
Create your Vinkius account to connect Maropost 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.
Maropost MCP Server for CLI
The `list_campaigns` tool lets you dump active marketing deployments straight to standard output. You trigger Claude Code from your terminal to grab the latest send metrics via `get_campaign_details`. It parses the JSON response and pipes the exact failure rates into your monitoring scripts. When you need automated weekly summaries, Claude Code chains `list_reports` with `get_report_details`. You run a single headless command via cron, and the agent fetches the specific report IDs, extracts the data, and writes a clean CSV to your local disk. No dashboard logins required.
Script Contact Management
The `create_contact` tool gives your shell scripts the ability to upsert subscribers during database migrations. You pipe a list of new user emails to Claude Code, and it loops through the payload, pushing each record to Maropost. It validates the insertion by running `get_contact` on the output. If you need to audit a specific segment, Claude Code fires `list_lists` to grab the internal directory. It then executes `list_contacts_in_list` to pull the specific audience members. You can pipe this output directly into grep or jq for fast terminal-based filtering.
Debug Marketing Workflows
The `list_workflows` tool outputs your active Maropost journeys directly to the command line. You check which automations are currently running without leaving your SSH session. This helps you verify that your backend events match the live marketing triggers. If a customer complains about missing a drip email, you tell the agent to run `get_workflow_details`. Claude Code pulls the exact node criteria for that specific journey. You compare the workflow requirements against your server logs to isolate the exact point of failure.
Set up Maropost 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 seemaropost-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Maropost transactions." It will automatically discover and invoke the available Maropost tools.
claude mcp add --transport http maropost-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 Maropost MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Maropost MCP today
We host it, we monitor it, we maintain it. You just paste one token.