yAppointment MCP by usefulapi

v1.2.1
io.usefulapi/yappointment Checked 2 days ago Published 12 hours ago

Read bookings and customers; find open slots; create, change or cancel bookings in yAppointment.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

yappointment_get_account Get account context

Return the company this connection belongs to and the granted scopes. A signed-in (OAuth) connection returns the company id only; a secret key (stdio) also returns name, timezone and weekStartDay. Call it first to get company_id for yappointment_get_available_slots. yAppointment API: GET /api/v1/me.

yappointment_list_services List services

List the company's services with duration, price, active and bookable flags. Use the id as service_id for bookings. yAppointment API: GET /api/v1/me/services.

yappointment_list_employees List employees

List the company's employees with their services, working hours and bookable locations. yAppointment API: GET /api/v1/me/employees.

yappointment_list_locations List locations

List the company's locations with address, timezone and working hours. yAppointment API: GET /api/v1/me/locations.

yappointment_list_bookings List bookings

List bookings, optionally filtered by status and a from/to date range. Returns service, employee, location, customer and times. yAppointment API: GET /api/v1/bookings.

ParameterTypeDescription
cursorstringCursor from the previous page's meta, to get the next page.
fromstringCalendar day, yyyy-mm-dd.
limitintegerPage size, 1 to 100 (default 50).
statusstringFilter by status: active, pending, confirmed, completed, cancelled, or no-show (with a hyphen).
tostringCalendar day, yyyy-mm-dd.

yappointment_get_booking Get a booking

Get one booking by id with its status, times, notes and linked customer. yAppointment API: GET /api/v1/bookings/{booking_id}.

ParameterTypeDescription
booking_id *stringThe booking id (from a list tool).

yappointment_get_booking_summary Get booking statistics

Return booking counts (total, completed, cancelled) and revenue per day, week or month for a date range. yAppointment API: GET /api/v1/analytics/bookings/summary.

ParameterTypeDescription
from *stringCalendar day, yyyy-mm-dd.
to *stringCalendar day, yyyy-mm-dd.
group_bystringBucket size (default by the API).

yappointment_get_available_slots Get available time slots

Return free start and end times for a service over a date range in a given timezone, optionally for one employee or location. Needs company_id from yappointment_get_account. Uses POST but changes nothing. yAppointment API: POST /api/v1/public/companies/{company_id}/available-slots.

ParameterTypeDescription
company_id *stringCompany id from yappointment_get_account.
date_from *stringCalendar day, yyyy-mm-dd.
date_to *stringCalendar day, yyyy-mm-dd.
service_id *stringThe service id (from a list tool).
timezone *stringIANA timezone, for example Europe/Prague.
employee_idstringLimit to one employee id.
location_idstringLimit to one location id.

yappointment_list_customers List customers

List customers, optionally searching name, email or phone (case-insensitive substring). yAppointment API: GET /api/v1/customers.

ParameterTypeDescription
cursorstringCursor from the previous page's meta, to get the next page.
limitintegerPage size, 1 to 100 (default 50).
searchstringSubstring to match against name, email or phone.

yappointment_get_customer Get a customer

Get one customer by id with contact fields and notes. yAppointment API: GET /api/v1/customers/{customer_id}.

ParameterTypeDescription
customer_id *stringThe customer id (from a list tool).

yappointment_create_booking Create a booking

Create a booking for a service at a start time. customer_id and customer are both optional: pass an existing customer_id, or a customer object. Writes company data. yAppointment API: POST /api/v1/bookings.

ParameterTypeDescription
service_id *stringThe service id (from a list tool).
start_at *stringISO 8601 date-time, for example 2026-12-01T09:00:00Z or 2026-12-01T10:00:00+01:00.
customerobjectNew customer details, used when customer_id is not given.
customer_idstringExisting customer id.
employee_idstringEmployee id (optional).
idempotency_keystringOptional UUID sent as Idempotency-Key, so a retry does not repeat the write.
location_idstringLocation id (optional).
notesstring

yappointment_update_booking Update a booking

Move a booking to a new start time, change its notes, or set its status. Writes company data. yAppointment API: PATCH /api/v1/bookings/{booking_id}.

ParameterTypeDescription
booking_id *stringThe booking id (from a list tool).
idempotency_keystringOptional UUID sent as Idempotency-Key, so a retry does not repeat the write.
notesstring | null
start_atstringISO 8601 date-time, for example 2026-12-01T09:00:00Z or 2026-12-01T10:00:00+01:00.
statusstringBooking status for an update. no_show and no-show are both accepted.

yappointment_cancel_booking Cancel a booking

Cancel a booking, recording who cancelled it (tenant or customer) and an optional reason. Writes company data. yAppointment API: DELETE /api/v1/bookings/{booking_id}.

ParameterTypeDescription
booking_id *stringThe booking id (from a list tool).
cancelled_by *stringWho cancels: tenant (the business) or customer.
cancellation_reasonstring
idempotency_keystringOptional UUID sent as Idempotency-Key, so a retry does not repeat the write.

yappointment_create_customer Create a customer

Create a customer with a name and optional email, phone, address, notes and birth date. Writes company data. yAppointment API: POST /api/v1/customers.

ParameterTypeDescription
name *string
addressstring
birth_datestringCalendar day, yyyy-mm-dd.
emailstring
idempotency_keystringOptional UUID sent as Idempotency-Key, so a retry does not repeat the write.
notesstring
phonestring

yappointment_update_customer Update a customer

Change a customer's name, email, phone, address, notes or birth date. Only the fields you pass change. Writes company data. yAppointment API: PATCH /api/v1/customers/{customer_id}.

ParameterTypeDescription
customer_id *stringThe customer id (from a list tool).
addressstring | null
birth_date
email
idempotency_keystringOptional UUID sent as Idempotency-Key, so a retry does not repeat the write.
namestring
notesstring | null
phonestring | null