---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Foreplay MCP connector

The Foreplay connector lets Claude, ChatGPT and other AI clients read your Foreplay boards, swipe file ads, tracked competitor brands and lens reports, with each person working inside their own access and every request logged.

Source: https://elaichi.ai/connectors/foreplay/

## Facts

| | |
| --- | --- |
| Application | Foreplay |
| Category | Marketing Automation |
| AI tools | 22 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Foreplay is connected

- Show the newest ads on our summer hooks board.
- What ads has Athletic Brewing launched in the last two weeks?
- Summarize the top UGC ads in our swipe file.

## Connect Foreplay in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Foreplay.
2. Optionally set Share with, then press Connect.
3. Paste a Foreplay API key. One person generates a token in Foreplay and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Foreplay tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Foreplay MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Foreplay MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Foreplay MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Foreplay MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Foreplay MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Foreplay MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Foreplay MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Foreplay to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Foreplay tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Foreplay through Elaichi

### Pull ideas from a board before a brief

Creative. Ask for the ads saved to a Foreplay board and get a quick rundown of the hooks, formats and angles in it. It is a faster start to a creative brief than scrolling the board by hand.

### See what a competitor is running now

Paid social. Ask for a brand's current ads in Foreplay and see what they have launched, on which platforms, and how long ads have stayed live. Useful before planning your next test.

### Catch up on Spyder tracked brands weekly

Strategy. Ask what changed across the brands you track in Spyder, including new ads, page rankings and partner pages. You get the weekly competitor summary without opening each brand.

### Summarize the best of your swipe file

Creative. Ask for the ads in your Foreplay swipe file grouped by theme or format. It turns a long saved list into something a team can talk through in a meeting.

### Find fresh ads in discovery by platform

Growth. Search Foreplay discovery for ads and brands on a given platform or around a topic. Good for spotting new angles outside the brands you already follow.

### Prepare a client competitor review

Agency. Combine brand analytics, lens reports and a client's competitor ads into a short review. Each account lead works from the boards and brands their Foreplay access already covers.

## Elaichi vs Zapier MCP vs Composio for Foreplay

All three can connect Foreplay to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Foreplay tools | Allow or restrict single Foreplay tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Foreplay call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Foreplay to Claude?

To connect Foreplay to Claude, first connect Foreplay in Elaichi by pasting a Foreplay API key, then add https://api.elaichi.ai/mcp in Claude under Customize, then Connectors, then Add. Foreplay connects with an API key, so there is no OAuth application to register and no client ID or secret to generate. Claude then signs you in to Elaichi as yourself.

### Does Foreplay work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes, Foreplay works with ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, the Elaichi Agent and any other MCP client as well as Claude. Every client uses the same endpoint, https://api.elaichi.ai/mcp. You connect Foreplay once in Elaichi and every client can use it.

### What can an AI agent actually do with my Foreplay ads and boards?

An AI agent connected to Foreplay can list the ads on your boards and in your swipe file, look up a single ad, pull a brand's ads, and browse discovery ads and brands. It can also read Spyder tracked brands, page rankings and partners, brand analytics, lens reports and your account usage. Short, concrete asks such as one board or one brand work better than long sentences.

### Does connecting Foreplay give the AI access to every board and tracked brand?

No. Connecting Foreplay gives an AI client only what the Foreplay account behind the connection can already see, and each person signs in to Elaichi as themselves. Elaichi can narrow that access further with roles and restrictions, and it never widens it beyond what Foreplay allows.

### Can my team share one Foreplay connection?

Yes. One person connects Foreplay in Elaichi and shares the connection with a team, so nobody else ever handles the Foreplay API key. Each teammate still signs in as themselves, so the audit log names the person behind every Foreplay request.

### Can I stop an agent from using certain Foreplay actions?

Yes. The Foreplay connector reads boards, ads, brands and reports, and Elaichi lets you restrict any of those actions on a role or on one person. A restricted Foreplay action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Foreplay connection when someone leaves?

When someone leaves, offboarding them in Elaichi ends their access to Foreplay at once. A shared Foreplay connection keeps working for everyone else on the team. Disconnecting Foreplay once in Elaichi removes it from every client.

### Does the Foreplay MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Foreplay is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Foreplay?

Yes. Both let Claude, ChatGPT or Cursor use Foreplay. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Foreplay call.

### How is Elaichi different from Composio for Foreplay?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Foreplay: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 22 Foreplay tools

Every tool below is callable through https://api.elaichi.ai/mcp once Foreplay is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all Foreplay ad duplicates** (List). Get group of ads using same image or video by ad ID. Find every ad in the index that shares the image or video of the given ad — i.e. the same creative reused across multiple ad placements / brands. Credit cost: 1 credit per duplicate returned (each duplicate is a full ad object). Empty / error responses are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. The ads in the same duplicate group as this ad. Credits: 1 credit per ad returned (empty / error responses are free). Required: ad_id.
- **Get single Foreplay ad by ID** (Get). Get ad details by ID. Retrieve a single ad by its Foreplay internal id. Credit cost: 1 credit per successful lookup. Errors are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. When you reference a specific ad in a reply, render foreplay_url directly as a markdown link (e.g. See in Foreplay). Do this proactively, not only when asked. One ad by Foreplay's ad id. Credits: 1 credit per ad returned (empty / error responses are free). Required: id.
- **List all Foreplay board ads** (List). Get Ads by board id and Filters. Retrieve ads associated with a specific board ID, applying the supplied filters. Pagination via cursor-based navigation. Credit cost: 1 credit per ad returned. Each ad in the response is a full creative asset (media URLs, transcription, metadata). Empty / error responses are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. The ads of one board's brands. Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by metadata.cursor (same limit each page, max 250). Required: board_id.
- **List all Foreplay board brands** (List). Get all brands for a specific board. Retrieve every brand associated with a board the caller already owns. Returns brand metadata (id, name, domain, logo) — for the per-board AD content see /api/board/ads. Pagination supported via offset and limit query parameters. Credit cost: 1 credit per call, flat-rate — regardless of how many brands the board contains. Listing your own library is one operation. Empty / error responses are free. The brands on one board. Credits: 1 credit per request. The connector pages it by offset (limit max 10). Required: board_id.
- **List all Foreplay boards** (List). List the authenticated user's boards (optionally with folders). Return the boards the authenticated user has access to. Two response shapes, picked by the folders query parameter. ──── folders=false (default) ──────────────────────────────────── Returns a flat list of boards. Your boards (collections of brands). Credits: 1 credit per request. The connector pages it by offset.
- **List all Foreplay brand ads** (List). Get Ads by Brand IDs and Filters. Retrieve ads for one or more brand IDs, applying the supplied filters. Each result is a full ad object. Credit cost: 1 credit per ad returned. Empty / error responses are free. Empty results? Pass collect=true to kick off a best-effort live fetch from Meta for the brands' Facebook pages and wait up to ~30 seconds. May still return empty if a brand has no Meta page on file, the page is restricted/deleted, or it's simply not running ads. Ads of one or more brand ids. Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by metadata.cursor. Required: brand_ids.
- **List all Foreplay brand analytics** (List). Get Brand Analytics by Brand ID or Page ID, gives running ads distribution and creative velocity. Get analytics for a brand (running-ads distribution, creative velocity). Returns a series of analytics rows. When the date range includes today, today's row is computed live from the latest collected data. Pass force=true to request a best-effort live collection first; the request waits briefly for today's data, then returns whatever is available. Credit cost: 1 credit per successful call, regardless of how many analytics rows are returned. A brand's ad analytics over a date range. Credits: 1 credit per request. Required: brand_id.
- **List all Foreplay discovery ads** (List). Search and Filter Ads. Search across the Foreplay ad index with text query + filters. Each result is a full ad object — image/video URLs, transcription, brand metadata, targeting, etc. Credit cost: 1 credit per ad returned. Empty / error responses are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. Search all ads in Foreplay's database. Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by metadata.cursor.
- **List all Foreplay discovery brands** (List). Search Brands by Name. Search the brand index by name (text query). Each result is a brand object — useful to resolve a brand name into the IDs needed for /api/brand/getAdsByBrandId etc. Ad counts: Every result includes ads_count (total ads indexed for the brand) and active_ads_count (currently running). Counts are computed live from the ads index — no extra credit cost. Search brands by name (result_limit, max 100). Credits: 1 credit per request. No pagination. Required: query.
- **List all Foreplay domain brands** (List). Get Brands by Domain. Find brands that advertise from a given domain. This is DISCOVERY — you don't need to already track or own the brands to find them this way. Credit cost: 1 credit per successful call, regardless of how many brands are returned. Empty / error responses are free. Brands that use a website domain (result_limit, max 10). Credits: 1 credit per request. No pagination. Required: domain.
- **List all Foreplay explored brands** (List). Discover Brands by Ads. Find brands by characteristics of their ads (e.g. discover brands running a particular hook style or in a niche). Each result is a brand object. Credit cost: 1 credit per successful call, regardless of how many brands are returned. Empty / error responses are free. Brands with ads matching the filters (result_limit). Credits: 1 credit per request. No pagination.
- **List all Foreplay lens reports** (List). Get reporting data from a lens. Retrieve export-style reporting data for a specific lens. Credit cost: 1 credit per successful call, regardless of how many rows are returned. Required query params: lens_id, from, to, breakdown_type, provider. Breakdown types: 'overall', 'country', 'age,gender', 'user_segment_key', 'publisher_platform,platform_position'. Pagination: page defaults to 1. limit defaults to 10 and cannot exceed 10. Lens (your own ad accounts) reporting. The connector pages it by page (limit max 10, until metadata.pages). Required: lens_id, from, to, breakdown_type, provider.
- **List all Foreplay page ads** (List). Get Ads by Page ID and Filters. Retrieve ads for a Facebook page id, applying the supplied filters. Each result is a full ad object. Empty response? Try collect=true. If the default call comes back with no ads, it means we don't have cached data for this page yet. Re-issue the SAME request with collect=true to kick off a best-effort live fetch from Meta. Ads of one Facebook page id. Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by metadata.cursor. Required: page_id.
- **List all Foreplay platform ads** (List). Get ad details. Retrieve a single ad by its public Foreplay ad id. Credit cost: 1 credit per successful lookup. Errors are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. When you reference a specific ad in a reply, render foreplay_url directly as a markdown link (e.g. See in Foreplay). Do this proactively, not only when asked. Returns one record: the ad with this platform (Meta) ad_id. Credits: 1 credit per ad returned (empty / error responses are free). Required: ad_id.
- **List all Foreplay spyder brand ads** (List). Get Brand Ads in Spyder. Retrieve ads for one tracked brand from the user's Spyder watchlist. Each result is a full ad object — that's why this stays per-item rather than flat-rate like the watchlist listing. Credit cost: 1 credit per ad returned. Empty / error responses are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. A tracked brand's ads. Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by metadata.cursor. Required: brand_id.
- **List all Foreplay spyder brands** (List). Get User's Spyder tracked Brands. List the brands the authenticated user is tracking in Spyder. Returns brand metadata (name, domain, avatar, last-checked) — for the per-brand ad CONTENT see /api/spyder/brand/ads. Credit cost: 1 credit per call, flat-rate — regardless of how many brands you track. Empty / error responses are free. Brands you track in Spyder. Credits: 1 credit per request. The connector pages it by offset (limit max 10).
- **Get single Foreplay spyder brand by ID** (Get). Get Specific Spyder Brand. Retrieve details for one tracked brand from the user's Spyder watchlist. Credit cost: 1 credit per successful lookup. Errors are free. One tracked brand (GET /api/spyder/brand?brand_id=). Credits: 1 credit per request. Required: id.
- **List all Foreplay spyder page overviews** (List). Get Spyder Top-Ranked Ads for a Page. Return the top-ranked ads for a Spyder-tracked page, comparing current ranks against a prior date. Only works for pages the authenticated user has in their Spyder watchlist. USE THIS WHEN THE USER ASKS: "top ads for X", "best performing ads for X", "what's ranking for X right now", "which ads are up/down for X", "winning ads for brand X", "which ads climbed the ranking". Returns one record: a page's top-ads overview (GET .../rankings/{page_id}/top-overview). Required: page_id, date.
- **List all Foreplay spyder page partners** (List). Get Spyder Related Brands (Partners) for a Page. Return related pages/brands frequently seen alongside a Spyder-tracked page — useful for lookalike research and competitor mapping. Only works for pages the authenticated user has in their Spyder watchlist. USE THIS WHEN THE USER ASKS: "who is similar to X", "related brands to X", "competitors of X", "lookalike brands for X", "who's advertising alongside X", "partner pages of X". A page's partner pages (result_limit, max 50). No pagination. Required: pageId.
- **List all Foreplay spyder page rankings** (List). Get Spyder Ranked Ads (Paginated List) for a Page. Return a paginated feed of ranked ads for a Spyder-tracked page, filtered by a bucket category. Only works for pages the authenticated user has in their Spyder watchlist. A page's ranked ads. The connector pages it by offset (limit max 100). Required: page_id.
- **List all Foreplay swipefile ads** (List). Get user's swipefile ads, all saved ads in swipefile. List every ad the user has saved to their swipefile. Each result is a full ad object (media URLs, transcription, brand, etc.) — that's why this stays per-item rather than flat-rate like the boards listing. Credit cost: 1 credit per ad returned. Empty / error responses are free. Viewing ads on Foreplay: Each ad in the response includes a foreplay_url field — the canonical platform URL for that ad, computed server-side from its internal id. Your saved ads (Swipe File). Credits: 1 credit per ad returned (empty / error responses are free). The connector pages it by offset (limit = page size, max 250).
- **List all Foreplay usage** (List). Get user usage information. Retrieve the authenticated user's account usage state — remaining credits, total credits, billing-cycle window. Credit cost: Free. Since it's an account-state read and is not billed. Returns one record: the key's credit usage (free).
