AI app builder · Updated
Add Bookare booking to a site built with Cursor
Add Bookare's MCP server to Cursor in mcp.json, then ask the agent to set up the venue and put the booking widget on the site you are building.
Cursor’s agent can use Bookare while you build a site: it creates and sets up the booking side (classes, services, tables or rooms, prices, opening hours) and adds the booking widget to your pages. Your project gets working booking without a booking backend to write or host.
Before you start
- No Bookare venue yet? Use Bookare’s public server,
https://bookare.app/mcp. It needs no account and no key. The agent creates the venue as a draft for the owner and gives you a claim link at the end. Nothing opens to customers until the owner confirms with a code sent to their email and accepts the terms. Drafts that are not claimed within 14 days are deleted. - Already on Bookare? Use your venue’s own server,
https://yourvenue.bookare.app/mcp, with an API key from Settings → Assistant and API → API key (advanced), or sign in with OAuth. Or skip the connection: copy the code from Settings → Link and domain and paste it into your prompt.
1. Add Bookare to mcp.json
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project):
{
"mcpServers": {
"bookare": {
"url": "https://bookare.app/mcp"
}
}
}
For your own venue, with an API key kept in an environment variable:
{
"mcpServers": {
"my-venue": {
"url": "https://yourvenue.bookare.app/mcp",
"headers": {
"Authorization": "Bearer ${env:BOOKARE_API_KEY}"
}
}
}
}
Without the headers block, Cursor can sign in with OAuth instead: a Bookare page opens, you sign in and choose read only or read and change. Never commit the key itself.
Official docs: Model Context Protocol in Cursor.
2. Example prompt
Add online booking to this site for "Move Studio", a Pilates studio.
Use the bookare MCP server. Do not build a booking system.
1. Check that the Bookare address "move-studio" is free.
2. Create the venue for the owner: <owner name>, <owner email>.
3. Set it up from the Pilates template, then change it to our real classes,
times and prices: <your classes, times and prices>.
4. Call get_embed_code. Put the timetable widget on the timetable page and a
"Book online" button to the booking page in the header.
5. Tell me the claim link at the end.
3. The code it adds
On a plain HTML page the widget is one line, placed where it should appear:
<script src="https://bookare.app/embed.js" data-venue="move-studio" data-view="timetable" async></script>
data-view is timetable or packs for gyms and studios, services for appointments, tables for restaurants and stays for places to stay. In React, the <script> tag must be added from an effect (React does not run it from JSX); ask the agent to do that. The widget resizes itself, and every “Book” button opens the venue’s booking page in a new tab, where customers sign in and pay.
More on the widget: The booking widget and links. All guides: Add Bookare booking to your site.