MCP

Pegasus Nexus MCP — Connect Your Fleet to Your AI Assistant


Pegasus Assistant lets you ask questions about your Pegasus fleet in plain language, from the AI assistant you already use: Claude, ChatGPT, or any other assistant that supports the Model Context Protocol (MCP).

Instead of building reports or exporting data, you can just ask:

"Which vehicles were used less than 2 days last week?"

"Where is vehicle 'TDX922' right now?"

"How many vehicles in the North Yard group are online?"

The assistant looks up the answer in your Pegasus account and replies in the conversation. You can then keep going with follow-up questions, summaries, tables, or drafts.



Which vehicles in group 21418 were active in the past 24h, create an infographic


Create a report of the mileage driven by state for vehicle "XXMMXX" over the past week


Contents


How it works

Pegasus Assistant is a hosted MCP server: a secure connector that gives an AI assistant a set of read-only tools for your Pegasus data. Nothing needs to be installed on your machine.

 ┌──────────────────┐        ┌──────────────────────┐        ┌──────────────┐
 │  Your AI client  │  MCP   │  Pegasus Assistant   │  API   │   Pegasus    │
 │ (Claude, ChatGPT │ ─────▶ │     (MCP server)     │ ─────▶ │ (your site)  │
 │   and others)    │ ◀───── │   read-only tools    │ ◀───── │              │
 └──────────────────┘        └──────────────────────┘        └──────────────┘
  1. You add the Pegasus Assistant URL to your AI client as a connector.
  2. The first time you use it, you sign in with your normal Pegasus username and password on the Pegasus OAuth page.
  3. When you ask a fleet question, the assistant picks the right tool (for example "list vehicle locations"), and Pegasus Assistant fetches the data as you, with your own Pegasus permissions.
  4. The assistant uses the result to answer you.

Things to keep in mind:

  • Read-only. Pegasus Assistant can never create, edit, or delete anything in Pegasus, and it can't send commands to vehicles or devices.
  • Your permissions apply. You only see what your Pegasus user can already see. Two people in the same company can get different answers if they have access to different groups.
  • You pick the AI. Pegasus doesn't provide the language model. Your AI client and its provider handle the conversation.

What you can ask

These are the kinds of questions Pegasus Assistant can answer today.

Where is my fleet? What is it doing right now?

  • "Where's my fleet right now?"
  • "Where is vehicle 'TDX922'?"
  • "Which vehicles are moving and which are parked?"
  • "Are there any vehicles near 1234 Address St?"
  • "Is vehicle 4412 online right now?"
  • "How many vehicles in the North Yard group are online?"
  • "Which devices have stopped reporting?"

What happened over a period of time?

  • "Which vehicles were used less than 2 days last week?"
  • "Which vehicles weren't used at all this month?"
  • "Which vehicles in the North Yard group were used the least in the last 30 days?"
  • "What did vehicle X do last week? How far did it drive?"
  • "Where was vehicle X parked yesterday, and for how long?"
  • "Show me vehicle X's exact trail between 2 and 3 pm today."
  • "When exactly did vehicle X's ignition turn on this morning?"

What does my account contain?

  • "How many vehicles and assets do we have?"
  • "How are our vehicles grouped? Which vehicles are in the South Branch group?"
  • "What geofences are set up?"
  • "Which vehicles are red?" / "Which vehicles are Nissans?"
  • "Which vehicles have a device installed, and which don't?"
  • "How many automation rules (triggers) do we have? Is there one called 'After-hours movement'?"
  • "Which automations have a Telegram message and for which groups"

Safety, cameras and records

  • "Did anyone use their phone or skip the seatbelt in the North Yard group this week?"
  • "Show me the photos from that no-seatbelt alert."
  • "How many times did the panic button trigger fire this week? Which vehicles set off the speeding alert most?"
  • "Who renamed vehicle X, and when?"
  • "What forms do we have? How many inspections this month found damage?"
  • "Get me the totals from my latest trips report."

Around a location

  • "Which of our geofences are within 2 km of -33.52, -70.80?"
  • "Which checkpoints are near the Santiago depot?"
  • "Which geofence is vehicle X in right now?"

Tools available to the assistant

You don't have to call these yourself, because the assistant picks them
automatically. The list can still help you understand what's possible.

AreaToolWhat it does
Utilizationquery_fleet_metricsDays each vehicle was used over a period, with optional filters such as "less than 2 days"
Live statuslist_vehicle_locations, list_vehicle_connections, list_devicesLatest location, online status, last report time and latest telemetry
Historylist_trips, list_raw_telemetryTrips (drives and stops) for up to 25 vehicles; exact GPS and ignition events for up to 3 vehicles
Account datalist_vehicles, search_vehicles, list_assets, list_groupsVehicles, assets and groups, one page at a time; search by exact field value
Geofenceslist_geofences, find_nearby_geofencesGeofences by name, and the geofences containing or near a point, with checkpoints flagged
Automationlist_triggers, list_trigger_logs, find_event_labelsYour automation rules, each time they fired, and what event codes mean
Cameraslist_camera_events, get_event_photosDriver-monitoring alerts and collisions, and the photos from an event
Forms and reportslist_forms, get_form_submissions, get_form_submission_files, list_reports, get_report_dataForm answers with exact statistics, uploaded photos, and the data inside generated reports
Recordslist_change_history, list_api_requests (admin only), list_hos_cyclesWho changed what and when, the request log, and hours-of-service cycles
Countscount_vehicles, count_assets, count_devices, count_groups, count_geofences, count_triggersQuick "how many" totals
Helpsearch_pegasus_docs, read_pegasus_doc, get_current_user, submit_feedbackSearch the Pegasus docs, show who you are signed in as, and send feedback to the team

Before you start

You'll need:

  1. A Pegasus user account on your company's Pegasus site, the same username and password you use to sign in to Pegasus.
  2. Your Pegasus Assistant URL. Each Pegasus site has its own URL, ending in /mcp. Ask your account
    contact or support team for it. It looks like: https://pegasus-mcp-server.xxxxx.a.run.app/mcp
  3. An AI client that supports remote MCP connectors, such as Claude (Desktop app or claude.ai) or ChatGPT. On some plans, custom connectors have to be enabled by a workspace admin first.

Getting started


Claude (Desktop or claude.ai)

  1. Customize → Connectors → Add
  • Click Add custom connector.
  • Enter a name, for example Pegasus Site MCP, and paste your site's Pegasus MCP URL.

  • Use the defaults and click Continue

  • Click Connect

  • A browser window opens with the Pegasus login page. Sign in with your Pegasus username and password.

  • After you sign in, you're sent back to Claude and the connector shows as connected with the tools displayed

  • Start a new chat and make sure the Pegasus connector is turned on in the chat's tools menu. Then ask something like "List my fleets" or "Where are the vehicles in the Transport ABC fleet today?"

The first time the assistant uses a Pegasus tool, Claude may ask you to allow it. You can allow it once or always.

ChatGPT

  • Open Plugins, click Add on the top right Add custom MCP server
  • Enter the details

  • Click Continue
  • Save, then sign in with your Pegasus username and password when the Pegasus login page opens.

  • If the MCP Connection fails with the plugins the first time you may have to go back to the Plugin and Connect again

  • Then just start a new chat and tag the @Plugin Name (@Pegasus Assistant in our example)


Other MCP clients

Pegasus Assistant works with any MCP client that supports:

  • Remote servers over Streamable HTTP, and
  • OAuth 2.1 sign-in, with dynamic client registration.

Give the client your Pegasus Assistant URL and it will take care of the sign-in. Clients that only run local (stdio) servers, or that only accept a fixed API key, are not supported.


Tips for better answers

  • Name things exactly. Vehicle searches match exact, case-sensitive values. For example, "S4ATDX - My red car" matches but "S4ATDX" does not. If you aren't sure of a name, ask the assistant to list vehicles first.
  • Mention the group if you manage a large fleet: "…in the North Yard group". Answers come back faster and more focused.
  • Give a time frame for history questions: last week, this month, the last 30 days, or specific dates.
  • Go from summary to detail. Ask for trips ("what did vehicle X do yesterday?") before asking for raw GPS points. Trips cover more ground, while raw telemetry is limited to a few vehicles and a few days.
  • Check the coverage note. When a vehicle had no data in the period you asked about, the answer says so rather than counting it as zero use.
  • Tell it when it's wrong. If an answer is wrong or confusing, say so, for example "that's not right, vehicle 12 was in the shop all week". The assistant will pass your feedback to the Pegasus team.
  • Large lists come in pages. Vehicle, asset, group and geofence lists return 100 at a time. On a big account the assistant counts first, then filters (for example by name or group) or fetches page by page.

Security and privacy

  • Pegasus login. You sign in on the Pegasus login page. Your AI client never sees your Pegasus password.
  • Per-user access. Every request runs as your own Pegasus user, with your existing permissions. No shared or admin account is used behind the scenes.
  • Read-only. No tool can change data in Pegasus or send commands to a device.
  • Session length. The access token lasts one hour and is renewed automatically. A sign-in lasts at most 30 days, after which you'll be asked to sign in again. If your Pegasus user is disabled or its session is invalidated, the connection stops working within about an hour.
  • Disconnecting. To stop using Pegasus Assistant, remove the connector in your AI client's settings.
  • What your AI provider sees. Data returned by Pegasus Assistant becomes part of your conversation, so your AI provider (Anthropic, OpenAI, …) processes it under your agreement with them. Check your organization's AI usage policy before you connect.
  • Service analytics. To improve the service, Pegasus records which tools are used, by which Pegasus user and site, along with any feedback you submit. Conversation content from your AI client is not collected.

Current limitations

  • Remove: "Very large fleets: questions that go through every device ... page through results."
  • Replace with: "Lists are paged (100 per page). On large accounts, narrow the question by name or group instead of asking for everything."
  • Add: "Nearby geofences returns the 15 closest, so checkpoint searches in dense areas can miss some."
  • Change "Not available yet" to remove hours-of-service, since HOS cycles are now available, and keep the rest of that list.

Troubleshooting

ProblemWhat to try
The login page never appears, or sign-in fails right awayMake sure the URL is exactly the one you were given and ends in /mcp. Remove the connector and add it again.
After signing in, you land on an error pageSign in with a user on the Pegasus site this URL belongs to. Each site has its own URL.
The assistant says it has no Pegasus toolsMake sure the connector is enabled for the current chat in the tools menu, then start a new chat.
The assistant used to work and now asks you to reconnectYour 30-day sign-in expired, or your Pegasus session was invalidated. Reconnect and sign in again.
"Vehicle not found" when you know it existsSearch needs the exact, case-sensitive name. Ask the assistant to list your vehicles to get the exact name.
A vehicle or group is missing from the answerYour Pegasus user may not have access to it. Check your permissions in Pegasus.
An answer is slow or times outNarrow the question with a group, fewer vehicles, or a shorter period.
An answer seems wrongTell the assistant, and it will send feedback. If the problem continues, contact support (see below).

FAQ

Can the assistant change anything in Pegasus?
No. Every tool is read-only.

Can my whole team use it?
Yes. Each person adds the connector and signs in with their own Pegasus
user, and each person sees only what their own user can see.

Can I use it from an automation or my own app?
Yes, if your app is an MCP client that supports OAuth sign-in (see Other MCP clients). Unattended scripts without a user sign-in are not supported yet.


Getting help

  • Inside the conversation: tell the assistant what went wrong, and it will send your feedback to the Pegasus team.
  • Anything else: contact our support team, and include your Pegasus site, the question you asked, and the results you obtained

Did this page help you?