Set up Route4Me in Metorial for Claude, ChatGPT and Cursor
Share Route4Me with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 35 tools (13 read-only).
To give your team Route4Me in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Route4Me integration in a Metorial portal, and each person connects with an API key. Agents can optimize delivery and pickup routes by solving vehicle routing and traveling salesman problems. The integration has 35 tools, 13 read-only, 15 write and 7 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Route4Me in a portal and how each person connects
- What Route4Me asks for when you connect, and where to find it
- How to keep the 13 read-only tools and reject the other 22
Before you start
- A portal with at least one access group
- An API key from Route4Me for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | apiKey |
API Key
To connect, a person enters:
apiKey: Your Route4Me API key. Found under Security > API Key or Account Settings > Integrations > API Key.
Admin: share Route4Me in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Route4Me. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Route4Me.
Choose who gets it
Add the access groups that should see Route4Me. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Route4Me integration. Once it exists, check which groups have it:
Employee: connect Route4Me
In the portal
Open Route4Me in the catalog
Sign in to your portal and open Route4Me. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Route4Me connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_notes and get_orders, and lose the 15 write tools, such as add_note or create_order, and the 7 destructive tools, such as delete_route or delete_orders.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 35 tools, minus any you rejected. get_team_members takes no input. It retrieves the list of team members (users) associated with your account.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (13)
get_team_members: Retrieve the list of team members (users) associated with your account.geocode_address: Convert a street address to geographic coordinates (forward geocoding) or convert lat/lng to a street address (reverse geocoding).get_avoidance_zones: List all avoidance zones or retrieve a specific one.get_activities: Retrieve activities from the activity feed.get_tracking_history: Retrieve GPS tracking history for a specific route. NeedsrouteId.get_contacts: Search and retrieve contacts from the address book.get_vehicles: List all vehicles in your fleet, or retrieve a specific vehicle by ID.get_notes: Retrieve notes for a specific stop/address on a route. NeedsrouteIdandrouteDestinationId.get_optimization: Retrieve an optimization problem by ID, or list all optimizations.get_orders: Retrieve a single order by ID or list orders.get_territories: List all territories or retrieve a specific one.get_routes: Retrieve a single route by ID or list all routes.get_current_user: Retrieve the Route4Me member associated with the connected API key, including their ID, role, and contact information.
Write tools (15)
create_territory: Create a new territory for organizing operations geographically. NeedsterritoryNameandterritory.update_contact: Update an existing contact in the address book. NeedsaddressId.update_order: Update an existing order's properties such as address, customer info, scheduling, or custom fields. NeedsorderId.update_vehicle: Update an existing vehicle's properties and constraints. NeedsvehicleId.duplicate_route: Create a copy of an existing route. NeedsrouteId.set_gps_position: Report a GPS position for a device. NeedsrouteId,memberId,latandlng.create_avoidance_zone: Create a new avoidance zone. NeedsterritoryNameandterritory.create_vehicle: Add a new vehicle to your fleet with its properties and constraints. NeedsvehicleAlias.create_optimization: Create and solve a route optimization problem. Needsaddresses.create_contact: Add a new contact to the address book. Needsaddress1.create_order: Create a new order for route planning. Needsaddress1.update_route: Update a route's properties, resequence stops, add addresses, or remove an address. NeedsrouteId.add_note: Add a text note to a stop/address within a route. NeedsrouteId,routeDestinationIdandnoteContent.update_team_member: Update an existing team member's profile, role, or permissions. NeedsmemberId.create_team_member: Add a new team member to your account. NeedsmemberEmail,memberFirstName,memberLastName,memberTypeandmemberPassword.
Destructive tools (7)
delete_contacts: Delete one or more contacts from the address book. NeedsaddressIds.delete_territory: Delete a territory. NeedsterritoryId.delete_orders: Delete one or more orders by their IDs. NeedsorderIds.delete_team_member: Remove a team member from your account. NeedsmemberId.delete_vehicle: Remove a vehicle from your fleet. NeedsvehicleId.delete_route: Delete a route by ID. NeedsrouteId.delete_avoidance_zone: Delete an avoidance zone. NeedsterritoryId.
Triggers
Route4Me has 2 triggers, which fire on events in Route4Me:
activity_feed_webhook: Receives real-time activity notifications via the Route4Me Activity Feed webhook.activity_feed_polling: [Polling fallback] Polls the Route4Me Activity Feed for new activities.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Route4Me there
- Tool permissions: tool filters and what employees see
- Route4Me on metorial.com: the integration overview