Draft

MCP and AI agents

Let Claude, ChatGPT or your own agent find slots, book and run a business through the Model Context Protocol.

Wagend exposes an MCP server so AI agents can use the same engine as the WhatsApp bot: same holds, same validation, same audit log.

Connect

  • URL: https://mcp.wagend.app (Streamable HTTP)
  • Auth: an API key in the Authorization header. OAuth will follow.

Example client configuration:

{
  "mcpServers": {
    "wagend": {
      "type": "http",
      "url": "https://mcp.wagend.app",
      "headers": { "Authorization": "Bearer wg_live_..." }
    }
  }
}

Use a wg_test_ key while you experiment.

Toolsets

The tools an agent sees depend on the key's scopes.

Booking (slots:read, bookings:write) — for assistants booking on behalf of a customer:

ToolDoes
list_servicesServices with duration and price
find_slotsAvailable slots for a service and date range
hold_slotHold a slot for 10 minutes
confirm_bookingConfirm a hold with customer details
cancel_booking, reschedule_booking, get_bookingManage an existing booking

Admin (config:write) — for the owner running the business from their AI assistant:

ToolDoes
list_resources, list_todayTeam, rooms, machines and today's agenda
block_timeBlock a resource (vacation, maintenance)
create_service, update_scheduleChange the catalog and hours
get_statsBookings, occupancy and no-shows

Example prompts

  • "Book me a haircut with Juan tomorrow morning, name Carlos."
  • "Block the laser machine next Monday for maintenance and tell me which bookings are affected."
  • "How many no-shows did we have this month?"

Docs for LLMs