TL;DR: PushFire now has an MCP server. Add https://api.pushfire.app/functions/v1/mcp to Claude, ChatGPT, Cursor or any other MCP client, sign in to PushFire once, and your AI agent can run your push and email lifecycle marketing for you. It builds segments, drafts workflows, sends broadcasts, reads delivery status and invites teammates. It acts as you, with your role and your plan, and it needs no API key. App developers get an agent that can set up messaging without the console. Marketers get a campaign tool they can talk to.
MCP is the Model Context Protocol, the open standard that AI clients use to call outside tools. PushFire is the easiest lifecycle messaging platform for AI agents and vibe coders. Until today, your agent could write PushFire code for you through the PushFire agent skill, but a person still had to open the console to build a segment or start a campaign. The MCP server removes that step. This post covers why it matters, how to connect each client, how security works, the 74 tools, and five worked examples you can copy.
Why an MCP server for lifecycle marketing matters
Lifecycle marketing is a long list of small, careful tasks. You define who is new, who is stuck, and who is at risk. You write a welcome push, a day-three email and a day-seven nudge. You check what went out and what failed. Each task is simple. Together they take hours of clicking.
An agent with the right tools does those tasks from one sentence. You say what you want in plain words. The agent reads your project, plans the steps, shows you the plan, and calls the tools. You approve the parts that send to real people.
Three things make this work well in PushFire:
- One model for push and email. Subscribers, tags, segments, workflows and broadcasts cover both channels. The agent learns one model, not two products.
- The same rules as the console. The agent calls the same database functions as the PushFire console. If your role cannot send a broadcast in the console, your agent cannot send one either.
- Guard rails on sends. Sends and deletes are marked destructive. The server tells the agent to ask you first. Workflow starts have a dry run that shows the audience size before anything goes out.
For developers, this means you can set up messaging from the same place you write code. Ask Claude Code or Cursor to create the tags your app sets, build the onboarding segment, and draft the workflow, in the same session where it adds the SDK. For marketers, it means you can run campaigns from Claude or ChatGPT without learning a new console.
How to connect PushFire to your AI client
Every client needs the same three facts:
- Server URL: https://api.pushfire.app/functions/v1/mcp
- Transport: Streamable HTTP
- Sign-in: OAuth 2.1. The client registers itself, opens a PushFire sign-in page, and you approve it. No API key, no headers.
Claude (claude.ai and Claude Desktop)
Claude calls a remote MCP server a custom connector. You add it once to your Claude account, and it works on claude.ai and in Claude Desktop.
- Open Customize → Connectors.
- Select + Add, then Add custom connector.
- Name it PushFire and paste the server URL. Select Continue.
- Under Authentication, select Sign in now. Leave the request headers empty.
- Select Add. Sign in to PushFire in the browser window and select Approve.
On a Team or Enterprise plan, an Owner adds the connector under Organization settings → Connectors, and each member then selects Connect. Free Claude plans can add one custom connector. In a chat, select +, then Connectors, and turn on PushFire.
Claude Code
Run one command, then sign in:
Start Claude Code, run /mcp, select pushfire, and finish the sign-in in your browser. Add --scope user to the command to use PushFire in every project on your machine. Add --scope project to share the setting with your team in .mcp.json; each teammate still signs in with their own PushFire account.
ChatGPT
ChatGPT adds custom MCP servers as plugins, on the web.
- Open chatgpt.com/plugins.
- Select the plus button, then Add custom MCP server.
- Name it PushFire and paste the server URL under Connection.
- Select OAuth for authentication.
- Accept the risk warning and select Create as a plugin.
- Install the plugin and sign in to PushFire.
In a chat, type @ and pick PushFire. ChatGPT asks you to confirm every tool call that PushFire does not mark read-only. Your ChatGPT plan and your workspace settings decide if custom servers are available to you.
Cursor
Add PushFire to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:
Open Cursor's MCP settings, find pushfire, and complete the sign-in when Cursor asks. Do not add an API key header.
Other clients
Any client that supports remote MCP over Streamable HTTP with OAuth and dynamic client registration works. Give it the URL and nothing else. The MCP server guide has the reference details.
How security works
The short version: the agent is you, with nothing extra.
You sign in, and you approve. The client opens a PushFire page. If you are signed out, you sign in first. The consent page names the client. You select Approve or Deny.
Every tool runs as you. Each tool calls the same database function as the console. That function checks your role in the project (Owner, Admin, Editor or Viewer) and the project's plan. The MCP server has no permission rules of its own, so it cannot drift from the console.
No service key. The server holds no service key and no admin access. Your sign-in token is the only credential it uses. It cannot read a project you are not a member of.
No scopes yet. Each client you approve gets your full role. If you are an Admin, your agent is an Admin. Approve only clients you trust.
Secrets go in once. Some tools take a secret: a Firebase service account, a Resend API key or an SMTP password. PushFire stores them in a vault and never returns them. They do pass through your chat, so your AI provider sees them.
Subscriber data is data. Names, emails and metadata come from your end users. The server tells the agent to treat that text as data and never follow an instruction found in it.
Sends are marked and confirmed. Sends, workflow starts, deletes, member removals, key rotation and key revocation are marked destructive. Many clients ask you before they run such a tool. The server also tells the agent to ask you before each one, unless you told it to act alone.
The tools, grouped
The server has 74 tools in 14 groups. One line on each group:
- Identity (1): whoami shows which PushFire user and which client the agent is.
- Projects (7): list and read projects, read your role and plan limits with get_project_capabilities, read the dashboard, change settings, and create a project.
- Subscribers (6, read only): list and search subscribers, and read each one's devices, messages, tags and segments.
- Tags (6): list, read, create, change and delete tag definitions, and list who has a tag.
- Segments (6): list, read, create, change and delete segments built from tag rules, and list their members.
- Workflows (7): list, read, version, check, create, change and delete workflows; validate_workflow_graph checks a graph and saves nothing.
- Workflow runs (5): start a Manual workflow with a dry run first, and read runs, metrics and each subscriber's path.
- Broadcasts (5): list and read broadcasts and their recipients, and send a push or email broadcast.
- API messages (3, read only): read what your app sent through the REST API and who received it.
- Email connectors (9): connect Resend or SMTP, and manage sender addresses.
- Email layouts (5): create and manage the header and footer that wrap every email.
- Members (6): list members, change roles, remove members, and send or cancel invitations.
- API keys (5): list keys, create a Restricted key, and rotate or revoke keys.
- Billing (3, read only): read the subscription, the plans and the invoices.
The MCP server guide lists every tool with one line each.
Five worked examples
Each example shows the prompt, the tools the agent calls, and the result. The tool names are real. The results are example output: the numbers and names depend on your project. Your agent may call the tools in a slightly different order.
1. Segment: new subscribers who have not finished onboarding
A common first ask is "users who signed up this week but never opened the app". PushFire does not record app opens, so the segment has to come from tags your app sets. Say your app sets a signup_week tag (for example 2026-W49) at signup and an onboarding_complete tag when the user finishes setup. That gives you the segment you actually want: new this week and stuck.
Prompt: "In my Habitly project, make a segment of subscribers whose signup_week is 2026-W49 and who do not have onboarding_complete. Tell me how many are in it."
Result: "I created the segment 'New this week, not onboarded' with two rules. Both rules must match. It has 312 subscribers now. Membership of a new segment can take up to 5 minutes to settle, so the count may still change."
Two notes. If the tags do not exist yet, the agent can create the definitions with create_tag, but your app sets the values through the SDK or the REST API. And rules in a segment join with AND. OR groups and date operators such as "less than 7 days ago" need a project feature that is off by default; get_project_capabilities shows if your project has it.
2. A three-step onboarding workflow
Prompt: "Build an onboarding workflow for the 'New this week, not onboarded' segment. Day 1: a push that says 'Finish setting up Habitly in 2 minutes'. Day 3: an email with three setup tips. Day 7: a push that says 'Your first streak is waiting'. Do not turn it on yet."
The graph the agent builds is a straight line: Start, a push step, a Wait of 2 days, an email step, a Wait of 4 days, a push step, End. The server checks the graph before it saves it: one Start, an End, every step reachable, and no step mode the engine cannot run.
Result: "I created 'Onboarding: new this week' as an inactive workflow. It uses the Brand layout and sends email from hello@habitly.app. When you turn it on, every subscriber who enters the segment gets the day 1 push at once. Do you want me to turn it on?"
When you say yes, the agent calls update_workflow with is_active: true. Turning on an Entry Segment workflow sends to real people, so the agent is told to do it only when you ask. If you later ask for a change to the steps of a live workflow, the agent must pass confirm_live: true, because a new graph goes live at once. The safer path is a new inactive copy that you switch to later.
3. Send a test push to yourself only
PushFire has no test mode for broadcasts. A test is a real send to one subscriber: you.
Prompt: "Send the day 7 push to me only, so I can see it on my phone. My email is erik@example.com."
Before send_push_broadcast, the agent shows you the audience (one subscriber) and the text, and asks you to confirm. Your client may also ask.
Result: "Sent to 1 subscriber, 1 device. Delivery status: success."
Delivery status is what PushFire records: sent, failed or pending. It does not record if you opened the notification. Check the target before you approve: a broadcast to a tag or a segment instead of your subscriber ID goes to everyone in it, at once, and cannot be cancelled.
4. Which workflows are turned off?
Prompt: "Which workflows in Habitly are turned off, and when did each one last run?"
Result: "Three workflows are inactive: 'Onboarding: new this week' (never run), 'Win-back 30 days' (last run on November 3, completed), and 'Black Friday' (last run on November 28, completed). The other five are active."
PushFire has no pause state. A workflow is active or inactive. To restart one, ask the agent to turn it on; it calls update_workflow with is_active: true after you confirm.
5. Add a teammate to a project
Prompt: "Invite maria@example.com to Habitly as an Editor."
Before create_invitation, the agent confirms the address and the role with you, because the tool emails the person at once.
Result: "I invited maria@example.com as an Editor. She gets an email now. The invitation shows as Pending until she accepts. Your plan still has room for more members."
The plan sets which roles you can assign and how many members a project can have. The Owner role cannot be assigned, and ownership cannot be moved through the server.
What the MCP server cannot do yet
We would rather you know the gaps before you hit them:
- Set a tag value on a subscriber, or edit or delete a subscriber. Your app does that through an SDK or the REST API.
- Stop a running workflow. After a run starts, it continues.
- Schedule, test or cancel a broadcast. Broadcasts send at once. Test by sending to yourself.
- Start a very large manual run. start_workflow takes up to 10,000 subscribers. Start a larger audience from your server with the REST API.
- Report opens, clicks or conversions. PushFire records delivery status only.
- Change your plan or move project ownership. Do these in the console.
- Enforce a send policy. There is no frequency cap, quiet hours or send budget yet. An Owner or Admin agent can send to every subscriber. Keep confirmations on.
- Run without a person. Every token belongs to a PushFire user who signed in.
FAQ
What does the MCP server cost?
The server has no plan check of its own. Any PushFire user can sign in. What the agent can do depends on your project's plan, the same as in the console: for example, broadcasts, email connectors and email layouts need a plan that includes them. Your AI client has its own plans and limits, and some clients put custom MCP servers on specific plans.
Which plans can use it?
Every PushFire plan can connect. Each tool then checks the plan the same way the console does. Ask the agent to call get_project_capabilities to see your plan's features and limits.
Which AI clients work?
Claude (claude.ai and Claude Desktop), Claude Code, ChatGPT and Cursor, and any other client that supports remote MCP servers over Streamable HTTP with OAuth and dynamic client registration.
How do I revoke access?
Remove PushFire from the client. In Claude, open Customize → Connectors and remove it. In Claude Code, run /mcp and select Clear authentication, or run claude mcp remove pushfire. In ChatGPT, remove the plugin. In Cursor, delete the entry from mcp.json. The PushFire console does not list connected clients yet.
Is my data safe?
The agent can read only the projects you are a member of, with your role. The server holds no service key. But tool results, which can include subscriber names, emails and metadata, go to your AI provider as part of the chat. So do secrets you give the agent, such as an SMTP password, even though PushFire stores them in a vault and never returns them. Use a client and a plan whose data terms fit your company.
Does the agent send without asking?
The server tells the agent to ask you before every send, delete, key rotation or revocation, unless you told it to act alone. Those tools are marked destructive, so many clients also ask you to confirm. ChatGPT asks for every tool that is not read-only. Workflow starts add a dry run that shows the audience size first. If you tell the agent to act without asking, it can, so give that instruction with care.
Can my agent write the app code too?
Yes, with the PushFire agent skill. The skill teaches your coding agent the SDKs and the REST API. The MCP server lets it operate your project. Many developers use both in the same Claude Code or Cursor session.
Get started
- Add https://api.pushfire.app/functions/v1/mcp to your client.
- Sign in and approve.
- Ask: "List my PushFire projects and tell me what my role and plan allow in each."
Read more:
