Kopi MCP Server
Connect Kopi — the email marketing agent — to Claude, Claude Code, Cursor, or any MCP client. Draft on-brand emails, audit Klaviyo performance, and surface what to send next, grounded in your brand's own data.
Server URL
https://www.trykopi.ai/mcpRemote MCP server · Streamable HTTP transport · OAuth 2.0 authentication
Quick Connect
Claude
- Open Settings → Connectors → Add custom connector
- Paste the server URL:
https://www.trykopi.ai/mcp - Your first tool call opens a browser window to sign in to Kopi (OAuth) — free account, no card.
Claude Code
One command in your terminal:
claude mcp add --transport http kopi https://www.trykopi.ai/mcpCursor & Others
Any client that supports remote MCP servers over Streamable HTTP can connect with the URL above. OAuth is negotiated automatically via standard discovery.
What You Can Do
Draft On-Brand Emails
One-line prompts become fully designed, production-ready emails rendered from your brand's stored colors, fonts, and style.
Audit Your Program
Campaign and flow performance, audience health, and prioritized recommendations from your Klaviyo data.
Plan What To Send
Ranked campaign ideas, flow updates, newsjacking angles, and trending topics — each with a ready-to-use prompt.
Generate Images & GIFs
Hero banners, product shots, and email-safe animations on demand.
Example Prompts
Set my active brand from mystore.com and tell me what to send nextAudit my brand's email program for the last 90 daysDraft a spring launch email highlighting free shippingRewrite this email to be shorter and more urgentGenerate a 16:9 hero banner for the campaign
The Tools
| Tool | Type | What it does |
|---|---|---|
get_contextBrand | Read-only | Get the active brand and a full briefing: email performance metrics, recent emails, available ideas, and other brand names. This provides enough context to answer most questions without additional tool calls. |
set_active_brand | Action | Switch the active brand. The choice persists across conversations. |
list_brands | Read-only | Return a paginated list of all brands the user can access, with email counts and roles. Use only when the user explicitly asks to see all their brands. |
create_emailEmail | Action | Generate a new email from a natural-language prompt. Kopi's pipeline plans, art-directs, and renders the email from the brand's stored colors, fonts, and style. |
edit_email | Action | Surgically edit an existing email in-place. Provide sourceEmailUrl (the emailUrl returned by create_email) plus a prompt describing what to change in plain language (e.g., 'shorten the intro', 'swap the CTA to "Join the waitlist"', 'remove the testimonial'). |
view_email | Read-only | View one email. Provide exactly one identifier — emailId OR emailUrl. |
check_status | Read-only | Check the status of in-progress work: email generation, brand setup, and other async operations. Shows progress, timestamps, errors, and result URLs. |
get_email_performanceAnalysis | Read-only | Get email program performance. Calling with no arguments returns a 30-day summary. |
refresh_performance_data | Action | Recompute email performance data (audience, campaigns, flows, lifecycle). This is expensive — it makes many API calls and takes 1-3 minutes. |
get_email_ideasIdeas | Read-only | Get ideas for what to send next: campaign ideas, flow updates, newsjacking, and trending topics. Each idea includes a priority and a ready-to-use prompt for create_email. |
generate_imageMedia | Action | Generate a static image or animated GIF. For images: describe what you want and Kopi generates it using AI. |
Resources
The server also exposes MCP resources for deeper reference without extra tool calls:
kopi://getting-started— What Kopi does, how OAuth works, and a first-call checklist.kopi://workflows— Tool sequences for auditing a brand, surfacing ideas, drafting/editing emails, and checking status.kopi://tool-reference— One-paragraph-per-tool reference grouped by domain (brand, email, analysis, ideas, media).
Requirements
- A free Kopi account, authenticated through OAuth.
- Membership in the target brand for brand-scoped tools.
- An active Klaviyo integration on the brand for performance and analytics tools — email drafting works without one.
Put an Email Marketing Agent in Your Agent
Create a free Kopi account, connect the MCP server, and ask Claude what your email program should do next.
Questions? rob@trykopi.ai · Privacy policy