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

Drive Local MCP and OAuth 2.1 endpoint URLs
EndpointURL
MCP Streamable HTTPhttps://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 endpointhttps://www.drive-local.app/oauth/authorize
Token endpointhttps://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. 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. 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. 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 (owner or member).

  4. 4. Start every session with agents_context

    Your assistant should call agents_context first 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.

Drive Local OAuth 2.1 scope levels
Consent optionOAuth scopes grantedWhat the agent can call
Read onlybusiness:readInspect business details, vehicles, calendar availability, Turo sync status, bookings, customers, messages and activity.
Drafts and availabilitybusiness:read, business:writeEverything in Read only, plus drafts, vehicle edits, pickup locations, calendar blocks, Turo car assignment and non-destructive updates.
Business operationsbusiness:read, business:write, business:actEverything 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 requestKey string (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: true touch 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 #1042 or {businessNumber}/{bookingNumber}.
  • Hard agent boundaries: Business grants reject personal capabilities. me_get returns 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 tools
  • operators_get(business:read)Get your business
  • operators_update(business:write, owner)Update your business
  • operators_setup(business:read)See what's left to set up
  • bookingRules_get(business:read)Get booking rules
  • bookingRules_update(business:act, owner)Update booking rules

Cars, pricing, photos and pickup locations

18 tools
  • locations_list(business:read)List pickup locations
  • locations_create(business:write, owner)Add a pickup location
  • locations_update(business:act, owner)Update a pickup location
  • locations_archive(business:act, owner)Archive a pickup location
  • vehicles_list(business:read)List cars
  • vehicles_get(business:read)Get a car
  • vehicles_create(business:write)Add a car
  • vehicles_update(business:act)Update a car
  • vehicles_activate(business:act, owner)Put a car live
  • vehicles_pause(business:write)Pause a car
  • vehicles_retire(business:act, owner)Retire a car
  • vehicles_photos_uploadUrl(business:write)Get a photo upload address
  • vehicles_photos_reorder(business:write)Reorder a car's photos
  • vehicles_photos_remove(business:act)Remove a photo
  • vehicles_photos_addFromChat(business:write)Put a chat photo on a car
  • vehicles_blocks_list(business:read)List a car's blocked time
  • vehicles_blocks_create(business:write)Block time on a car
  • vehicles_blocks_remove(business:act)Remove blocked time

Availability and calendar blocks

4 tools
  • vehicles_blocks_list(business:read)List a car's blocked time
  • vehicles_blocks_create(business:write)Block time on a car
  • vehicles_blocks_remove(business:act)Remove blocked time
  • calendar_list(business:read)See the fleet's calendar

Turo email sync and reconciliation

7 tools
  • turo_get(business:read)Get Turo sync
  • turo_setUp(business:write, owner)Set up Turo sync
  • turo_reservations_list(business:read)List Turo reservations
  • turo_reservations_setCar(business:write)Put a Turo reservation on a car
  • turo_messages_list(business:read)List Turo emails to look at
  • turo_messages_resolve(business:write)Mark a Turo email handled
  • turo_check(business:write)Check Turo's Booked list

Team and invitations

5 tools
  • team_list(business:read)List the team
  • team_invite(business:act, owner)Invite someone to the team
  • team_cancelInvite(business:act, owner)Cancel an invitation
  • team_setRole(business:act, owner)Change someone's role
  • team_remove(business:act, owner)Remove someone from the team

Requests, pickup, return and incidentals

17 tools

Requires identity, payments for full live execution.

  • bookings_list(business:read)List bookings
  • bookings_get(business:read)Get a booking
  • bookings_approve(business:act)Approve a booking request
  • bookings_decline(business:act)Decline a booking request
  • bookings_photos_uploadUrl(business:write)Get an inspection photo upload address
  • bookings_photos_remove(business:act)Remove an inspection photo
  • bookings_checkIn(business:act)Check in a booking
  • bookings_checkOut(business:act)Check out a booking
  • bookings_charges_add(business:write)Add an after-booking charge
  • bookings_charges_remove(business:act)Remove an after-booking charge
  • bookings_charges_collect(business:act)Collect after-booking charges
  • bookings_deposit_release(business:act)Release the deposit hold
  • bookings_cancel(business:act)Cancel a booking
  • bookings_getByNumber(business:read)Find a booking by its number
  • bookings_history(business:read)Search past bookings
  • bookings_turoBlocked(business:write)Mark dates blocked on Turo
  • bookings_link(business:read)Get a car's booking link

Customers and their history

2 tools
  • customers_list(business:read)List customers
  • customers_get(business:read)Get a customer

Customer conversations and approved sending

4 tools
  • messages_list(business:read)List customer conversations
  • messages_get(business:read)Read a customer conversation
  • messages_send(business:act)Send a customer a message
  • messages_markRead(business:write)Mark a conversation read

Earnings by month and exports

2 tools
  • earnings_get(business:read, owner)See earnings
  • earnings_export(business:read, owner)Export earnings

Agent connections and activity

4 tools

Requires connections for full live execution.

  • agents_context(business:read)Get agent operating context
  • agents_connections_list(business:read)List your agent connections
  • agents_connections_revoke(business:act)Disconnect an agent
  • activity_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

Docs hub

Docs overview

All machine-readable endpoints and operator setup guides.

Docs

HTTP API & OpenAPI 3.1 overview

Explore /v1/openapi.json and public storefront REST endpoints.

Feature

AI & MCP server overview

Compare remote MCP on your tokens against built-in Drive Bot.

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.