An MCP funnel is a multi-step conversation, hosted on your MCP server, that drives a user from intent to outcome (a qualified lead, a booking, a quote, a purchase). ChatGPT, Claude, and any other MCP-capable client become the front-end. Your funnel runs as a single MCP tool.Documentation Index
Fetch the complete documentation index at: https://docs.waniwani.ai/llms.txt
Use this file to discover all available pages before exploring further.
@waniwani/sdk is the SDK for building MCP funnels. The engine is open source. The WaniWani Platform adds funnel analytics, hosted state, knowledge base, and a chat widget on top.
What you can build
Sales funnel MCP
Qualify intent, capture lead data, route to the right next step.
Lead generation MCP
Collect email, role, and use case. Push to your CRM.
Booking MCP
Pick a service, pick a slot, confirm. Branch on availability.
Insurance quote MCP
Collect details, validate, return a quote with widget cards.
Funnel vocabulary ↔ flow vocabulary
If you’re new to the SDK, the funnel terms map cleanly to the flow engine:| Funnel term | Flow term |
|---|---|
| Funnel step / page | Node (addNode({ id, label, run })) |
| Step name (in dashboard) | label |
| Drop-off / conversion | Edge taken vs. abandoned |
| Form field | Interrupt |
| Branching question | Conditional edge |
| Funnel state (lead data) | Flow state (typed) |
| Funnel analytics | Platform: node visits, completion rate, drop-off |
Anatomy of an MCP funnel
Why MCP for funnels
- No website, no form, no chatbot widget. The funnel runs inside the AI client the user already uses.
- One tool call, many turns. The engine handles state, validation, branching, and resumption.
- Funnel analytics out of the box. Connect the WaniWani Platform and every node visit becomes a funnel step in the dashboard.