Model Context Protocol

Build email templates with Claude & AI agents

Pagenflow's MCP server lets Claude, Claude Code, and any MCP-compatible AI assistant manage your whole workspace — projects, templates, teammates, billing, and more — using plain language instead of clicking through the UI.

What is the Pagenflow MCP server?

The Model Context Protocol (MCP) is an open standard for connecting AI assistants to real applications. Pagenflow's MCP server exposes your account as a set of tools an AI agent can call directly — no browser tab required.

Instead of describing what you want and then doing it yourself, you can ask Claude to "create a new project called Q3 Launch, duplicate last month's newsletter into it, and send me a test email" — and it happens, using the same permissions you already have in Pagenflow (or every permission a super admin has, if that's your account).

What you can do through MCP

The MCP server mirrors almost everything you can do in the app — organized into clear, well-documented tools grouped by domain.

Teams & members

Create teams, invite teammates by email, change roles, and switch your active workspace — all from a conversation.

Projects

Create, star, archive, duplicate, and publish projects to organize templates the way your workflow already works.

Templates

List, duplicate, archive, publish, export (HTML, React, Shopify Liquid), send test emails, and generate preview screenshots for any template.

Design systems & fonts

Manage brand color palettes, typography tokens, logos, and custom font uploads without leaving your AI assistant.

Reusable components

Browse, create, and manage the reusable blocks your team publishes across templates and projects.

Billing & credits

Check a team's plan, credit balance, and usage history before kicking off a batch of exports or test sends.

Integrations & recipients

Review connected integrations, manage your test-send recipient pool, and keep your account details up to date.

Admin tools

Super admins get the same MCP access to user/team management, the pricing catalog, blog CMS, and feature flags.

Not covered yet: visual template editing (the drag-and-drop design itself), connecting a brand-new third-party integration, and completing a billing checkout — these still require a browser session.

How to connect Pagenflow to your AI assistant

No local server to install or run — it's a hosted MCP server. Three steps and you're talking to your workspace.

1

Generate a personal access token

Sign in to Pagenflow and go to Account Settings → API Tokens. Give it a name (e.g. "Claude Desktop") and copy the token — it's shown only once. This token grants the same access as signing in, so store it only in your AI client's configuration.

2

Add Pagenflow as a remote MCP server

For Claude Desktop, add this to your MCP configuration:

JSON
{
  "mcpServers": {
    "pagenflow": {
      "url": "https://mcp.pagenflow.workers.dev",
      "headers": {
        "Authorization": "Bearer pfmcp_live_your_token_here"
      }
    }
  }
}

Or, if you use the Claude Code CLI:

BASH
claude mcp add --transport http pagenflow https://mcp.pagenflow.workers.dev \
  --header "Authorization: Bearer pfmcp_live_your_token_here"
3

Ask your assistant to get to work

Try something like "list my Pagenflow teams" or "create a new project called Onboarding Emails" — your assistant will discover the available tools automatically and only ever see the ones your account is allowed to use.

Well-organized tools

Every tool is named and scoped by domain (teams, projects, templates, billing...) so your assistant picks the right one every time.

Scoped to your account

A token can only do what its owner can do in the app — nothing more. Revoke it any time from your account settings.

Zero install

It's a hosted Streamable HTTP MCP server — just point your client at a URL, no local process to keep running.

Frequently Asked Questions

Everything you need to know about using Pagenflow through MCP.

Still have questions? We're here to help.

Contact Us

Get started

Connect your AI assistant to Pagenflow

Generate a personal access token and start managing your email templates through Claude in minutes.

  • No local install required
  • Works with Claude Desktop and Claude Code
  • Revoke access anytime
Browse templates

What you'll get

  • Teams, projects & templates
  • Design systems & custom fonts
  • Billing & credit visibility
  • Full admin toolset for super admins