How to integrate Radar MCP with Codex

Connect Codex to Radar MCP. Autocomplete address based on partial input, get users currently inside geofence, and more using natural language, with authentication handled for you.

Radar logoRadar
Api Key

Radar is a location infrastructure platform providing APIs and SDKs for geofencing, geocoding, and location tracking. It helps developers add precise, scalable location features to any app with minimal effort.

37 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Radar MCP integration, Codex can geocode addresses and IPs, manage geofences and trips, track location updates, search nearby places, and get route directions, all without leaving the terminal or the app, whichever you prefer.

Also integrate Radar with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1700+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Radar MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Radar task. The first time, Composio asks you to connect your Radar account.

For example, ask it to:

  • "Autocomplete address based on partial input"
  • "Get users currently inside geofence"
  • "Convert address to latitude and longitude"

What is the Radar MCP server, and what's possible with it?

The Radar MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Radar account. It provides structured and secure access to advanced location services, so your agent can perform actions like geocoding addresses, managing geofences, tracking trips, searching places, and retrieving location context on your behalf.

  • Address and place autocomplete: Instantly get relevant address or place suggestions based on partial user input, improving data quality and user experience.
  • Precise geocoding and location context: Convert full addresses to latitude/longitude and fetch rich context—including region, geofence, and place details—for any set of coordinates.
  • Geofence management: Retrieve, create, or delete geofences to define dynamic boundaries and monitor activity within specific areas automatically.
  • Trip creation and tracking: Start, fetch, or delete trips to enable real-time location tracking and trip management for devices or users.
  • Live user monitoring in geofences: Effortlessly list all users currently inside a defined geofence, supporting presence-based automation and analytics.

Conclusion

You've successfully integrated Radar with Codex using Composio's MCP server. Now you can interact with Radar directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Radar operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Radar operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Radar action and event your agent gets out of the box.

Autocomplete Address or Place

Tool to autocomplete partial addresses and place names based on relevance and proximity.

Create Beacon

Tool to create a new beacon in Radar.

Create Trip

Creates a new Radar trip with an external ID and optional origin, destination, mode, and metadata details.

Delete Beacon

Tool to delete a beacon by its Radar ID.

Delete Geofence

Tool to delete a geofence by ID.

Delete Geofence By Tag

Tool to delete a geofence by tag and external ID.

Delete Trip

Tool to delete a trip by its Radar ID or external ID.

Delete User

Delete a Radar user by Radar _id, userId, or deviceId.

Forward Geocode

Geocode a full address into geographic coordinates, with optional layer and country filters.

Get Beacon

Retrieve a beacon by its Radar ID, returning the supported beacon fields.

Get Beacon By Tag

Look up a beacon by tag and external ID, returning the first beacon in the filtered results.

Get Context for Location

Tool to retrieve context for a given location.

Get Geofence

Retrieve a geofence by Radar ID or by tag and external ID, returning the supported geofence fields.

Get Places Settings

Request Radar project Places settings.

Get Route Directions

Tool to get turn-by-turn directions between multiple locations.

Get Route Matrix

Tool to calculate travel distance and duration between multiple origins and destinations for up to 625 routes.

Get Trip

Tool to retrieve a trip by ID or externalId.

Get User

Get a user by Radar _id, userId, or deviceId.

Get Users in Geofence

Retrieve users currently within a geofence identified by its tag and external ID.

IP Geocode

Tool to geocode an IP address to city, state, and country.

List Events

Tool to list events.

List Geofences

List a page of geofences sorted by updated time, with optional filters and pagination cursors.

List Trips

Lists trips sorted by updated time, with optional user and external ID filters and ID-based cursor parameters.

List Users

Tool to list Radar users sorted by update time.

Reverse Geocode

Tool to convert geographic coordinates to structured addresses.

Route Distance

Computes travel distance and duration between one origin and one destination for a selected travel mode.

Search Geofences

Tool to search for geofences near a given location.

Search Places Near Location

Tool to search for places near given coordinates.

Search Users Near Location

Tool to search for users near a location.

Track Location Update

Tool to track a user's location update.

Update Places Settings

Submits a Places settings update for a Radar project with an optional chain metadata enabled flag.

Update Trip

Tool to update a trip.

Update Trip By ID

Tool to update a trip status by Radar _id or external ID.

Upsert Beacon by ID

Tool to create or update a beacon by Radar _id.

Upsert Beacon by Tag

Tool to create or update a beacon by tag and externalId.

Upsert Geofence

Tool to create or update a geofence by tag and externalId.

Upsert Geofence By ID

Tool to create or update a geofence by Radar _id.

FAQ

Frequently asked questions

With a standalone Radar MCP server, the agents and LLMs can only access a fixed set of Radar tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Radar and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Radar tools.

Yes, absolutely. You can configure which Radar scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Radar data and credentials are handled as safely as possible.

Start with Radar.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Radar tool your agent needs.Free to start.

Start building