Technical guide
Connect Claude, ChatGPT or Codex via /mcp.
Drive Local runs a stateless Streamable HTTP MCP server at https://www.drive-local.app/mcp exposing 66 operator tools across 10 workflows, secured by OAuth 2.1, PKCE and CIMD.
Updated 2026-11-29
Discovery endpoints
Server URL and OAuth 2.1 metadata
| Endpoint | URL |
|---|---|
| MCP Streamable HTTP | https://www.drive-local.app/mcp |
| OAuth 2.1 Authorization Server Metadata (RFC 8414) | https://www.drive-local.app/.well-known/oauth-authorization-server |
| OAuth 2.1 Protected Resource Metadata (RFC 9728) | https://www.drive-local.app/.well-known/oauth-protected-resource/mcp |
| Authorization endpoint | https://www.drive-local.app/oauth/authorize |
| Token endpoint | https://www.drive-local.app/oauth/token |
| Dynamic client registration (CIMD also enabled) | https://www.drive-local.app/oauth/register |
Step-by-step setup
How to connect a remote MCP client
1. Add the custom connector URL
In Claude, ChatGPT or your MCP client, add a new remote MCP server pointing to
https://www.drive-local.app/mcp. Your client discovers OAuth metadata automatically through RFC 9728 and RFC 8414.2. Sign in with your Drive Local account
Complete passwordless 6-digit email or SMS verification on Drive Local. OAuth authorizes your personal account, never a shared API key.
3. Pick one business and permission level
Select the specific rental business this connection may access and choose one of the three scope tiers below. Effective access is always capped by your live Postgres role (
ownerormember).4. Start every session with agents_context
Your assistant should call
agents_contextfirst to read the granted business identity, effective permissions, live workflow coverage and any current provider blockers.
Authorization
Real OAuth scopes and access levels
Scopes advertised by the OAuth provider (from AGENT_SCOPES in @drive-local/contract): business:readbusiness:writebusiness:act. Legacy business grants retain full operating access. Refresh downscoping is enforced directly from the token.
| Consent option | OAuth scopes granted | What the agent can call |
|---|---|---|
| Read only | business:read | Inspect business details, vehicles, calendar availability, Turo sync status, bookings, customers, messages and activity. |
| Drafts and availability | business:read, business:write | Everything in Read only, plus drafts, vehicle edits, pickup locations, calendar blocks, Turo car assignment and non-destructive updates. |
| Business operations | business:read, business:write, business:act | Everything above, plus sensitive operations (prices, publishing, team invites, customer messages, booking approvals and money) within your Postgres role. |
Execution protocol
Idempotency, types and safety rules
- Required requestKey on every mutation: Every non-read tool requires a
requestKeystring (8 to 128 characters, such as a UUID). Reuse the exact same key and input after a timeout so Drive Local replays the committed result instead of running the action twice; changed input under a reused key is rejected with a conflict error. - Confirmation hints: Tools with
destructiveHint: truetouch money, messages, prices, publication, team access or removals. Hints prompt the client to confirm with the person; server-side OAuth scopes and Postgres role checks remain the real authorization boundary. - Data formats: All monetary values are integer USD cents. Timestamps are ISO 8601 strings with offsets, displayed in each pickup location's IANA time zone. Record IDs are permanent opaque strings; human references use
Booking #1042or{businessNumber}/{bookingNumber}. - Hard agent boundaries: Business grants reject personal capabilities.
me_getreturns only the granted business. No agent can verify a customer's ID, sign a customer agreement, save a customer's card or block dates on Turo.
Live tool catalog
Implemented MCP workflows (66 tools)
Generated directly from @drive-local/contract. You can also fetch the complete flat text tool list at /llms-full.txt.
Business details and booking rules
5 toolsoperators_get(business:read)Get your businessoperators_update(business:write, owner)Update your businessoperators_setup(business:read)See what's left to set upbookingRules_get(business:read)Get booking rulesbookingRules_update(business:act, owner)Update booking rules
Cars, pricing, photos and pickup locations
18 toolslocations_list(business:read)List pickup locationslocations_create(business:write, owner)Add a pickup locationlocations_update(business:act, owner)Update a pickup locationlocations_archive(business:act, owner)Archive a pickup locationvehicles_list(business:read)List carsvehicles_get(business:read)Get a carvehicles_create(business:write)Add a carvehicles_update(business:act)Update a carvehicles_activate(business:act, owner)Put a car livevehicles_pause(business:write)Pause a carvehicles_retire(business:act, owner)Retire a carvehicles_photos_uploadUrl(business:write)Get a photo upload addressvehicles_photos_reorder(business:write)Reorder a car's photosvehicles_photos_remove(business:act)Remove a photovehicles_photos_addFromChat(business:write)Put a chat photo on a carvehicles_blocks_list(business:read)List a car's blocked timevehicles_blocks_create(business:write)Block time on a carvehicles_blocks_remove(business:act)Remove blocked time
Availability and calendar blocks
4 toolsvehicles_blocks_list(business:read)List a car's blocked timevehicles_blocks_create(business:write)Block time on a carvehicles_blocks_remove(business:act)Remove blocked timecalendar_list(business:read)See the fleet's calendar
Turo email sync and reconciliation
7 toolsturo_get(business:read)Get Turo syncturo_setUp(business:write, owner)Set up Turo syncturo_reservations_list(business:read)List Turo reservationsturo_reservations_setCar(business:write)Put a Turo reservation on a carturo_messages_list(business:read)List Turo emails to look atturo_messages_resolve(business:write)Mark a Turo email handledturo_check(business:write)Check Turo's Booked list
Team and invitations
5 toolsteam_list(business:read)List the teamteam_invite(business:act, owner)Invite someone to the teamteam_cancelInvite(business:act, owner)Cancel an invitationteam_setRole(business:act, owner)Change someone's roleteam_remove(business:act, owner)Remove someone from the team
Requests, pickup, return and incidentals
17 toolsRequires identity, payments for full live execution.
bookings_list(business:read)List bookingsbookings_get(business:read)Get a bookingbookings_approve(business:act)Approve a booking requestbookings_decline(business:act)Decline a booking requestbookings_photos_uploadUrl(business:write)Get an inspection photo upload addressbookings_photos_remove(business:act)Remove an inspection photobookings_checkIn(business:act)Check in a bookingbookings_checkOut(business:act)Check out a bookingbookings_charges_add(business:write)Add an after-booking chargebookings_charges_remove(business:act)Remove an after-booking chargebookings_charges_collect(business:act)Collect after-booking chargesbookings_deposit_release(business:act)Release the deposit holdbookings_cancel(business:act)Cancel a bookingbookings_getByNumber(business:read)Find a booking by its numberbookings_history(business:read)Search past bookingsbookings_turoBlocked(business:write)Mark dates blocked on Turobookings_link(business:read)Get a car's booking link
Customers and their history
2 toolscustomers_list(business:read)List customerscustomers_get(business:read)Get a customer
Customer conversations and approved sending
4 toolsmessages_list(business:read)List customer conversationsmessages_get(business:read)Read a customer conversationmessages_send(business:act)Send a customer a messagemessages_markRead(business:write)Mark a conversation read
Earnings by month and exports
2 toolsearnings_get(business:read, owner)See earningsearnings_export(business:read, owner)Export earnings
Agent connections and activity
4 toolsRequires connections for full live execution.
agents_context(business:read)Get agent operating contextagents_connections_list(business:read)List your agent connectionsagents_connections_revoke(business:act)Disconnect an agentactivity_list(business:read)Read business activity
Questions
Frequently asked questions
- Which AI clients work with Drive Local's remote MCP server?
- Any remote MCP client supporting Streamable HTTP and OAuth 2.1 with PKCE (including Client ID Metadata Documents / CIMD), such as Claude, ChatGPT custom connectors and Codex.
- What is the exact MCP server URL to paste into Claude or ChatGPT?
- Use https://www.drive-local.app/mcp. You can also copy the exact connector URL anytime inside your business console under Settings > Agents.
- How do I switch an agent to a different rental business?
- Each OAuth grant is pinned to one signed-in person and one rental business. Connecting a second business requires a separate explicit OAuth consent and does not invalidate your first business's connection.
- How do I revoke an AI assistant's access?
- Open Business Settings > Agents in the Drive Local web console or iPhone app and click Disconnect next to the client. Revocation deletes the OAuth grant and its tokens, and Postgres membership/role checks also run on every single MCP call.
Keep reading
More technical docs
Early access
Connect your own assistant in two minutes.
Remote MCP access is included in the $11.11 per active car base plan once billing launches, with no extra API add-on.