MetorialDocs

Set up Radar in Metorial for Claude, ChatGPT and Cursor

Share Radar with your team in Claude, ChatGPT and Cursor through Metorial: API secret key sign-in, 26 tools (18 read-only).

To give your team Radar in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Radar integration in a Metorial portal, and each person connects with an API secret key. Agents can track user locations and manage geofences, trips, and location-based events. The integration has 26 tools, 18 read-only, 5 write and 3 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Radar in a portal and how each person connects
  • What Radar asks for when you connect, and where to find it
  • How to keep the 18 read-only tools and reject the other 8

Before you start

Sign-in method

MethodTypeWhat a person provides
API Secret KeyAPI tokentoken

API Secret Key

To connect, a person enters:

  • token: Radar secret API key found on the Settings page of the Radar dashboard. Must be a secret key (sk), not a publishable key (pk).

Setup settings

Setup also asks for:

  • environment (optional): Radar environment to use. Test keys work with the test environment, live keys with the live environment. One of "test", "live".

Admin: share Radar 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 Radar. For how members connect, choose Each person connects so everyone enters their own API secret key, or Shared connection to enter one API secret key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Radar.

Choose who gets it

Add the access groups that should see Radar. 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 Radar integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search radar

Employee: connect Radar

In the portal

Open Radar in the catalog

Sign in to your portal and open Radar. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API secret key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search radar
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Radar 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.

metorial list radar
metorial client list
metorial install <client-identifier> <integration-id>

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 18 read-only tools, such as geocode and get_trip, and lose the 5 write tools, such as create_trip or update_trip, and the 3 destructive tools, such as delete_trip or delete_user.

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 list radar
metorial tools <integration-id>
metorial call <integration-id> geocode -d '{"mode":"forward"}'

metorial tools lists the 26 tools, minus any you rejected. geocode needs mode, so replace the placeholders. It converts between addresses and coordinates.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (18)

  • get_geofence: Retrieve a specific geofence by its Radar ID, or by its tag and external ID combination.
  • list_trips: List trips in your Radar project.
  • calculate_distance_matrix: Calculate distances and durations between multiple origins and destinations. Needs origins, destinations and mode.
  • get_trip: Retrieve a specific trip by its Radar ID. Needs tripId.
  • geocode: Convert between addresses and coordinates. Needs mode.
  • get_directions: Get turn-by-turn directions between multiple locations. Needs locations.
  • calculate_distance: Calculate the travel distance and duration between an origin and destination. Needs originLatitude, originLongitude, destinationLatitude, destinationLongitude and modes.
  • list_geofences: List geofences in your Radar project.
  • get_event: Retrieve a specific event by its Radar ID. Needs eventId.
  • search_geofences: Search for nearby geofences by location. Needs latitude and longitude.
  • autocomplete: Address and place autocomplete for search boxes and forms. Needs query.
  • list_events: List location events in your Radar project.
  • search_nearby_users: Search for users near a specific location, sorted by distance. Needs latitude and longitude.
  • get_location_context: Get the location context for a set of coordinates without creating or updating a user. Needs latitude and longitude.
  • get_user: Retrieve a specific user by Radar ID, user ID, or device ID. Needs userId.
  • list_users: List tracked users in your Radar project.
  • search_places: Search for nearby points of interest (places) by category or chain. Needs latitude and longitude.
  • validate_address: Validate and standardize a postal address. Needs city, stateCode, postalCode and countryCode.

Write tools (5)

  • update_trip: Update a trip's status or metadata. Needs tripId and status.
  • upsert_geofence: Create or update a geofence in Radar. Needs tag, externalId, description, type and coordinates.
  • verify_event: Accept, reject, or unverify a Radar event. Needs eventId and verification.
  • track_user_location: Submit a location update for a user/device. Needs deviceId, latitude, longitude and accuracy.
  • create_trip: Create a Radar trip with a stable external ID, optional user, and destination geofence.

Destructive tools (3)

  • delete_geofence: Delete a geofence from Radar by its ID, or by its tag and external ID combination.
  • delete_user: Delete a user from Radar by their Radar ID, user ID, or device ID. Needs userId.
  • delete_trip: Permanently delete a Radar trip by its internal or external ID.

Triggers

Radar has 2 triggers, which fire on events in Radar:

  • webhook_events: Receives Radar events via webhook.
  • location_events: [Polling fallback] Triggers on Radar location events including geofence entries/exits, place visits, trip lifecycle events, region crossings, and beacon events.

Next steps