PricingOpen the demo

Model Context Protocol

MCP is how AI earns access to your ad accounts.

The Model Context Protocol turns an API into typed, permissioned tools an AI can call – but not abuse. Kepra uses it to close the gap between finding a profit leak and fixing it inside Meta and Google, with a human approving every write.

Tools, not prompts

MCP exposes an API to a model as typed tools with validated parameters. The model decides which tool fits; it never composes the raw request – so a misplaced zero or a wrong account id is structurally impossible, not just unlikely.

Permissions per tool

Reading insights and pausing a campaign are different powers. Under MCP they are different tools with different permissions – reads run freely, writes carry an approval gate and hard bounds you set.

A human on every write

The AI proposes a specific change with its evidence. Nothing reaches your ad account until you approve exactly that change – a commitment in our terms, not a toggle. Every action is logged and revertible.

The actual surface – typed, scoped, gated

kepra – mcp tool surface
  • meta.campaign.pause(campaign_id)approval required
  • meta.adset.set_budget(adset_id, amount)approval required
  • meta.audience.create(spec)approval required
  • google.keyword.pause(keyword_id)approval required
  • google.campaign.set_bid(id, target_roas)approval required
  • kepra.profit.query(range, dimension)read-only
  • kepra.leak.list(threshold)read-only

Every write is proposed by the agent, approved by you, executed over MCP, and written to an immutable audit log – with a one-click revert.

The lifecycle

One call, end to end.

  1. 01

    Reads run freely

    The agent pulls spend, insights and orders through read tools – no gate, because reading is how the case gets built.

  2. 02

    The proposal is typed

    The fix is a specific tool call with validated parameters – pause_ad_set(id), set_budget(id, amount) – never a free-form API request.

  3. 03

    Bounds check first

    A proposal outside your limits – too large a budget, the wrong account – is rejected before any human ever sees it.

  4. 04

    A human approves

    The exact call and its evidence wait in AI Actions. Approve and it executes in about a second; decline and nothing happened.

  5. 05

    The log remembers

    Approver, evidence, platform response, previous state. Revert is one click, and the record does not expire.

The safety argument, in one table

Four ways to let AI touch an ad account.

The question is never whether AI will touch ad accounts – it already does. The question is what stands between a bad idea and an executed one.

ApproachWhat it can doFailure modeApprovalAudit
API keys in a chat promptAnything the key allows, composed freelyHallucinated fields, wrong account ids, misplaced zeros – executedNoneNone
Browser agent clicking the ads UIAnything a logged-in human canMisreads the page, clicks the wrong row, no record of intentNoneScreen recording, if you kept one
Platform automation rulesOnly the trigger you wroteRules drift silently as the account changesNone once enabledPlatform change history
MCP: typed tools + approvalA fixed tool surface, bounded by limits you setA bad proposal – which stops at the approval stepEvery write, per callApprover, evidence, response, one-click revert

The two platforms it acts on.

Shopify and Stripe are read-only sources – there is nothing there an agent should write to. The action happens where the money is spent.

The vocabulary

Six terms that carry the whole idea.

Model Context Protocol (MCP)
An open standard, introduced by Anthropic in 2024, for connecting AI models to external systems through typed tools with validated parameters.
MCP server
The piece that wraps an API – Meta's Marketing API, the Google Ads API – and exposes it to agents as a fixed set of named tools.
Typed tool
A named operation with a schema: parameters are validated before anything runs, so a malformed or misdirected call is rejected instead of executed.
Approval gate
The rule that a write tool executes only after a human approves that specific call. In Kepra this is a contractual commitment, not a setting.
Write bounds
Hard limits on what a write tool may do – a budget ceiling, a whitelist of accounts – enforced before the approval step ever sees the proposal.
Audit log
The permanent record per executed call: who approved it, the evidence cited, the platform's response, and the state it replaced.

Fair questions.

What is MCP?

The Model Context Protocol is an open standard, introduced by Anthropic in 2024, for connecting AI models to external systems through typed tools. Instead of generating raw API calls, a model calls named tools with validated parameters – and each tool carries its own permissions.

Why does MCP matter for advertising specifically?

Because ad accounts are where AI mistakes cost real money in real time. A hallucinated field in a CRM update is an annoyance; a hallucinated budget on a live campaign is a bill that arrives before anyone notices. Typed tools remove the failure mode, and the approval gate catches what judgement can still get wrong.

Is this the same as ad platform automation rules?

No. Rules execute what you already decided, on triggers you already wrote. Here the AI does the analysis – profit after COGS, matched orders, repeat behaviour – and proposes what deserves changing. The deciding stays with you.

Which platforms does Kepra expose over MCP?

Meta Ads and Google Ads – the two platforms where verdicts lead to actions. Shopify and Stripe are read-only data sources; there is nothing there an agent should write to.

Can I use it today?

Kepra is in private development. The demo is open without signup and shows the full loop on sample data – analysis, proposal, approval, execution. The waitlist is the way in when access opens.