Sending

MCP server

Connect EmailBuilder to Claude or ChatGPT. Create, edit and preview emails from a chat, and fine-tune them in a visual editor that opens inside the conversation.

EmailBuilder runs an MCP (Model Context Protocol) server. MCP is the standard way for an AI assistant to connect to another app and use it on your behalf. Once you add EmailBuilder as a connector in Claude or ChatGPT, the assistant can create and edit emails in your account, show you screenshots of them, and open the EmailBuilder visual editor as a panel in the chat so you can fix details by hand.

Everything the assistant saves goes to your EmailBuilder account. It does not send email: sending happens from the web app at app.emailbuilder.ai, through the provider you connected there.

This is the closest thing EmailBuilder has to a public API today.

Connect it

You need an EmailBuilder account. Then add this server URL as a custom connector:

https://mcp.emailbuilder.ai/mcp

There is nothing to install and no API key to paste. You sign in to EmailBuilder once and approve the connection.

Claude

  1. Open Settings and go to Connectors.
  2. Click Add custom connector. Name it EmailBuilder and paste the server URL above.
  3. Click Add, then Connect. Sign in to EmailBuilder.ai and approve the connection.

Claude connects from Anthropic's servers rather than from your machine, so no local bridge is needed.

ChatGPT

  1. Open Settings and find where ChatGPT adds a custom connector (a custom MCP server). The menu name differs between app versions; you may need to turn on developer mode first.
  2. Add a new connector. Name it EmailBuilder and paste the server URL above.
  3. When ChatGPT sends you to EmailBuilder.ai, sign in and approve the connection.

In our tests this worked on a free ChatGPT account, including the editor panel.

Other clients

Claude and ChatGPT are the clients we have tested end to end. Other MCP clients that speak Streamable HTTP can connect to the same URL, and clients that support OAuth find the sign-in flow on their own. For Claude Code:

claude mcp add --transport http emailbuilder https://mcp.emailbuilder.ai/mcp

Then run /mcp inside a session and pick emailbuilder to sign in.

The in-chat editor panel needs a client that supports MCP Apps. In a client without it, every other tool still works; the assistant just cannot show you the panel.

Clients that cannot do the sign-in flow can use an API key instead — see API keys.

What the assistant can call

These are the tools the server gives the assistant:

AreaToolWhat it does
Projectslist_projectsLists the projects in your account, with each one's ID, website and sender.
Emailslist_emailsLists emails or templates in a project, with title, ID, tags, updated date and thumbnail.
get_emailReads an email by ID: MJML source, title, preheader, description, tags and metadata.
create_emailCreates an email or template from MJML and a title. Counts against your plan's email and template limits.
update_emailChanges an email's MJML, title, preheader, description, tags, subject or template data. The browser editor reloads if the email is open.
delete_emailSoft-deletes an email. It can be recovered later.
render_email_htmlCompiles an email's MJML, or raw MJML, to HTML.
validate_mjmlChecks MJML for structural errors without rendering, and reports them with line numbers.
Editor panelopen_email_editorOpens the visual editor for an email as a panel in the chat. Takes an email ID or a title.
apply_to_editorPuts revised MJML into the open panel as an unsaved change. You review it and save it yourself.
get_editor_selectionReads what you have selected in the panel, and the panel's unsaved MJML if there is any.
Previewpreview_emailReturns a screenshot of an email or of raw MJML. Takes a viewport width, so it can show the mobile layout.
render_htmlReturns a screenshot of raw HTML, for example an existing email before converting it to MJML.
Brandingget_brandingReads a project's brand settings: logo, colours, fonts, social links, business info, footer and legal links.
Modulessearch_modulesSearches the library of reusable, brand-aware MJML blocks (headers, footers, heroes, product blocks and more).
Content sourceslist_content_sourcesLists the content sources (RSS, JSON, XML and others) connected to a project.
read_content_sourceFetches the latest items from a content source.
connect_content_sourceConnects a new RSS, JSON, XML or WordPress source.
Mediasearch_filesSearches the files you have uploaded.
search_unsplashSearches Unsplash for stock photos, with attribution.
svg_to_imageTurns SVG markup into a hosted PNG in your file library.
Sending setuplist_esp_connectionsLists the email service providers connected to a project and their status. Read-only; credentials are never returned.
Automationget_automationReads an email's recurring schedule.
set_automationSets or changes an email's recurring schedule. Each run creates a draft.
Pageslist_pages, get_page, create_page, update_page, delete_pageManage website builder pages, which use the same MJML as emails.

The page tools are only offered to accounts that have the website builder turned on for at least one project. Other accounts do not see them.

A few things are deliberately out of reach. The assistant cannot send email, cannot connect an email service provider (that needs an API key, which should never be typed into a chat), and cannot see provider credentials. Those stay in the web app.

The editor panel

Ask the assistant to open an email, for example "Open my March newsletter in the editor", and it calls open_email_editor. The EmailBuilder editor appears as a panel in the conversation. You can drag sections, edit text, change colours, pick images from your library, undo and redo, and save.

  • Finding the email. The assistant can pass a title instead of an ID. The title is looked up across every project in your account. If more than one email matches, it lists them with their project names and asks which one you mean.
  • Pointing at things. Click an element in the panel and say "make this green". The assistant calls get_editor_selection to see what you selected instead of guessing.
  • Changes from the assistant. While the panel is open, the assistant proposes edits with apply_to_editor. They arrive as an unsaved change: you look at it, undo it or save it.
  • Saving. Saves from the panel go to your account like any other save. If the same email is open in the browser editor, it reloads.

The panel also calls a few internal tools of its own (loading the email, listing your images for the picker, exporting clean HTML for its Copy HTML button). Clients that support MCP Apps hide these from the assistant, so they are not listed above.

Scheduled drafts

set_automation puts an email on a recurring schedule, for example "draft the digest every Monday at 9:00, Berlin time". It takes a standard five-field cron expression and a timezone, and replies with the next three run times so you can check it means what you expect.

  • Drafts only. Each run creates a draft in your account. A schedule set up over MCP never sends to an audience, and it does not need a connected provider.
  • Timezone is required. It must be an IANA name such as Europe/Berlin or America/New_York, or UTC. Abbreviations like EST are rejected, because they ignore daylight saving and the schedule would run an hour off for part of the year. If you don't say which timezone, the assistant should ask.
  • New schedules start paused unless you ask for them to start running.
  • Live sending stays in the web app. Turning a schedule into real sending is something you do yourself at app.emailbuilder.ai, where the audience is on screen when you choose it. If an email's automation is already set to send, the assistant cannot change it.

A typical session

You: Create a welcome email for new subscribers with our logo and brand colours.
Assistant → get_branding        (logo, colours, sender)
          → search_modules      (finds a footer block)
          → create_email(title, mjml)
          → preview_email       (shows you a screenshot)

You: Open it in the editor.
Assistant → open_email_editor(title: "Welcome")

  (you click the main button in the panel)

You: Make this green and shorten the label.
Assistant → get_editor_selection
          → apply_to_editor(mjml)   (unsaved change in the panel; you save it)

You: Give me the HTML for my ESP.
Assistant → render_email_html

The assistant reads your branding before it writes, so you don't need to paste hex codes or logo URLs into your prompts. A new email also takes its sender name and address from its project.

Projects

Every email, page, brand and file in EmailBuilder belongs to a project. Most accounts have one project, and then you never need to think about it: the assistant never mentions projects and everything goes to that one.

If your account has several projects (one per brand or client, say), this is how the server decides where things go:

  • There is no "active project". Nothing is set once for the session. Tools that work inside a project take an optional project argument, the project's name or ID. Two chats working in two different projects do not affect each other.
  • Looking up an email you named works across all projects. open_email_editor finds an email by title in any project, so the assistant does not need to ask where it lives. Tools that take an email or page ID (get_email, update_email, preview_email, get_automation and so on) work on that item whatever project it is in.
  • Browsing lists one project. list_emails, list_pages, search_files, list_content_sources and list_esp_connections show the project you name, or your account's default project if you don't name one. They never mix projects in one list.
  • Creating refuses to guess. create_email, create_page and get_branding need a project when the account has more than one. Without one they write nothing and reply with the list of project names, and the assistant either uses the project the conversation has already been working in or asks you. It does not pick the default for you, because a new email takes its sender address and brand colours from its project. get_branding is gated the same way because the assistant reads it before composing an email.
  • Results say where things went. When a multi-project account creates something, the result names the project, and the assistant tells you.

connect_content_source saves the new source to the project you name, or to the default project if you don't. Images made with svg_to_image go to the default project's file library.

Signing in and disconnecting

The sign-in flow is the recommended way to connect. You approve the connection once, in EmailBuilder, and no credential is copied into your AI client.

  • Connected assistants are listed on Account → Integrations → Connected Apps.
  • Disconnecting one there cuts its access immediately. It does not wait for a token to expire.
  • Removing the connector inside Claude or ChatGPT has the same effect from the other side.

API keys

API keys are the alternative for clients that cannot do the sign-in flow, or that you would rather configure with a key, such as Cursor or your own scripts. Generate one at Account → Integrations → API Keys and send it as a bearer token. For Cursor, add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "emailbuilder": {
      "url": "https://mcp.emailbuilder.ai/mcp",
      "headers": {
        "Authorization": "Bearer eb_YOUR_API_KEY_HERE"
      }
    }
  }
}
  • Each API key is tied to one EmailBuilder account and has the same access as a signed-in connection.
  • Keys are stored hashed (SHA-256). You can't retrieve a key you've lost — generate a new one.
  • The API Keys page shows a last-used timestamp per key. Rotate anything that's been idle for months.

Endpoints and limits

  • The MCP server runs at https://mcp.emailbuilder.ai with Streamable HTTP transport at /mcp.
  • The older SSE endpoint at /sse still answers, so clients configured before the move keep working. New clients should use /mcp.
  • Creating emails and templates over MCP counts against your plan's limits, the same as in the web app.

When to use MCP vs other paths

Want to …Use
Build and send emails by handThe web app at app.emailbuilder.ai
Insert a saved template into GmailThe Gmail add-on
Create and edit emails from Claude, ChatGPT or another MCP clientThis MCP server
Trigger a send from an external systemNot available yet. MCP does not send email either — contact us about your use case

A public REST API for sending is on our roadmap. Until then, MCP plus the Gmail/Outlook add-ons cover most automation needs.

On this page