Skip to content
DEVELOPERS · META ADS MCP SERVER

Your agent works here too.

Connect Claude, Cursor or any MCP client to the hosted Pipory server with an API key and ask about your Meta ads, creative by creative. It searches the same library, reads the same numbers, and builds collections with the write scope you give it.

Works with Claude Code, Claude Desktop, Cursor and any MCP client
Pipory: MCP server settings, with sample data

“Which three creatives had the best ROAS this month?”

Tuesday, 4:10 PMAsked in Claude Code, answered from your workspace with the key's access.
claude ~/acme-watches
> Which three creatives had the best ROAS this month?

  pipory · top_creatives(metric="roas", days=30, limit=3)

  1. ugc-maya-field40-gift           3.42x
  2. motion-diver42-freeshipping     2.64x
  3. ugc-sam-chrono39-wrist          1.71x

> Put them in a collection called "October winners".

  pipory · create_collection(name="October winners",
          asset_ids=["6a1f0c1e-...", "...", "..."])

  Done. "October winners" has 3 creatives.

Ten tools, real arguments.

Every tool runs the same workspace-scoped code as Ask Pip and the REST API, so tenant isolation and money gating are the same everywhere.

ReadSearch, rank and read creatives, collections, products and Meta ads.
WriteCreate collections and add assets, with the Write scope.
RefusalsA missing scope comes back as a tool error. Nothing changes.

Every tool, every argument.

The full list, as the server describes itself. Arguments marked ? are optional.

whoami
Which workspace the key reads, its scopes, and whether money is visible.args: none
read
search_assets
Search names, hooks, descriptions, angles, styles, creators, on-screen text, transcripts and linked products. Newest first.args: query?, tags?, media_type? (image | video | audio), limit (1-25, default 10)
read
get_asset
One creative: tags, AI analysis, text excerpts, linked products and ads, collections, performance.args: asset_id (UUID)
read
top_creatives
Rank creatives by their linked Meta ads. Without money access, ROAS and purchases fall back to spend order.args: metric (spend | roas | ctr | impressions | purchases), days (1-365, default 30), date_from?, date_to?, limit (1-25), min_impressions
read
list_collections
The workspace's collections with asset counts.args: query?, limit (1-50, default 25)
read
create_collection
Create a collection, optionally with assets. Needs the Write scope.args: name, description?, asset_ids (UUIDs, up to 200)
write
add_to_collection
Add assets to an existing collection. Needs the Write scope.args: collection_id, asset_ids (1-200)
write
list_products
The Shopify catalog, filtered by title or handle.args: query?, limit (1-100, default 25)
read
get_product
A product and the creatives linked to it, ranked by revenue (or spend or impressions when money is hidden).args: product_id? | handle? | query?
read
ads_summary
Account totals and top ads for a window, or one ad's window, lifetime and daily numbers.args: ad_id?, days (1-365, default 30), date_from?, date_to?, limit (1-25, default 5)
read

Money stays gated, even for agents.

Spend, revenue and ROAS reach an agent only on a key with the Money scope, which only an Admin can add. Without it, money fields are left out and revenue_visible is false.

ReadEvery key has it: library, collections, products and ads without money.
WriteCreate collections and add assets to them.
MoneySpend, revenue, purchases and ROAS. Admins only.

Connect in one command.

Streamable HTTP at api.pipory.com/mcp. A bearer API key from Settings > Integrations. Included on every paid plan.

Claude Code · terminal
claude mcp add --transport http pipory https://api.pipory.com/mcp \
  --header "Authorization: Bearer pip_your_key"
Cursor · ~/.cursor/mcp.json
{
  "mcpServers": {
    "pipory": {
      "url": "https://api.pipory.com/mcp",
      "headers": {
        "Authorization": "Bearer pip_your_key"
      }
    }
  }
}
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "pipory": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.pipory.com/mcp",
        "--header",
        "Authorization:${PIPORY_AUTH}"
      ],
      "env": {
        "PIPORY_AUTH": "Bearer pip_your_key"
      }
    }
  }
}
Limits
120 / minRequests per key, with X-RateLimit headers. Up to 25 active keys per workspace.
Stateless
Deploys never drop your session.Every request is self-contained, so a restart on our side never strands a connected client.
Next
Sign in with Pipory Coming soonToday the server authenticates with an API key. Signing in through Pipory from the MCP client (OAuth) is planned.
Full setup guide

Questions, answered.

More in the developer docs: the MCP server, API keys, public API and webhooks.

Which plans include the MCP server?

Every paid plan: Starter, Growth, Agency and Enterprise. It is not available during the free trial.

How does my agent authenticate?

With a workspace API key as a bearer token: Authorization: Bearer pip_... Admins create keys in Settings > Integrations. A key is shown once; Pipory keeps only a one-way hash.

Which clients work?

Any client that speaks MCP over streamable HTTP with a custom header. Claude Code and Cursor connect directly; Claude Desktop connects through the mcp-remote bridge. The setup page has copy-paste config for all three.

Can an agent change my library?

Only collections, and only with a key that has the Write scope: it can create collections and add assets to them. With a read-only key the tool call returns an error and nothing changes. Tagging and uploads stay in the app.

Is this a Meta Ads MCP server?

For reading performance, yes: the tools rank your creatives by the spend, ROAS, CTR, impressions and purchases Pipory syncs nightly from your Meta ad account. It cannot create, edit or pause campaigns, ad sets, ads or budgets.

Does an agent see revenue?

Only with the Money scope, which only an Admin can add, and only while the key's creator still has a role that sees money. Otherwise money fields are left out and revenue_visible is false.

Is there a rate limit?

120 requests a minute per key, with X-RateLimit headers on every response, and up to 25 active keys per workspace.

Point your agent
at your ads.

Start a plan, create an API key in Settings, and ask Claude which creatives made money.

See plans
  • Every paid plan
  • Read, Write and Money scopes
  • Claude Code, Cursor, Claude Desktop