Code GenesisBook a discovery call
← Case studies
Services · MCP

Booking connector: check availability and book through any AI assistant

An MCP connector that lets AI assistants check real availability, book, reschedule, and cancel appointments in a business's scheduling system, with confirmations sent by the business itself.

Type
AI agent integration (MCP)
Tools
4 agent tools
Stack
TypeScript, MCP SDK, Cal.com API

The problem

Customers increasingly ask an AI assistant to "book me in for Tuesday." Without a connection to the real calendar, the assistant can only send them to a website and hope.

The solution

A connector over the booking system's API exposes availability and bookings as tools, with the business's own rules (buffers, staff, services, deposits) enforced on every call.

Tools the agent can use

find_availabilityOpen slots by service, staff member, and date rangeRead
book_appointmentHold a slot and send the business's own confirmationWrite
rescheduleMove a booking within the business's policyWrite
cancel_bookingCancel, applying the cancellation policyWrite

How it connects

  1. Customer's AI assistant
  2. MCP Gateway
  3. Booking connector
  4. Cal.com API
  5. Business calendar

Security by design

  • Bookings tied to a verified email or phone number
  • Business rules enforced server-side, not by the model
  • Rate limits stop agents from holding slots in bulk

Stack

TypeScriptMCP SDKCal.com APICloudflare Workers

Let's build what's next.

Tell us about your product, platform, or roadmap. In a 30-minute consultation we'll share how we'd approach it, with no slides and no obligation.