How to Use the Klaviyo (Marketing Automation) MCP in Cursor
Inject live Klaviyo data directly into your code with Cursor's AI agent.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Klaviyo (Marketing Automation) MCP to Cursor
Create your Vinkius account to connect Klaviyo (Marketing Automation) to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build Sync Scripts with Real Data
Stop writing code against mock data. Tell your Cursor agent you need to build a customer sync. It can use `list_audience_segments` to find the ID for your 'Engaged Users' segment, then immediately use that ID with `list_profiles` to fetch a list of real customers. The agent doesn't just show you the data; it writes the code. You get a working script that loops through the profiles returned by `list_profiles`, ready for you to add your business logic. It's the difference between guessing an API response and building on top of one.
Manage Lists and Profiles from the Editor
You're working on a new sign-up form and need to add users to a welcome series. Have the agent find the right list ID with `list_lists`. Then, it can use `add_profiles_to_list` to generate the code snippet for adding new user profiles to that specific list. You can also create profiles on the fly. If you're building a manual import tool, tell the agent to use `create_profile`. It will generate the correct API call structure, including the email and any optional fields like name, right in your active file.
Use This MCP Server to Debug Automations
A customer says they didn't get a welcome email. Instead of logging into Klaviyo, ask your agent to `get_profile` using their ID to see their history. Then, use `get_flow_details` on your welcome flow to check the entry triggers and action steps. This gives you the ground truth, fast. You can compare the customer's profile data against the flow's trigger conditions to see exactly why it didn't run. This MCP server turns your code editor into a powerful debugging tool for your marketing stack.
Set up Klaviyo (Marketing Automation) MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Klaviyo (Marketing Automation) MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Klaviyo (Marketing Automation) transactions." If the MCP tools are loaded correctly, Cursor will call the Klaviyo (Marketing Automation) tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"klaviyo-marketing-automation-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Klaviyo. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
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 Klaviyo (Marketing Automation) MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Klaviyo (Marketing Automation) MCP today
We host it, we monitor it, we maintain it. You just paste one token.