# Wisepops — how to use (mcp.ai)

Connect your Wisepops account and use 5 tools for marketing straight from your AI agent. Connect with your own API key. WisePops helps you design smart pop-ups for your website to increase sign-ups and conversions.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_wisepops?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `wisepops_create_webhook`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/wisepops`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/wisepops/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/wisepops/create/webhook` — Tool to create a webhook to receive real-time data updates when forms are collected in Wisepops. Use when you need to set up automated data synchronization for sign-up, phone, or survey form submissio
  - body: { event: string, target_url: string, wisepop_id?: string }
- `POST https://api.mcp.ai/api/wisepops/data/privacy/delete/user/data` — Tool to automatically delete and suppress data about end-users for GDPR and CCPA compliance. Use when you need to remove user data from the system. Requires at least one identifier (email or phone). W
  - body: { email?: string, phone?: string }
- `POST https://api.mcp.ai/api/wisepops/delete/webhook` — Tool to delete an existing webhook by its hook_id. Use when you need to remove a webhook that is no longer needed or should be deactivated.
  - body: { hook_id: string }
- `POST https://api.mcp.ai/api/wisepops/get/wisepops/performance/data` — Tool to retrieve a list of your Wisepops with display and conversion metrics. Use when you need to analyze pop-up performance data including display counts, clicks, and email collections.
- `POST https://api.mcp.ai/api/wisepops/retrieve/collected/contacts` — Tool to retrieve contacts collected through Wisepops opt-in forms. Use when you need to fetch contact information with their custom fields and metadata.
  - body: { page_size?: integer, wisepop_id?: integer, collected_after?: string }

## Example prompts
- "What can I do in Wisepops?"
- "Show me a summary of my Wisepops account"

## More
- Page: https://mcp.ai/wisepops
- Agent spec (llms.txt): https://mcp.ai/wisepops/llms.txt
- Postman collection: https://mcp.ai/wisepops/postman.json
