Skip to content

Connect Codex to HQ Rental

Connect Codex to HQ Rental in 3 steps: 1. Sign in to ApexGenius and connect HQ Rental. 2. Add the ApexGenius plugin. 3. Start using HQ Rental in Codex. Start in Plugins in the ChatGPT desktop app and authorize your connection.

1,000 free credits · No card required

How to connect HQ Rental to Codex

  1. 1Sign in to ApexGenius and connect HQ Rental
  2. 2Add the ApexGenius plugin to Codex
  3. 3Start using HQ Rental in Codex
  1. 1ApexGenius

    Connect HQ Rental to ApexGenius

    HQ Rental connected

    HQ Rental shows as connected in ApexGenius, with what your AI can reach.

  2. 2ApexGenius

    Connect ApexGenius to Codex

    Choose Codex

    Back on Start, pick Codex and copy the prompt.

  3. 3ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius plugin to Codex

Codex stores MCP servers in ~/.codex/config.toml. The ChatGPT desktop app, the Codex CLI and the IDE extension share that file, so one setup covers all three on the same machine.

  1. In the ChatGPT desktop app, open Plugins and select an ApexGenius plugin shared with you or one you created. Connect it and authorize the app connections you intend to use.
  2. No plugin? Open Settings, then MCP servers, then Add server. Name it ApexGenius, choose Streamable HTTP and paste the MCP address.
  3. Save, select Restart, then Authenticate, and sign in to ApexGenius in your browser.
  4. Start a new Codex task.

The MCP address

https://server.autom8.pro/mcp

Check it. In the composer, type /mcp to view the connected servers.

Steps follow OpenAI documentation, Model Context Protocol for ChatGPT and Codex (opens in a new tab), read November 12, 2026.

Then ask Codex

List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.

Start free
Written setup, step by stepShow

Before you start

  • HQ Rental API access enabled by an administrator.
  • The tenant label, API region, tenant token, and user token for the intended tenant.

1. Connect HQ Rental to ApexGenius

  1. Open HQ Rental in Connections. Choose Connect or Add connection to open the HQ Rental form.
  2. Enter the tenant and user credentials. Choose the assigned API region. Enter the tenant label, tenant token, and user token supplied by your HQ administrator.
  3. Verify and connect. Choose Verify and connect. ApexGenius checks a location search before saving. Confirm the tenant and reported status after the form closes.
    The HQ Rental page in ApexGenius after you connect: the status control reads Connected, one account row shows when it was added and last checked, and the Tools, Agents and Skill rows follow.
    The HQ Rental page after you connect. The status control reads Connected and the account row shows when it was last checked. Open the status control for Check again.Open full-size image (opens in a new tab)
Connect HQ Rental →

2. Connect ApexGenius to Codex

The steps are above, under Add the ApexGenius plugin to Codex. These notes apply to Codex only.

  • From the terminal. The commands are under Manual setup for developers. codex mcp list shows the configured servers, and codex mcp login apexgenius runs the sign-in.
  • Without a local browser. Run codex mcp login apexgenius --no-browser, open the printed authorization URL on another machine, sign in, and paste the full redirect URL back into the terminal.
  • Asking before writes. In config.toml, default_tools_approval_mode = "writes" on the apexgenius server makes Codex ask before any tool that is not marked read-only.
  • ChatGPT on the web. ChatGPT on the web does not read local Codex configuration. It uses plugins.
  • Access. When ApexGenius asks what Codex may use, choose Read only for the first test, or Custom to limit it to the tools you need.

Watch the setup

Follow each step at your own pace.

Codex desktop app with Plugins selected and ApexGenius listed under Available to your account.
Open Codex in the ChatGPT desktop app, then Plugins, and find ApexGenius.Open full-size image (opens in a new tab)

The walkthrough uses the original ChatGPT web plugin captures. After connecting, open Codex in the desktop app and start a new task with ApexGenius. A ChatGPT web connection does not verify Codex access.

A public ApexGenius plugin listing is not verified. Use a plugin shared with you or one you created, subject to your account and workspace policy.

Create a personal plugin

Where Developer mode is available, open ChatGPT Settings, then Security and login, and enable it. In Plugins, select the plus button, enter ApexGenius and a description, then add this URL under Connection. Create the connection, complete OAuth, and review the tools. Return to Codex in the desktop app and start a new task with the plugin enabled.

https://server.autom8.pro/mcp
OpenAI custom connection guide (opens in a new tab)
No plugin available? Use desktop settings
  1. In the ChatGPT desktop app, open Settings, then MCP servers, then Add server.
  2. Name the server ApexGenius, choose Streamable HTTP, and paste the MCP address below.
  3. Save, select Restart, then Authenticate. Sign in to ApexGenius and authorize the intended connections and access.
  4. Start a new Codex task and ask one read-only question. Check the returned result and its matching successful read in Activity.
https://server.autom8.pro/mcp
OpenAI desktop MCP settings (opens in a new tab)
Manual setup for developers

Codex CLI is optional. Run these commands, complete browser authorization, then start a new session. Do not paste bearer tokens or static authorization headers.

Register the remote MCP server

codex mcp add apexgenius --url https://server.autom8.pro/mcp

Authorize in your browser

codex mcp login apexgenius

Inspect registered servers

codex mcp list

The desktop app, CLI, and IDE extension share MCP configuration on the same host. The IDE extension does not install plugins. ChatGPT web does not read local Codex configuration.

3. Verify one safe read

List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.

List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.

Compare the returned locations with the intended HQ Rental tenant.

Full guide: the HQ Rental setup guide.

What it looks like in Codex

Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.

How the route works
Codex
CodexApexGenius MCP route
List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.
ApexGenius
Working with ApexGenius1 tool search · 1 read
RequestCheck the tenant
Account scopeAuthorized connections checked
apex_search_toolsHQ Rental locations · Find the HQ Rental read routeComplete
apex_call_read_toolhqrental_search_locations · Search locationsComplete
Codex

Illustrative example: three locations, the airport, downtown and the harbor office. Compare them with the tenant you meant to connect. Nothing was changed.

Read-only route
Codex

What to ask Codex about HQ Rental

  • Check the tenant

    List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.

    Runs hqrental_search_locations (read).

  • Today’s pickups

    Show today’s pickups and returns at the location I name.

    Runs hqrental_search_locations (read), then hqrental_daily_manifest (read).

  • Availability and a quote

    Which vehicle classes are free at the airport location next Friday through Sunday, and what would a quote cost?

    Runs hqrental_check_vehicle_availability (read), then hqrental_calculate_quote (read).

These 3 questions use 4 of HQ Rental’s 114 operations. The full list is below.

  • Extend reservation 4821 to return on Monday at noon. Show me the new total first. (write)

What Codex can do in HQ Rental

114 operations: 60 read, 54 write. Read looks things up and changes nothing. Writes change HQ Rental and run only when you turn them on.

Reservations

7 read · 10 write
  • hqrental_get_reservationread
  • hqrental_search_reservationsread
  • hqrental_create_reservationwrite
  • hqrental_update_reservationwrite
  • hqrental_set_reservation_statuswrite
  • hqrental_calculate_quoteread
  • hqrental_send_quotewrite
  • hqrental_list_available_vehicles_for_reservationread
  • hqrental_assign_vehiclewrite
  • hqrental_detach_vehiclewrite
  • hqrental_list_free_upgradesread
  • hqrental_apply_free_upgradewrite
  • hqrental_get_extensionsread
  • hqrental_create_extensionwrite
  • hqrental_delete_extensionwrite
  • hqrental_list_agentsread
  • hqrental_assign_agentwrite

Charges, agreements and comments

4 read · 9 write
  • hqrental_get_external_chargesread
  • hqrental_create_external_chargewrite
  • hqrental_delete_external_chargewrite
  • hqrental_get_adjustmentsread
  • hqrental_create_adjustmentwrite
  • hqrental_delete_adjustmentwrite
  • hqrental_get_rental_agreementread
  • hqrental_mark_reservation_signedwrite
  • hqrental_upload_signaturewrite
  • hqrental_list_reservation_commentsread
  • hqrental_create_reservation_commentwrite
  • hqrental_delete_reservation_commentwrite
  • hqrental_send_reservation_emailwrite

Fleet

7 read · 10 write
  • hqrental_get_vehicleread
  • hqrental_search_vehiclesread
  • hqrental_check_vehicle_availabilityread
  • hqrental_reserve_vehiclewrite
  • hqrental_update_vehiclewrite
  • hqrental_list_vehicle_damagesread
  • hqrental_create_vehicle_damagewrite
  • hqrental_get_vehicle_damageread
  • hqrental_update_vehicle_damagewrite
  • hqrental_list_blocked_periodsread
  • hqrental_create_blocked_periodwrite
  • hqrental_update_blocked_periodwrite
  • hqrental_delete_blocked_periodwrite
  • hqrental_list_relocationsread
  • hqrental_create_relocationwrite
  • hqrental_update_relocationwrite
  • hqrental_delete_relocationwrite

Maintenance and telematics

7 read
  • hqrental_get_maintenance_historyread
  • hqrental_list_repair_ordersread
  • hqrental_get_repair_orderread
  • hqrental_get_obd_historyread
  • hqrental_get_obd_history_allread
  • hqrental_get_vehicle_tripsread
  • hqrental_get_vehicle_alertsread

Customers

5 read · 5 write
  • hqrental_get_customerread
  • hqrental_search_customersread
  • hqrental_create_customerwrite
  • hqrental_list_customer_creditsread
  • hqrental_create_customer_creditwrite
  • hqrental_update_customer_creditwrite
  • hqrental_delete_customer_creditwrite
  • hqrental_merge_customerswrite
  • hqrental_list_contact_categoriesread
  • hqrental_get_contact_categoryread

Payments and refunds

3 read · 7 write
  • hqrental_get_paymentread
  • hqrental_search_paymentsread
  • hqrental_create_paymentwrite
  • hqrental_update_paymentwrite
  • hqrental_charge_credit_cardwrite
  • hqrental_refund_security_depositwrite
  • hqrental_get_refundsread
  • hqrental_create_refundwrite
  • hqrental_update_refundwrite
  • hqrental_delete_refundwrite

Rates and pricing

11 read · 6 write
  • hqrental_get_rateread
  • hqrental_search_ratesread
  • hqrental_list_seasonsread
  • hqrental_get_seasonread
  • hqrental_create_seasonwrite
  • hqrental_update_seasonwrite
  • hqrental_delete_seasonwrite
  • hqrental_list_rate_typesread
  • hqrental_get_rate_typeread
  • hqrental_create_rate_typewrite
  • hqrental_update_rate_typewrite
  • hqrental_delete_rate_typewrite
  • hqrental_list_packagesread
  • hqrental_get_packageread
  • hqrental_list_package_itemsread
  • hqrental_list_additional_chargesread
  • hqrental_get_additional_chargeread

Locations and vehicle catalog

11 read
  • hqrental_get_locationread
  • hqrental_search_locationsread
  • hqrental_daily_manifestread
  • hqrental_list_featuresread
  • hqrental_get_featureread
  • hqrental_list_vehicle_typesread
  • hqrental_get_vehicle_typeread
  • hqrental_list_vehicle_modelsread
  • hqrental_get_vehicle_modelread
  • hqrental_list_vehicle_brandsread
  • hqrental_get_vehicle_brandread

Traffic fines

2 read · 3 write
  • hqrental_list_finesread
  • hqrental_get_fineread
  • hqrental_create_finewrite
  • hqrental_update_finewrite
  • hqrental_delete_finewrite

Email, files and webhooks

3 read · 4 write
  • hqrental_list_email_templatesread
  • hqrental_get_email_templateread
  • hqrental_trigger_email_templatewrite
  • hqrental_upload_filewrite
  • hqrental_list_filesread
  • hqrental_delete_filewrite
  • hqrental_register_webhookwrite

You choose the access. When you approve Codex, pick Full access, Read only, or Custom.

The tenant and the permissions on its user token decide what can be read and changed.

Payments, card charges, refunds and sent emails reach real customers and money. Keep those tools off unless you need them.

Writes run immediately. Blocked hides a tool from agents.

Disconnecting stops future access. It does not undo a booking, charge, refund or sent email.

Start free

Questions about connecting Codex to HQ Rental

Updated November 12, 2026.

How do I connect Codex to HQ Rental?

Sign in to ApexGenius and connect HQ Rental. In the ChatGPT desktop app, open Plugins and connect an ApexGenius plugin, or open Settings, then MCP servers, then Add server, and add the ApexGenius MCP address as a Streamable HTTP server. Then ask Codex: “List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.” Start with a read, so nothing changes.

How do I check that Codex can use HQ Rental?

In the Codex composer, type /mcp to view the connected servers. ApexGenius should be listed. If it asks for sign-in, open Settings, then MCP servers, and select Authenticate. Start a new task, then ask: “List the locations available in my connected HQ Rental tenant. Do not create or change a reservation.”

What can my AI read?

Reservations, vehicles, customers, rates, payments, maintenance, telematics, fines and files, within the permissions of the user token you entered.

Can my AI book or change rentals?

Yes. It can create and change reservations, charges, fleet records and customers. Writes run immediately. Blocked hides a tool from agents.

Can my AI move money?

Card charges, payments, deposits and refunds are on the tool list and marked destructive where they move money. Turn those tools off unless you want your AI to use them.

Can I start with read-only access?

Yes. Choose Read only when you add your AI agent, and the write tools never reach its tool list.

Connect HQ Rental to Codex today

Start free

1,000 free credits. No card required. Disconnect any time.