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
Authorizationheader. 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:
| Tool | Does |
|---|---|
list_services | Services with duration and price |
find_slots | Available slots for a service and date range |
hold_slot | Hold a slot for 10 minutes |
confirm_booking | Confirm a hold with customer details |
cancel_booking, reschedule_booking, get_booking | Manage an existing booking |
Admin (config:write) — for the owner running the business from their AI assistant:
| Tool | Does |
|---|---|
list_resources, list_today | Team, rooms, machines and today's agenda |
block_time | Block a resource (vacation, maintenance) |
create_service, update_schedule | Change the catalog and hours |
get_stats | Bookings, 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
/llms.txtlists every documentation page./llms-full.txtcontains the full English documentation in Markdown.