Connect Claude or Codex to Sendfire
Optional. Sendfire is an MCP server. Connect Claude, Claude Code or Codex with your Sendfire account to read a brand's context, brand memory, campaigns, flows and performance, to plan and create campaigns and set up tests, to save campaign ideas, brief changes and draft copy, and to suggest brand memory learnings for your review.
The server
https://www.sendfire.app/mcp
Streamable HTTP with OAuth sign-in. Claude, Claude Code and Codex are the clients Sendfire admits today. You need marketer access in the workspace you connect.
Connect from Claude
On a personal Claude plan (Free, Pro or Max):
-
In Claude, open Customize → Connectors, choose + Add, then Add custom connector.
-
Name it Sendfire, paste the server URL above and choose Continue. Sendfire signs in with OAuth, so leave the detected authentication settings as they are and finish adding the connector.
-
Choose Connect. Sign in to Sendfire, pick the workspace this connection will use, and allow access.
-
In a conversation, choose + in the lower left, then Connectors, and turn Sendfire on.
On Claude Team or Enterprise, an owner adds the connector for the organization first, under Organization settings → Connectors: Add, then Custom, then Web, with the name and server URL above. Each member then opens Customize → Connectors, finds Sendfire and chooses Connect, signing in with their own Sendfire account. A Free plan allows one custom connector. Anthropic’s guide: Get started with custom connectors.
Connect from Claude Code
-
Add the server from your terminal. By default it is available only to you, in the current project; add
--scope userto use it in every project.claude mcp add --transport http sendfire https://www.sendfire.app/mcp -
Start Claude Code, run
/mcpand choose sendfire to authenticate. A browser tab opens: sign in to Sendfire, pick the workspace this connection will use, and allow access. -
Back in Claude Code, ask it to list your Sendfire brands.
Anthropic’s reference: Claude Code MCP.
Connect from Codex
Use Codex CLI 0.148 or later. The Codex IDE extension reads the same configuration.
-
Add Sendfire to
~/.codex/config.toml. Thescopesline is required: without it Codex asks for scopes Sendfire doesn’t grant, and sign-in fails.[mcp_servers.sendfire] url = "https://www.sendfire.app/mcp" scopes = ["user:org:read", "offline_access"] -
Sign in from your terminal. A browser tab opens: sign in to Sendfire, pick the workspace this connection will use, and allow access.
codex mcp login sendfire -
Start Codex and ask it to list your Sendfire brands.
OpenAI’s reference: Codex MCP.
Try a request
- List the brands I can access in Sendfire.
- Read [brand]’s brand brief and summarise its voice, audience and saved learnings.
- Summarise [brand]’s campaign performance over the last 30 days. Include the dates and any gaps in the evidence.
- Read [brand]’s brand brief, then save a campaign idea for [occasion] as a draft in Sendfire.
- Commit the [idea] idea, set its send date to [date] and write its brief.
- Set up a test on [brand]’s next two campaigns: a person in the hero image against a product shot, decided by click rate.
- Suggest what we just agreed about [brand]’s audience as a brand memory learning.
- Read [campaign]’s grade packet, grade it against its brief and file the retro in Sendfire.
What your AI client can read
| Tool | Returns |
|---|---|
list_brands get_brand_brief |
The brands you can access, and a brand’s brand brief: the compiled brand memory Sendfire’s own drafting uses. |
list_campaigns get_campaign |
A brand’s campaigns by stage, name or send date, and one campaign’s brief, copy, drafts waiting for you, A/B variants, Klaviyo ids, latest retro, performance, audience and clicks per link. |
get_campaign_review |
A campaign’s review rounds, the responses and the feedback threads, with people named by display name and role. |
list_campaign_ideas |
A brand’s saved campaign ideas that aren’t committed yet. |
get_grade_packet |
The grade packet for a sent campaign whose results have settled: the same Markdown Copy Grade packet copies from its Performance tab. |
query_performance |
campaign or flow totals with dates and freshness. Date filters apply to campaigns; flows report their latest synced window. |
list_flows get_flow |
A brand’s flows, and one flow’s Flow Spec, Revisions and performance. |
list_tests get_audience_health |
A brand’s tests with their conclusions and whether each is Proven or still being tested, and the brand’s Audience Health. |
Your client can also read each brand’s context as an MCP resource, sendfire://brands/{brand_id}/context. It is the same Markdown that Copy Brand context copies from the brand’s page: the brand brief, accepted learnings, examples and personas with their sources, dismissed suggestions with their reasons, recent retros, open tests, the last ten sends, the brand kit and Audience Health. Its header lists the revision and memory ids it contains, so your client can cite them.
Every number comes with the date it was read from Klaviyo and a note on how fresh it is, so your AI client can tell you when the evidence is thin.
What your AI client can write
| Tool | Writes |
|---|---|
create_campaign |
A new campaign at the Idea stage, with a name, channel, optional send date and a content theme. |
update_campaign |
A campaign’s name, send date or Production status. |
save_campaign_idea |
A new idea in the brand’s campaign ideas, saved straight away as a private draft. Each call adds another idea. |
commit_campaign_idea |
Commits a saved idea, which creates its campaign with the idea in its brief. |
update_campaign_brief |
Fields of a campaign brief, saved straight away. Each changed field loses its validated mark until you validate it again. |
write_campaign_copy |
Email or SMS copy on a campaign’s Content tab, saved straight away as unaccepted copy. |
propose_brand_memory_change |
A suggested learning, new or a change to one already saved, filed under Suggestions in the brand’s brand memory. |
file_campaign_retro |
A retro on a sent campaign whose results have settled: how the send did against its brief, the figure that decided it, what to keep, and at most one suggested learning. |
create_test |
A new campaign test: its hypothesis, the metric that decides it and, optionally, the decision rule. |
assign_campaign_to_test |
Adds a campaign to a test. |
map_test_variants |
Chooses which of a campaign’s Klaviyo variants is the control and which is the treatment. |
file_test_conclusion |
A test’s conclusion: what the evidence supports, what you learned and what you’ll do next. |
Every write changes your Sendfire records as soon as your client calls it, and Sendfire records which client made each change. Nothing is accepted, published, shared, approved or sent on your behalf, and nothing is written to Klaviyo.
- Campaigns start at the Idea stage. Each needs a content theme; if your client doesn’t name one, Sendfire answers with your workspace’s themes to choose from. Moving a campaign to In Production needs a goal in its brief, as it does in Sendfire. Your client can’t mark a campaign Sent: a campaign becomes Sent from its Klaviyo send, or when you mark it Sent on the campaign page. A Sent campaign’s name, date and status are locked. Production status is Sendfire’s stage only: setting Scheduled doesn’t schedule anything in Klaviyo.
- Ideas stay private drafts until they are committed, by you in Sendfire or by your client when you tell it to go ahead. Committing works like Create Campaigns without approval: the idea is not marked approved, and committing the same idea again returns the campaign it already made. A discarded idea can’t be committed.
- Tests set up through your client run in campaigns. A campaign can join while it’s planned, or after it’s sent if it ran a Klaviyo A/B split, and it belongs to one test. Your client can choose its variants as soon as Klaviyo has the split and Sendfire has synced it, before the send.
- Brief changes replace the field’s text. Sendfire logs which fields a connected client changed but doesn’t keep the earlier text, and the cleared validated mark shows you which fields to re-check. Sent campaigns are refused.
- Copy replaces what was on the Content tab. If your client overwrites copy you had accepted, that acceptance is withdrawn. Sendfire keeps the text it replaced, so you can restore it. Sent campaigns are refused.
- Brand Memory is the exception: a suggested learning changes nothing until you accept it under Suggestions. You can edit it first or dismiss it.
- Retros and test conclusions are saved on the brand’s record as written by your client, under its name. A retro appears on the campaign’s Performance tab, and a learning it suggests waits under Suggestions like any other. Sendfire refuses a retro and a grade packet while the campaign’s results are still settling, and a second retro from the same client on the same campaign within 24 hours. A test holds one conclusion, so a test that already has one is refused, and so is a test that isn’t ready to call.
Connected clients cannot run Sendfire’s own drafting, draft reports, send a campaign for review, approve anything, set up a flow test, write brand memory directly or touch Klaviyo.
Access and billing
Each connection acts as you, with your marketer access, in the one workspace you picked when you connected. To work in another workspace, add a second connection.
What you spend in Claude is billed by Anthropic, and what you spend in Codex by OpenAI. Connecting your own client costs nothing in Sendfire.
Disconnect
In Sendfire, open your account menu from your avatar, open Connected agents and choose Revoke on the connection. From then on, calls from that client are refused until you connect again. In Claude Code, Clear authentication in the /mcp menu removes the sign-in on that side; in Codex, run codex mcp logout sendfire.
Related
- Connect a Brand to Klaviyo: the read-only connection everything above is built on
- Your agent: what a connected agent reads and saves, and what it never does