Connect Claude, Cursor and other MCP clients
Connect Claude Code, Cursor, Claude Desktop or any MCP client to Pipory's hosted MCP server with an API key, and ask about your creatives, products and ad performance.
Pipory runs a hosted Model Context Protocol server. Connect an AI assistant to it and the assistant can search your creative library, rank creatives by Meta results, read your products and ad performance, and build collections, all for one workspace.
| Row | Row |
|---|---|
| Server URL | https://api.pipory.com/mcp |
| Transport | Streamable HTTP |
| Auth | Authorization: Bearer pip_... (a Pipory API key) |
The assistant sees exactly what the key can see: one workspace, the key's access, and money only when the key has the Money access. The full tool list is in the MCP server reference.

Before you start
- The API, the MCP server and webhooks are included on every paid plan. During the free trial, Create key opens the upgrade window instead.
- Creating API keys is an Admin task by default. Anyone in the workspace can read the MCP setup.
The setup lives in Settings > Integrations. The MCP section shows the server URL for your workspace, a copy-paste config for each client and the tools, and says Live when the server is on.
Step 1: Create an API key
- Open Settings > Integrations and expand API keys.
- Click Create key.
- Give it a Name that says where it is used, such as "Claude Desktop", so you know what breaks if you revoke it.
- Under Access, pick what it may do. Read is always on: library, collections, products and ads, without money. Add Write to let the assistant create collections and add assets to them. Add Money for spend, revenue, purchases and ROAS (only Admins can grant it).
- Choose when it Expires: Never, In 30 days, In 90 days or In 1 year.
- Click Create key and copy the key. It is shown once.
Use one key per client. Revoking a key stops everything using it immediately. More in Authentication.
Step 2: Add Pipory to your client
Replace pip_your_key with your key in each snippet. The server name (pipory below) is only a label in your client; any name works.

Claude Code
Run once in a terminal, then ask Claude about your creatives:
claude mcp add --transport http pipory https://api.pipory.com/mcp \
--header "Authorization: Bearer pip_your_key"
Cursor
Add the server to ~/.cursor/mcp.json, then enable it under Cursor's Settings > MCP:
{
"mcpServers": {
"pipory": {
"url": "https://api.pipory.com/mcp",
"headers": { "Authorization": "Bearer pip_your_key" }
}
}
}
Claude Desktop
Claude Desktop reaches a hosted server that uses a bearer key through the mcp-remote bridge, which needs Node.js. Add this to claude_desktop_config.json and restart Claude:
{
"mcpServers": {
"pipory": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.pipory.com/mcp", "--header", "Authorization:${PIPORY_AUTH}"],
"env": { "PIPORY_AUTH": "Bearer pip_your_key" }
}
}
}
Other clients
Any client that speaks MCP over streamable HTTP and can send a custom header works. Point it at https://api.pipory.com/mcp and send Authorization: Bearer pip_your_key on every request.
Step 3: Ask something
Try:
- "Which five creatives had the best ROAS in the last 30 days, and what hooks do they share?"
- "Find our unboxing videos that mention free shipping."
- "Make a collection called Q4 winners with the top 10 creatives by spend."
The first needs a key with Money; the last needs Write. With a read-only key, a write tool returns an error and nothing changes.
What the assistant can and cannot do
The server has 10 tools that mirror the public API: who am I, search and get assets, top creatives, list and create collections, add assets to a collection, list and get products, and a Meta ads summary. It cannot upload, delete, change tags, invite people or touch billing.
Requests count against the key's rate limit, the same as REST calls. See Rate limits.
Troubleshooting
| Symptom | Likely cause |
|---|---|
invalid_api_key | The key is wrong, revoked or expired, or the person who created it left the workspace |
| A tool says the key cannot do that | The key lacks the scope (Write or Money), or its creator's role lost that permission |
| Upgrade required | The workspace is not on a paid plan |
| Money fields are missing | The key has no Money access, so spend, revenue and ROAS are left out |
Today the server authenticates with an API key. Signing in through Pipory from the MCP client (OAuth) is Coming soon