
Easy Email Builder
io.github.Shahkarkhan440v0.1.1Updated Oct 9, 2026
Design HTML email templates with AI: render to HTML and open them in a visual editor
Overview
Lets an assistant design HTML email templates, validate and render them, and produce a preview link for a visual editor.
- What it does
- The server gives an assistant tools to work with HTML email templates: get_block_reference explains the template format (blocks, properties, colors, variables), list_templates lists 31 starter templates plus built-in header and footer ids, and get_template returns a starter template to adapt. build_email validates a template, renders the final email HTML, lists its variables with fallback values, and returns a preview link that opens the email in the visual editor; it can also save the HTML or editor JSON to files.
- When to use it
- Use it when you want an assistant to draft or adapt marketing or transactional email templates and hand you rendered HTML plus an editable preview, rather than writing markup by hand. It suits welcome, newsletter, and similar template work where you want to keep editing visually and export afterwards.
- Requirements
- Runs locally over stdio as the npm package easy-email-builder-mcp, so it needs Node.js 18+ (Claude Desktop can run it with its built-in Node via the extension). No account or API key is declared. The optional environment variable EASY_EMAIL_BUILDER_EDITOR_URL points preview links at your own editor deployment, which must decode the #z/ link format.
Installation
In SourceWeft
- Open Easy Email Builder in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Easy Email Builder MCP server
Let AI assistants (Claude, Cursor, VS Code, …) design HTML email templates with Easy Email Builder. The assistant writes the template, the server validates and renders it, and you get:
- the final email HTML,
- a preview link that opens the email in the visual editor, where you can keep editing and export it,
- the template's variables (
{{first_name}},{%unsubscribe_link%}, …) with their fallback values, - optionally the editor JSON, to load into the
EmailBuilderReact component.
Add it to your AI agent
Works with any agent that supports local MCP servers. The command-line setups need Node.js 18+.
Claude Desktop: one-click extension (easiest)
- Download easy-email-builder.mcpb.
- Double-click it (or drag it into Claude Desktop → Settings → Extensions) and click Install.
No Node.js or config editing needed: Claude Desktop runs it with its built-in Node.
Claude Code
--scope user makes it available in all your projects; leave it out to add it to the current project only.
OpenAI Codex
or in ~/.codex/config.toml:
VS Code (GitHub Copilot)
or .vscode/mcp.json in your project:
Gemini CLI
Cursor, Windsurf, Cline and others
Add this to the client's MCP config:
If the server fails to start with spawn npx ENOENT or env: node: No such file or directory (common with nvm, because desktop apps don't load your shell's PATH), use the full path from which npx as the command and add your Node folder to PATH:
ChatGPT and claude.ai (web): these only connect to MCP servers hosted at a URL. This server runs on your machine, so use it from Claude Desktop, Claude Code, Codex or one of the clients above.
Try it
Ask, for example: "Create a welcome email for my coffee shop with a 10% discount code and the customer's first name."
Tools
Preview links
The template is compressed into the link itself (…/Easy-Email-Builder/#z/…). Nothing is uploaded or stored on a server. Very large templates make long links, and some apps cut those off; build_email warns when a link is long.
To open links in your own deployment of the editor, set EASY_EMAIL_BUILDER_EDITOR_URL:
Your deployment must decode #z/ links; see decodeTemplateHash in src/getConfiguration.
Development
The server reuses the editor's own code from ../src (rendering, templates, variables) and bundles it into a single file.
Try it with the MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js.
Releasing
- Set the same version in
package.jsonand inserver.json(versionandpackages[0].version). The extension takes its version frompackage.json. pnpm test, thennpm publish --otp=<code>.mcp-publisher publish(after npm: the registry checks the npm package).- Create a GitHub release and attach
dist/easy-email-builder.mcpb(keep that file name: the README's download link points to the latest release'seasy-email-builder.mcpb).
License
MIT
Source: mcp/README.md at commit e1edd83
Tools
0Version history
1- v0.1.1LatestOct 9, 2026


