> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wassist.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Offer WhatsApp to MCP clients

> Turn any client MCP server into a live WhatsApp agent using the Wassist quickstart, track referrals with referer=, and set up a partner agreement.

If you build, host, or list MCP servers for clients — as an AI agency, consultancy, MCP hosting platform, or marketplace — you can offer every client a live WhatsApp channel in minutes using the Wassist MCP quickstart.

You don't need to build a WhatsApp integration, become a Meta Tech Provider, or manage client credentials. Send your client a single link containing their MCP server URL and your `referer` tag: Wassist inspects their MCP server, generates a simulated WhatsApp preview, lets them claim a live WhatsApp sandbox in one click, and attributes the referral back to your company.

```mermaid theme={null}
flowchart LR
    P[Your handoff link or button] -->|url + referer| Q[Wassist MCP Quickstart]
    Q -->|tools/list & events/list| M[Client MCP server]
    Q -->|Simulated preview + 1-click claim| W[Client's Wassist workspace]
    W --> S[Live WhatsApp sandbox]
    S --> B[Client's WhatsApp Business number]
```

## Build a tracked quickstart link

Point your client to `https://wassist.app/whatsapp-harness` with their Streamable HTTP MCP endpoint in `url` and your company identifier in `referer`:

```text theme={null}
https://wassist.app/whatsapp-harness?url=https://mcp.client.com/mcp&referer=your-company
```

When shared in Slack, email, LinkedIn, or WhatsApp, the link automatically generates a branded preview card using the client's domain and favicon.

### Query parameters

| Parameter | Required | Description |
| - | - | - |
| `url` | Yes | The client's public Streamable HTTP MCP endpoint. Both `https://mcp.client.com/mcp` and schemeless `mcp.client.com/mcp` are accepted. |
| `referer` | Recommended | Your partner slug (e.g. `acme-mcp`). Use one consistent lowercase slug across all links so every referral rolls up to your company. `referrer` is also accepted as an alias. |
| `utm_campaign` | Optional | Segment referrals by client, proposal, or placement (e.g. `client-handoff`, `deploy-button`, `q4-proposals`) without changing your `referer` slug. |
| `utm_source` | Optional | Overrides the default `utm_source` value. When omitted, Wassist automatically records your `referer` slug as `utm_source`. |
| `utm_medium` | Optional | Overrides the default `utm_medium` value. When omitted alongside `referer`, Wassist defaults it to `partner_button`. |

### Generate links dynamically

If you manage multiple client MCP servers or provision a unique MCP endpoint per tenant, construct the link programmatically:

```ts TypeScript / JavaScript theme={null}
export function buildWhatsAppQuickstartUrl({
  mcpUrl,
  referer,
  campaign,
}: {
  mcpUrl: string;
  referer: string;
  campaign?: string;
}): string {
  const url = new URL("https://wassist.app/whatsapp-harness");
  url.searchParams.set("url", mcpUrl);
  url.searchParams.set("referer", referer);
  if (campaign) {
    url.searchParams.set("utm_campaign", campaign);
  }
  return url.toString();
}

// Example:
// https://wassist.app/whatsapp-harness?url=https%3A%2F%2Fmcp.client.com%2Fmcp&referer=acme-mcp&utm_campaign=deploy-screen
```

```python Python theme={null}
from urllib.parse import urlencode

def build_whatsapp_quickstart_url(
    mcp_url: str,
    referer: str,
    campaign: str | None = None,
) -> str:
    params = {"url": mcp_url, "referer": referer}
    if campaign:
        params["utm_campaign"] = campaign
    return f"https://wassist.app/whatsapp-harness?{urlencode(params)}"
```

```text Plain link (readable URL) theme={null}
https://wassist.app/whatsapp-harness?url=mcp.client.com/mcp&referer=acme-mcp&utm_campaign=client-handoff
```

Want a ready-styled button for your dashboard, deployment page, or README? See the copy-paste HTML, React, and Markdown snippets in [Publish to WhatsApp Button](https://docs.wassist.app/guides/apps/publish-to-whatsapp.md).

## What your client experiences

**1. Automatic tool and event discovery**

Wassist connects to the client's MCP endpoint, reads its tools via `tools/list`, and discovers any proactive [MCP Events](https://docs.wassist.app/guides/apps/mcp-events.md) exposed over webhook delivery via `events/list`.

If the server requires authentication, Wassist automatically discovers its OAuth 2.1 metadata (Protected Resource Metadata per RFC 9728, plus Client ID Metadata Documents or Dynamic Client Registration with PKCE), walks through a one-time login to inspect the schema, and deletes the temporary probe token immediately afterwards.

**2. Simulated WhatsApp preview (zero live tool calls)**

Within seconds, Wassist generates a tailored WhatsApp agent specification (name, system prompt, welcome message, and icebreakers) alongside three realistic simulated WhatsApp conversations — including proactive follow-up chats when the server exposes MCP events. No live tools are executed during preview generation.

**3. One-click live WhatsApp sandbox**

When your client clicks **Try in WhatsApp**, they sign in with their phone number and Wassist automatically provisions a private Wassist App, installation, and Agent inside **their own** Wassist workspace, with their discovered tools and events enabled. Their WhatsApp sandbox chat routes straight to the agent so they can test it live from their phone. For OAuth-protected servers, Wassist configures `end_customer` auth so each WhatsApp user connects via a native one-tap OAuth button in-chat.

**4. Launch on their own WhatsApp Business number**

When the client is ready to go live, they connect their own WhatsApp Business number — or pick a pre-verified Wassist line — from their Wassist dashboard. They get full conversation transcripts, human takeover, and native WhatsApp UX without a single change to the MCP server you built.

## Ways to offer this to clients

> [accordion] MCP agencies & consultancies (proposals and client handoffs)
>
> Include a pre-filled quickstart link in every sales pitch, staging review, or project handover. Instead of asking a non-technical stakeholder to install Claude Desktop and paste JSON config, send them a link where they can see simulated WhatsApp chats for their own business and test the agent on their phone in under a minute.
>
> **Tip for live demos:** Previews are cached per MCP URL for **24 hours**. If you open the quickstart link yourself before a client meeting (especially if the server needs an OAuth login to inspect its tools), the generated preview will load immediately when your client opens the link. Make sure the link you send your client still includes `&referer=<your-partner-id>`.

> [accordion] MCP hosting platforms & builders (in-product button)
>
> Add a **Publish to WhatsApp** button directly on each deployed server's overview screen, injecting that deployment's live MCP URL into `url=` and your platform slug into `referer=`. Every customer who deploys an MCP on your platform immediately gets a consumer-ready WhatsApp channel. See [Publish to WhatsApp Button](https://docs.wassist.app/guides/apps/publish-to-whatsapp.md) for drop-in React and HTML snippets.

> [accordion] MCP marketplaces & directories (catalog launch links)
>
> Add a **Try on WhatsApp** action next to every hosted Streamable HTTP server in your directory with your `referer=` slug attached, so visitors can preview and launch any listed MCP server straight to WhatsApp.

## How referral tracking works

When a client lands on `/whatsapp-harness` with your `referer` query parameter:

1. **Persisted across redirects:** Wassist immediately stores your `referer` value in browser session storage so attribution survives email unlock, OAuth consent flows, and WhatsApp login redirects.
2. **Attached to the session and lead:** Your `referer` is logged on the initial page view, attached to the visitor's landing session, and saved on the lead record alongside the client's MCP URL, `utm_source` (defaults to `referer`), `utm_medium` (defaults to `partner_button`), and `utm_campaign`.
3. **Tracked through activation:** Subsequent funnel actions in that session — probing the MCP server, completing OAuth, and claiming the agent into the WhatsApp sandbox — stay linked to the same attributed session.

> [!TIP]
>
> **Keep attribution clean:**
>
> * Use **one consistent lowercase slug** in `referer=` (for example `acme-mcp`) across every client link and button.
> * Use `utm_campaign=` (not `referer=`) to differentiate individual clients, sales reps, or placements.
> * Always share the link with `&referer=...` in the query string — avoid copying a bare `/whatsapp-harness/?url=...` URL from your browser address bar after redirects.

## Form a partner agreement

You can start adding `&referer=<your-company>` to quickstart links right away. If you regularly build or host MCP servers for clients and want to formalize a **partner agreement**, reach out to our team.

A Wassist MCP Partner Agreement can include:

* **Registered partner slug & referral reporting:** We lock in your `referer` ID and track your referred clients from first preview through sandbox claim and paid subscription.
* **Revenue share / referral commission:** Ongoing commercial terms structured around the client accounts you refer.
* **Priority client onboarding:** Direct help moving your clients from the sandbox to production WhatsApp Business numbers, Meta business verification, or public listings on the Wassist App Store.
* **Co-marketing & custom workflows:** Joint case studies, featured partner placement, or custom onboarding when your clients need a tighter integration.

When you get in touch, let us know:

* Your company name and website
* Your preferred `referer` slug (e.g. `acme-mcp`)
* How you deliver MCP servers to clients (agency, hosting platform, dev tool, or marketplace)
* Roughly how many clients or MCP deployments you expect per month

> [card] [Book a partner call](https://wassist.app/talk)
>
> Schedule a quick call with the Wassist team to register your `referer` ID and agree partner terms.

> [card] [Email partnerships](mailto:contact@wassist.app?subject=MCP%20Partner%20Agreement)
>
> Send us your company details and preferred `referer` slug to set up a partner agreement.

## Quickstart referrals vs. managing WhatsApp yourself

Wassist supports two ways to bring WhatsApp to your clients, depending on who owns the Wassist account and billing:

| | Quickstart referral (this guide) | Platform-managed ([Run WhatsApp for your users](https://docs.wassist.app/guides/platforms/manage-whatsapp-for-your-users.md)) |
| - | - | - |
| **Backend work required** | None — a single URL with `url=` and `referer=` | API integration with link sessions, webhooks, or managed agents |
| **Who owns the Wassist workspace** | Your client | Your platform (one organization manages all client numbers) |
| **Client login** | Client signs in to Wassist with WhatsApp | No Wassist login for clients; everything runs via your API key |
| **Commercial model** | Partner referral / revenue share via `referer=` | You bill your clients directly on top of your Wassist plan |
| **Best for** | MCP agencies, dev shops, MCP hosting platforms, and marketplaces | Vertical SaaS products and white-label agencies bundling WhatsApp into their own subscription |

You can also combine both — use the quickstart to let prospects preview their MCP on WhatsApp during sales, or package a reusable MCP server for the Wassist App Store with [Build an App](https://docs.wassist.app/guides/build-an-app.md).

## Client MCP server requirements

Before sending a client their quickstart link, verify their MCP server meets these requirements:

| Requirement | Details |
| - | - |
| **Streamable HTTP over HTTPS** | Endpoints must use `https://` and speak [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http). Legacy `/sse` endpoints are not supported. |
| **Publicly reachable** | The MCP host must resolve to a public IP address (private, loopback, and link-local addresses are blocked). |
| **Authentication** | Either no auth (public tools), or OAuth 2.1 with PKCE and Protected Resource Metadata (RFC 9728) supporting Client ID Metadata Documents (CIMD) or Dynamic Client Registration (DCR). |
| **Clear tool & event schemas** | Concise tool names, descriptions, and JSON input schemas produce better simulated conversations and stronger generated agent prompts. If the server supports proactive [MCP Events](https://docs.wassist.app/guides/apps/mcp-events.md) over webhook delivery, Wassist automatically showcases them in the preview and enables them on claim. |

## Related

> [card] [Publish to WhatsApp Button](https://docs.wassist.app/guides/apps/publish-to-whatsapp.md)
>
> Drop-in HTML, React, and Markdown button snippets for dashboards and docs.

> [card] [Run WhatsApp for your users](https://docs.wassist.app/guides/platforms/manage-whatsapp-for-your-users.md)
>
> Onboard and manage client WhatsApp accounts under your own organization via API.

> [card] [Build an App](https://docs.wassist.app/guides/build-an-app.md)
>
> Package a Wassist-aware MCP server with signed conversation context and a store listing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.