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/mcp

Remote MCP server · Streamable HTTP transport · OAuth 2.0 authentication

Quick Connect

Claude

  1. Open Settings → Connectors → Add custom connector
  2. Paste the server URL: https://www.trykopi.ai/mcp
  3. 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/mcp

Cursor & 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 next
  • Audit my brand's email program for the last 90 days
  • Draft a spring launch email highlighting free shipping
  • Rewrite this email to be shorter and more urgent
  • Generate a 16:9 hero banner for the campaign

The Tools

ToolTypeWhat it does
get_context
Brand
Read-onlyGet 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_brandActionSwitch the active brand. The choice persists across conversations.
list_brandsRead-onlyReturn 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_email
Email
ActionGenerate 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_emailActionSurgically 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_emailRead-onlyView one email. Provide exactly one identifier — emailId OR emailUrl.
check_statusRead-onlyCheck the status of in-progress work: email generation, brand setup, and other async operations. Shows progress, timestamps, errors, and result URLs.
get_email_performance
Analysis
Read-onlyGet email program performance. Calling with no arguments returns a 30-day summary.
refresh_performance_dataActionRecompute email performance data (audience, campaigns, flows, lifecycle). This is expensive — it makes many API calls and takes 1-3 minutes.
get_email_ideas
Ideas
Read-onlyGet 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_image
Media
ActionGenerate 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