# Deadline Funnel — how to use (mcp.ai)

Connect your Deadline Funnel account and use 6 tools for marketing automation straight from your AI agent. Connect with your own API key. Deadline Funnel provides tools to create authentic, personalized deadlines for marketing campaigns, enhancing urgency and conversions.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_deadline_funnel?ms=1787291340000`
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. `deadline_funnel_email_link_redirect`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/deadline_funnel`
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/deadline_funnel/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/deadline_funnel/email/link/redirect` — Tool to redirect an email link to the correct before- or after-deadline URL for a subscriber. Use when processing clicks on Deadline Funnel email links. Returns the final destination URL after redirec
  - body: { link_id: string, utm_term?: string, utm_medium?: string, utm_source?: string, utm_content?: string, utm_campaign?: string, subscriber_email: string }
- `POST https://api.mcp.ai/api/deadline_funnel/generate/sales/tracking/webhook/url` — Tool to generate the sales-tracking webhook URL details. Use when you need the campaign-specific sales-tracking webhook parameters before tracking a sale. Use after creating or retrieving your campaig
  - body: { campaign_id: string, integration: string }
- `POST https://api.mcp.ai/api/deadline_funnel/get/account/id` — Tool to retrieve the Deadline Funnel account ID. Use when you need the account identifier for subsequent API calls. Attempts known endpoints then falls back to parsing response or request headers.
- `POST https://api.mcp.ai/api/deadline_funnel/list/campaigns` — Tool to retrieve existing Deadline Funnel campaigns. Use when you need to obtain campaign IDs and names for downstream actions.
- `POST https://api.mcp.ai/api/deadline_funnel/start/deadline/custom/webhook` — Tool to start an individual subscriber’s deadline tracking via a custom webhook URL. Use after generating a campaign-specific webhook token. Example: StartDeadlineCustomWebhook(account_id='123456', to
  - body: { email: string, token: string, account_id: string }
- `POST https://api.mcp.ai/api/deadline_funnel/track/sale/webhook` — Tool to record a sale for a subscriber in a specific campaign via the campaign-generated sales-tracking webhook. Use after generating the campaign sales-tracking webhook URL.
  - body: { email: string, token: string, amount: number, currency: string, contact_id?: string, first_name?: string, campaign_id: string, integration: string }

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

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