Server URL
Streamable HTTP. Sign-in is OAuth 2.1: the assistant opens a BaliRent page where you choose what it may do. No account is needed.
Connect your assistant
- Claude (claude.ai and desktop)
- Settings → Connectors → Add custom connector. Paste the server URL, then sign in when Claude asks: a BaliRent page opens, choose what to allow and press Allow.
- ChatGPT
- Settings → Apps & Connectors → Advanced → turn on developer mode, then Create. Paste the server URL, authentication OAuth, and allow access on the BaliRent page.
- Claude Code
- Run in a terminal, then /mcp in Claude Code to sign in:
- Cursor
- Add to ~/.cursor/mcp.json, then press Connect next to balirent in Settings → MCP:
- VS Code
- Run MCP: Add Server → HTTP and paste the server URL, or add to .vscode/mcp.json:
Tools
list_areas- Areas of Bali where rental shops hand over or deliver vehicles, plus Ngurah Rai airport. Use the slug as area in search_offers, get_variant and create_booking. Needs
offers:read. list_models- Scooter and car models listed on BaliRent with brand, type and page link. Use it to tell the person which models exist; availability and prices for dates come from search_offers. Needs
offers:read. search_offers- Scooters or cars free for the dates, each with rental shops' offers: offer id, price per day, total for the trip in IDR, prepayment, deposit, delivery, extras, licence, minimum age and free cancellation hours. Results are vehicles (variant: model, year, condition), best offer first. Needs
offers:read. get_variant- One vehicle variant (model, year, condition) with every rental shop's offer for the dates. model and variant come from search_offers (variant.model_slug, variant.slug). Needs
offers:read. create_booking- Books one offer for the dates in the person's name. Consequential: call only after the person has seen the summary and agreed. Instant offers are confirmed at once, others go to the shop for confirmation. No payment is taken online. Returns the booking code and the booking page url. Needs
bookings:write. get_booking- Status of a booking by its code: searching (shops are being asked), confirmed, offered (a shop offers another price, the person accepts it on the booking page), cancelled and others, with dates, rental shop and money. Needs
bookings:read. cancel_booking- Cancels a booking by its code and frees the vehicle; the rental shop is told. Destructive: call only when the person asks to cancel. Works while the booking is searching, offered or confirmed. Needs
bookings:write.
Permissions
When you connect, you choose what the assistant may do. Searching is always allowed; booking can be left off.
offers:read- Search scooters and cars, see rental shops' offers and prices for your dates.
bookings:read- See the status of a booking by its code.
bookings:write- Book a vehicle with the name and phone you give, and cancel bookings. No payment is taken online.
The assistant books only after you agree to the summary: vehicle, rental shop, dates, place, total, deposit and terms. You get the booking link, the same as when you book on the site. To disconnect, remove BaliRent in the assistant's settings.
For developers
- /.well-known/mcp/server-card.json: MCP server card
- /.well-known/oauth-protected-resource/mcp: protected resource metadata (RFC 9728)
- /.well-known/oauth-authorization-server: authorization server metadata (RFC 8414): PKCE S256, client ID metadata documents, dynamic client registration
- io.balirent/mcp: entry in the official MCP Registry
- balirent-mcp on npm: JavaScript SDK, CLI and a local read-only MCP server over stdio (
npx -y balirent-mcp) - BaliRent API docs: the same search as a public read-only JSON API, no key
Without a token the server answers 401 with WWW-Authenticate pointing to the protected resource metadata.