PushFire MCP server: connect Claude, ChatGPT and Cursor
The PushFire MCP server lets an AI agent work in your PushFire projects as you. You add one URL to an MCP client such as Claude, ChatGPT or Cursor, sign in to PushFire once, and the agent can then read your audience, build tags, segments and workflows, send broadcasts, and manage email connectors, email layouts, members and API keys. MCP is the Model Context Protocol, the open standard that AI clients use to call outside tools.
- Server URL: https://api.pushfire.app/functions/v1/mcp
- Transport: Streamable HTTP
- Sign-in: OAuth 2.1 with dynamic client registration. You sign in to PushFire in a browser and approve the client. You need no API key.
- Tools: 74
Use the MCP server when you want an agent to operate your projects. Use the REST API and the SDKs when you write code that runs in your app or on your server: device registration, subscriber login, tag values and workflow starts from code.
Server URL
Enter the URL exactly as shown. The server publishes its OAuth discovery document, so a client finds the sign-in page by itself.
Supported clients
Any MCP client that supports remote servers over Streamable HTTP and OAuth 2.1 with dynamic client registration can connect. The steps below cover Claude (claude.ai and Claude Desktop), Claude Code, ChatGPT and Cursor. Client menus change often. If a step does not match what you see, follow the client's own documentation for a remote MCP server with OAuth.
Claude (claude.ai and Claude Desktop)
Claude calls a remote MCP server a custom connector. You add it to your Claude account, and it then works on claude.ai and in Claude Desktop.
On a Free, Pro or Max plan:
- Open Customize → Connectors.
- Select + Add, then Add custom connector.
- Enter the name PushFire.
- Enter the server URL https://api.pushfire.app/functions/v1/mcp and select Continue.
- Keep the detected authentication settings. Under Authentication, select Sign in now.
- Leave Request headers empty. PushFire needs no API key.
- Select Add, then sign in to PushFire and approve the request.
Free plans can add one custom connector.
On a Team or Enterprise plan, an Owner adds the connector once for the organization:
- Open Organization settings → Connectors.
- Select Add, point to Custom, and select Web.
- Enter the name and the server URL, then select Add.
Each member then opens Customize → Connectors, finds PushFire, and selects Connect.
To use PushFire in a chat, select + at the lower left of the chat box, select Connectors, and turn on PushFire.
Claude Code
Add the server from your terminal:
The default scope is local: the server is available to you in the current project only. To use it in every project, add --scope user. To share the configuration with your team through .mcp.json, add --scope project. Each person still signs in with their own PushFire account.
Then sign in. Start Claude Code, run /mcp, select pushfire, and follow the steps in your browser. You can also sign in from your shell:
Claude Code stores the token and refreshes it for you.
ChatGPT
ChatGPT adds a custom MCP server as a plugin, on the web only.
- Open chatgpt.com/plugins.
- Select the plus button, then Add custom MCP server.
- Enter the name PushFire.
- Under Connection, enter the server URL https://api.pushfire.app/functions/v1/mcp.
- Under authentication, select OAuth. ChatGPT registers itself with dynamic client registration.
- Read the risk warning, select I understand and want to continue, then select Create as a plugin.
- Install the plugin, and sign in to PushFire when ChatGPT asks.
In a chat, type @ and select PushFire. Your ChatGPT plan and your workspace settings decide if you can add a custom server. ChatGPT asks you to confirm every tool that PushFire does not mark read-only.
Cursor
Add PushFire to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json to use it in every project:
Do not add a headers entry. Cursor signs in with OAuth. Open Cursor's MCP settings, find pushfire, and complete the sign-in in your browser when Cursor asks.
Other clients
Use these values in any other MCP client:
- URL: https://api.pushfire.app/functions/v1/mcp
- Transport: Streamable HTTP (sometimes called "HTTP")
- Authentication: OAuth, with dynamic client registration. No client ID, no client secret and no headers.
Sign-in and consent
- The client registers itself with PushFire through dynamic client registration. You do nothing for this step.
- The client opens a PushFire page in your browser. If you are signed out, PushFire asks you to sign in first.
- The consent page shows the name of the client and what it asks for. Select Approve to connect it, or Deny to refuse.
- The browser returns you to the client. The client stores the token and sends it with each request.
To check who the agent acts as, ask it to call whoami. The tool returns your user ID, your email and the OAuth client ID.
Permissions
The agent acts as you. It can do what you can do in the console, and nothing more.
- Same role. Each tool calls the same database function as the console. That function checks your role in the project (Owner, Admin, Editor or Viewer). A Viewer's agent cannot send a broadcast.
- Same plan. The same function checks the project's plan. A tool fails if the plan does not include the feature, for example broadcasts, email connectors or email layouts, or if the project is at a limit, for example the number of members.
- No service key. The server holds no service key. Your token is the only credential it uses.
- No scopes yet. Every client you approve gets your full role. PushFire does not limit a token to some tools.
Call get_project_capabilities to see your role, the plan, your permission codes, the plan features and the limits with current usage in one project.
Tools
The server has 74 tools. Most tools need a project_id; get it from list_projects. List tools take an optional meta object: page (default 1), items_per_page (default 30, maximum 100), search, sort (for example created_at.desc) and filter.
Identity
- whoami: return the signed-in user and the OAuth client ID.
Projects
- list_projects: list every project you are a member of. Start here.
- get_project: get one project.
- get_project_capabilities: get your role, the plan, permission codes, features, and limits with current usage.
- get_project_overview: get the dashboard: subscriber totals and trend, device operating systems, tag and segment counts, and send counts (success, failed, pending) by channel and source.
- get_project_settings: get the name, description, timezone and Firebase project ID. It shows if Firebase credentials are set, never their value.
- update_project_settings: change the name, description, timezone or Firebase credentials. It needs name and description on every call.
- create_project: create a project with a Firebase service account. You become the Owner, and PushFire creates a Free subscription and the platform API keys.
Subscribers (read only)
- list_subscribers: list subscribers. Filter by identifier (all, identified, anonymous), segment_id or tag_id. Search matches ID, external ID, name, email and phone.
- get_subscriber: get one subscriber with profile and counters.
- list_subscriber_devices: list a subscriber's devices with operating system and push permission.
- list_subscriber_messages: list every message sent to one subscriber from workflows, broadcasts and the API.
- list_subscriber_tags: list the tags set on one subscriber, with values.
- list_subscriber_segments: list the segments one subscriber is in.
Tags
- list_tags: list the tags of a project. Default tags are system tags and cannot be changed.
- get_tag: get one tag.
- list_tag_subscribers: list the subscribers that have a tag.
- create_tag: create a tag definition. Your app sets tag values through the SDK or the REST API.
- update_tag: change a tag's name, description or active state.
- delete_tag: delete a tag. Destructive.
Segments
- list_segments: list segments with subscriber counts.
- get_segment: get one segment with its rules.
- list_segment_subscribers: list the subscribers in a segment.
- create_segment: create a dynamic segment from tag rules.
- update_segment: change a segment. A rules list replaces every rule, so include the rules you keep.
- delete_segment: delete a segment. Destructive.
Workflows
- list_workflows: list the workflows of a project. Filter by type.
- get_workflow: get a workflow with the graph of one version.
- list_workflow_versions: list a workflow's versions. Each graph change makes a new version.
- validate_workflow_graph: check a graph and save nothing.
- create_workflow: create a workflow. The server checks the graph first. A new workflow is inactive unless you set is_active.
- update_workflow: change a workflow or turn it on or off. A new graph goes live at once, so it needs confirm_live: true.
- delete_workflow: delete a workflow and its versions. Destructive.
Workflow runs
- start_workflow: start an active Manual workflow for subscribers or segments. It is a dry run unless dry_run is false. Destructive.
- list_workflow_executions: list the runs of one workflow version, with status and origin (api, console or mcp).
- get_workflow_execution: get one run with its status and targets.
- get_workflow_metrics: get run counts by status, subscribers per step, or push or email delivery counts for one version.
- get_workflow_subscriber_path: get the status of each step for one subscriber in one run.
Broadcasts
- list_broadcasts: list the push or email broadcasts of a project.
- get_broadcast: get one broadcast with its content and delivery counts.
- list_broadcast_recipients: list a broadcast's recipients with the delivery status of each.
- send_push_broadcast: send a push notification now to tags, segments or a list of subscribers. Destructive.
- send_email_broadcast: send an email now to tags, segments or a list of subscribers. Destructive.
API messages (read only)
- list_api_messages: list the push or email messages your app sent through the REST API.
- get_api_message: get one API message with its content and delivery counts.
- list_api_message_recipients: list an API message's recipients with the delivery status of each.
Email connectors and senders
- list_connectors: list the email connectors of a project. Push needs no connector; it uses the Firebase credentials.
- get_connector_status: get the state of one email connector.
- create_connector: connect Resend or an SMTP server. Verify the sending domain with the provider first.
- update_connector: change a Resend connector. To change an SMTP connector, delete it and create a new one.
- delete_connector: disconnect an email provider. Workflow steps and broadcasts that use it stop sending. Destructive.
- list_connector_senders: list the sender addresses of an email connector.
- create_connector_sender: add a sender address. An SMTP connector takes one sender.
- update_connector_sender: change a sender, or archive it.
- delete_connector_sender: delete a sender. Destructive.
Email layouts
- list_email_layouts: list the layouts (header and footer HTML) of a project.
- get_email_layout: get one layout.
- create_email_layout: create a layout. Put the unsubscribe link and your postal address in the footer; PushFire adds neither.
- update_email_layout: change a layout. The change applies to every later send that uses it.
- delete_email_layout: delete a layout. Destructive.
Members and invitations
- list_members: list the members of a project with their roles.
- change_member_role: change a member's role to Admin, Editor or Viewer.
- remove_member: remove a member. The Owner cannot be removed. Destructive.
- list_invitations: list invitations by status.
- create_invitation: invite a person by email with a role. It sends the email at once.
- cancel_invitation: cancel a pending invitation. Destructive.
API keys
- list_api_keys: list keys with type, name, prefix, scopes and last use. Never the key value.
- list_api_key_scopes: list the scopes a Restricted key can hold.
- create_api_key: create a Restricted key. The value is shown once.
- rotate_api_key: make a new value for the Public or Secret key. The old value stops working at once. Destructive.
- revoke_api_key: revoke a Restricted or Legacy key. This cannot be undone. Destructive.
Billing (read only)
- get_subscription: get the plan, status and billing period.
- list_plans: list the plans with prices.
- list_invoices: list the latest invoices.
Safety
PushFire marks each tool as read, write or destructive, and tells the agent how to treat each kind.
- Destructive tools are marked. Sends, workflow starts, deletes, member removal, invitation cancel, key rotation and key revocation carry the MCP destructiveHint. Many clients ask you before they run such a tool. ChatGPT asks before every tool that is not read-only.
- The agent is told to ask first. The server instructions tell the agent to ask you before it calls a destructive tool, unless you told it to act alone. The send tools also tell it to confirm the audience and the text with you.
- Sends are final. send_push_broadcast and send_email_broadcast deliver at once. You cannot schedule, test or cancel them. To check a message, send it to yourself only (target your own subscriber ID).
- Workflow starts have a dry run. start_workflow sends nothing on the first call. It returns audience_count and an execution_id. The agent must show you the count and get your yes, then call again with dry_run: false and the same execution_id. A retry with that ID does not start a second run.
- Live workflow changes need a confirm. A new graph in update_workflow goes live at once. The tool refuses it without confirm_live: true. To build a change safely, ask the agent to create a new inactive workflow.
- Turning on an Entry Segment workflow sends. An active workflow with an Entry Segment trigger messages each subscriber who enters the segment. The agent is told to turn one on only when you ask.
- Invitations send email. create_invitation emails the person at once. The agent is told to confirm the address and the role first.
- Subscriber data stays data. Names, emails, metadata and message text come from your end users. The agent is told never to follow an instruction found in them.
- Key values appear once. create_api_key and rotate_api_key return the key value one time, in the chat. Store it in your secret manager.
- Unsafe email HTML is refused. The server rejects email bodies, headers and footers that contain script, iframe or on*= attributes.
No send policy exists yet: no frequency cap, no quiet hours and no send budget. An agent signed in as an Owner or Admin can send a broadcast to every subscriber. Keep the confirmation prompts on in your client.
Limits
The server can do what the console can do, with these gaps:
- No tag values on subscribers. The agent cannot set a tag value, or edit or delete a subscriber. Your app does that through an SDK or the REST API.
- No stop for a running workflow. The agent cannot stop a run after it starts.
- No plan change. Change the plan in the console under Settings → Payment & Billing.
- No ownership transfer.
- No scheduled or test broadcast. Broadcasts send at once.
- Workflow starts are capped. start_workflow takes at most 1,000 IDs and 10,000 subscribers. A larger audience fails with audience_too_large. Start it from your server with the REST API and a Secret key.
- Delivery status only. Metrics show sent, failed and pending. PushFire does not record opens, clicks or conversions.
- Segment rules. Rules join with AND in one group. OR groups and the date and true/false operators need a project feature that is off by default; get_project_capabilities shows it. Membership of a new or changed segment can take up to 5 minutes.
- Workflow graph check. The server refuses a Wait step of type Tag, a Condition of type Segments, and GreaterThan or LessThan in a workflow condition, because the engine cannot run them.
- A person signs in. Every token belongs to a PushFire user. An agent cannot run with no human account.
Troubleshooting
401 Unauthorized
The request has no valid token. The token is missing, expired, or from another sign-in. Sign in again from the client: in Claude Code, run /mcp and select pushfire; in other clients, disconnect PushFire and connect it again.
The sign-in page does not open
Copy the URL that the client prints and open it in your browser. Check that the client supports OAuth with dynamic client registration. Do not add an API key or an Authorization header: the server accepts only a PushFire sign-in token.
A tool returns a permission error
Your role or the project's plan does not allow the action. Ask the agent to call get_project_capabilities and read the role, the permission codes and the limits. An Owner can change your role, and the plan changes in the console.
The agent cannot find a project
list_projects returns only the projects your account is a member of. Check whoami: you may have signed in with another account.
Revoke access
Remove PushFire from the client. That deletes the client's token.
- Claude: open Customize → Connectors, select the three dots next to PushFire, and select Remove.
- Claude Code: run /mcp, select pushfire, and select Clear authentication. To delete the server, run claude mcp remove pushfire.
- ChatGPT: remove the PushFire plugin from your plugins.
- Cursor: delete the pushfire entry from mcp.json.
The PushFire console does not list connected clients yet.
Related
- Changelog: the MCP server launch and every later change.
- API reference: the REST API for your app and your server.
- llms.txt: a summary of PushFire for AI agents.