OpenBooking / Docs / Packages /
adapter-ucp
Package
@openbooking-sh/adapter-ucp
Universal Commerce Protocol (draft). Exposes a
BookingService over the Universal Commerce Protocol: the
business profile at /.well-known/ucp, booking sessions
over REST and an availability extension. UCP booking support follows a
draft and may change with the spec.
Part of OpenBooking: open-source booking that every AI assistant can use.
npm install @openbooking-sh/adapter-ucp
Usage #
import { createUcpRouter, buildUcpProfile } from '@openbooking-sh/adapter-ucp';
app.route('/ucp', createUcpRouter({ service, baseUrl, ucpPath: '/ucp' }));
app.get('/.well-known/ucp', (c) => c.json(buildUcpProfile({ baseUrl, ucpPath: '/ucp' })));
Learn more #
- OpenBooking on GitHub: the full SDK, docs and examples
- openbooking.sh
Apache-2.0
This page is generated from
packages/adapter-ucp/README.md
in the open-source repository. To fix something, change it there.