home / mcp / water bar email mcp server

Water Bar Email MCP Server

🕵️ Noir-themed MCP orchestration for wellness bookings | Supabase + Resend + React Email | Windsurf Hackathon 2025

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "drbata-case-file-hydration": {
      "command": "node",
      "args": [
        "C:\\\\Users\\\\azamb\\\\OneDrive\\\\Desktop\\\\THE.WATER.BAR\\\\mcp-waterbar-emails\\\\build\\\\index.js"
      ],
      "env": {
        "RESEND_API_KEY": "re_your_api_key_here"
      }
    }
  }
}

You run a Water Bar Email MCP Server that coordinates hydration-related booking confirmations by connecting data sources, email templating, and delivery services. This server automates sending branded confirmation emails when bookings are made, while keeping receipts and status logs in sync for auditability and customer experience.

How to use

Use the water bar email MCP with your MCP client to trigger and manage booking confirmation emails. You will call the waterbar_emails tool with a flow name that maps to a specific email template and data payload. The server handles template rendering and email delivery using your configured services.

How to install

Prerequisites: Node.js 18+, Windsurf IDE (with MCP support), Resend API key, and a Supabase project.

# Clone the case file
git clone https://github.com/yourusername/case-file-hydration
cd case-file-hydration

# Install dependencies
npm install

Build the project to generate the executable runtime for the MCP.

npm run build

Configure Windsurf to run the water bar emails MCP server by adding the following configuration to your Windsurf MCP config file.

{
  "mcpServers": {
    "waterbar-emails": {
      "command": "node",
      "args": ["C:\\Users\\azamb\\OneDrive\\Desktop\\THE.WATER.BAR\\mcp-waterbar-emails\\build\\index.js"],
      "env": {
        "RESEND_API_KEY": "re_your_api_key_here"
      }
    }
  }
}

Refresh the MCP servers in Windsurf to load the new configuration.

Click the hammer icon → Refresh MCP servers

Demo payload and usage examples

Example of a booking confirmation payload you can send through the waterbar_emails MCP to generate a branded email with a timeline and paired drinks.

Use the waterbar-emails MCP. Call send_waterbar_email with this:

{
  "flow": "aoi-booking-confirmation",
  "to": "[email protected]",
  "data": {
    "customerName": "Dr Azam",
    "bookingDate": "2025-07-06",
    "venue": "AOI - Al Quoz, Dubai",
    "totalAmount": "AED 180.00",
    "paymentUrl": "https://buy.stripe.com/test_xxx",
    "bookings": [
      {
        "time": "08:30",
        "experience": "Ice Bath",
        "duration": 10,
        "preDrink": "Ginger Shot",
        "explanation": "Ice Bath sharply awakens your system through noradrenaline release."
      },
      {
        "time": "09:10",
        "experience": "AOI Air PRO Implosion Dome",
        "duration": 50,
        "duringDrink": "Humantra Electrolytes",
        "explanation": "Immersive light and sound enhance cognitive clarity and focus."
      },
      {
        "time": "10:10",
        "experience": "Infrared Sauna",
        "duration": 30,
        "afterDrink": "METÉ Sparkling Water",
        "explanation": "Gentle warmth opens circulation, preparing you for integration."
      }
    ]
  }
}

Available flows

- aoi-booking-confirmation - AOI experience bookings with timeline - water-bar-order-confirmation - Water Bar order receipts - water-bar-followup - Post-visit thank you - water-bar-missed-you - Event no-show followup

Hackathon Demo Script

Opening: I built an AI-orchestrated wellness booking system that chains Supabase + OpenAI + Stripe + Resend to automate multi-venue experience confirmations.

Show: 1. User books Ice Bath + Air PRO + Sauna on AOI site 2. AI suggests paired drinks based on physiology 3. Windsurf calls send_waterbar_email MCP tool 4. Beautiful branded email arrives with timeline + drinks

Emphasize: Multi-MCP orchestration (4 services), Real business value (actual bookings), AI-driven content (drink pairings, explanations), Repeatable (React Email templates = editable)

Planned future flows

This work focuses on Flow 1: AOI Booking Confirmation. Additional flows are being envisioned, including Hydration plan generation, On-venue orchestration, and Combined experience recap.

Available tools

send_waterbar_email

MCP tool to send water bar email using the waterbar_emails flow with provided payload.