VegaGPS Fleet Telematics MCP
v1.0.0Enterprise GPS fleet tracking & telematics MCP: live tracking, fuel theft, cold-chain & GPSWOX.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vega_search_endpoints Search API Endpoints
Search the Vega Platform OpenAPI catalog (620+ REST and V1 Integration endpoints) by keyword, URL path, or domain tag. Use this before calling vega_api_call whenever no curated tool (such as vega_list_devices or vega_list_alerts) covers the requested capability. Read-only and unauthenticated; returns matching endpoints with HTTP method, path template, tags, summary, and required parameters (or count: 0 when no endpoints match).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keywords, endpoint path fragment, or feature term (e.g. "fuel theft", "geofence", "trips", "sim card", "cold chain"). |
limit | number | Maximum number of matching endpoints to return (default: 10, range: 1-50). |
tag | string | Optional domain tag filter (e.g. "Devices", "Fleets", "Alerts", "Fuel Intelligence", "Video Telematics", "Trip Engine"). Omit to search all tags. |
vega_api_call Call Fleet API
Execute any Vega Platform REST (/api/*) or Integration (/v1/*) endpoint dynamically with automatic session Bearer JWT or API-key injection. Use this only after discovering the path via vega_search_endpoints when no curated tool applies; prefer dedicated tools like vega_get_device or vega_send_command when available. Requires authentication (call vega_login first); DELETE and hardware-control paths are blocked unless confirm_destructive_action is true, and mutations are rejected in read-only mode. Returns the upstream JSON payload or a structured error.
| Parameter | Type | Description |
|---|---|---|
method * | string | HTTP request verb (GET for reads; POST/PUT/PATCH/DELETE for mutations). |
path * | string | Relative Vega API path discovered via vega_search_endpoints (e.g. "/api/devices/864540081293581", "/api/fleets", or "/v1/vehicles/current-location"). |
body | object | Optional JSON request body payload for POST, PUT, or PATCH endpoints. |
confirm_destructive_action | boolean | Safety confirmation flag (default: false). Must be explicitly set to true after user confirmation when calling DELETE, bulk delete, or hardware command/immobilizer endpoints. |
params | object | Optional key-value map of URL path variables and query string parameters. |
vega_mcp_reload Reload MCP Tools
Reload the Vega OpenAPI specification and rebuild the in-memory endpoint search index and tool registry without restarting the server. Use this after backend API routes change or when vega_search_endpoints is missing a newly deployed endpoint; do not call during routine fleet queries. Returns reload stats (registeredTools, totalEndpoints, durationMs) and emits a tools/list_changed notification.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Force a remote HTTP OpenAPI spec fetch even when a cached local spec file exists (default: false). |
vega_open_dashboard Open VegaGPS Dashboard
Open the interactive Vega GPS Fleet Dashboard UI showing a live map, searchable vehicle list, telemetry drawer, alerts feed, geofences, and command panel. Use this when the user asks to view, visualize, or open the dashboard; for raw JSON data without UI, use vega_list_devices or vega_get_fleet_status instead. Works with empty {} arguments; when authenticated it preloads devices, fleet status, and recent alerts, and when unauthenticated it renders an inline sign-in prompt.
| Parameter | Type | Description |
|---|---|---|
imei | string | Optional 15-digit tracker IMEI to focus and open in the telemetry drawer immediately. |
search | string | Optional initial search query to filter the vehicle list (plate number, vehicle name, or IMEI). |
status | string | Optional initial vehicle connectivity or motion status filter (default: "all"). |
tab | string | Initial dashboard tab to display (default: "map"). |
vega_start_browser_login Start Browser Login
Start a localhost browser SSO sign-in flow against track.vegagps.com/mcp-connect for interactive MCP App UI hosts. Use this only from the embedded dashboard UI when initiating browser login, then poll completion with vega_poll_browser_login; for chat-based authentication, use vega_login instead. Binds a temporary local callback listener and returns { loginUrl, state, expiresAt }.
vega_poll_browser_login Poll Browser Login
Check the completion status of an active browser SSO flow created by vega_start_browser_login. Call repeatedly with the returned state nonce until status becomes "authenticated", "expired", or "error"; do not call without first invoking vega_start_browser_login, and use vega_whoami to inspect an already-authenticated session. On completion, binds the received JWT to the current MCP session and returns { status, user?, error? }.
| Parameter | Type | Description |
|---|---|---|
state * | string | Opaque state nonce returned by vega_start_browser_login to identify the pending login flow. |
vega_login Login to VegaGPS
[⚠️ AUTHENTICATION REQUIRED FIRST STEP] The current session is not logged in. Ask user for credentials and call this tool first with email and password (or JWT token) before invoking fleet/device tools. Authenticate the current MCP session against Vega Platform using either email/username/phone + password or an existing Bearer JWT token. Call this first when vega_whoami reports authenticated: false or a fleet tool returns 401; do not call if the session is already authenticated via OAuth or Authorization header. Stores credentials in memory for the current session only and returns { succes…
| Parameter | Type | Description |
|---|---|---|
email | string | Registered Vega account email address, username, or phone number (e.g. "dispatcher@acme.com"). Required with password unless token is provided. |
password | string | Account password paired with email. Omit when authenticating with a direct JWT token. |
rememberMe | boolean | Issue a persistent 90-day session token when true (default: true). |
token | string | Direct Vega JWT access token or Personal Access Token (optional alternative to email + password). |
vega_whoami Current User
Inspect the authentication status and user identity of the current MCP session. Use this before fleet queries to verify login state, role, organization, and token expiry; call vega_login if authenticated is false. Read-only with no side effects; returns { authenticated, user?, expiresAt?, minutesRemaining?, message? }.
vega_logout Logout
Clear stored authentication tokens and user context from the current MCP session in memory. Use this when switching Vega accounts or ending an authenticated session; does not revoke tokens on other devices or sessions. Returns { success: true, message }.
vega_get_device Device Telemetry
Fetch the full profile, latest GPS coordinates, speed, ignition, battery, sensor port values, and subscription status for a single tracker by its 15-digit IMEI. Use this when you already know the exact IMEI; if you only have a plate number, driver name, or want multiple vehicles, call vega_list_devices or vega_search_all first. Requires an authenticated session and returns the device JSON object (or an error if the IMEI is not found or outside the user's organization).
| Parameter | Type | Description |
|---|---|---|
imei * | string | 15-digit GPS tracker IMEI number (e.g. "864540081293581"). |
vega_list_devices List Fleet Devices
List paginated fleet vehicles and trackers in the user's organization with optional connectivity/motion status filtering and text search. Use this for fleet rosters or filtering by online/offline/moving/parked state; use vega_get_fleet_status for aggregate counts only, vega_get_device for a single known IMEI, or vega_search_all to also match drivers and geofences. Requires an authenticated session and returns a paginated list of devices with latest telemetry summary.
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of devices per page (default: 50, range: 1-100). |
page | number | 1-based page number for pagination (default: 1). |
search | string | Optional case-insensitive filter matching IMEI, vehicle registration plate, or vehicle name. |
status | string | Filter vehicles by live connectivity or motion state (default: "all"). |
vega_get_device_positions Route History
Retrieve historical GPS waypoints (timestamp, latitude, longitude, speed, heading, ignition, and sensor snapshots) for one device over a specified time window. Use this for route playback, trip inspection, or past location checks; use vega_get_device for current live location only. Requires an authenticated session and returns an ordered array of position records (or an empty list if no telemetry was recorded in the window).
| Parameter | Type | Description |
|---|---|---|
deviceId * | string | Target device 15-digit IMEI or internal UUID (e.g. "864540081293581"). |
from * | string | Inclusive window start timestamp in ISO-8601 UTC (e.g. "2026-03-01T00:00:00Z") or "YYYY-MM-DD HH:mm:ss". |
to * | string | Inclusive window end timestamp in ISO-8601 UTC (e.g. "2026-03-01T23:59:59Z") or "YYYY-MM-DD HH:mm:ss". |
vega_get_fleet_status Fleet Status
Retrieve high-level operational fleet KPIs including total, online, offline, moving, and parked vehicle counts. Use this for executive fleet summaries without fetching individual vehicle payloads; use vega_list_devices when you need per-vehicle details or IMEIs. Requires an authenticated session and returns a single fleet status summary JSON object.
vega_list_alerts Fleet Alerts
Retrieve recent fleet alarm notifications (SOS, overspeed, geofence entry/exit, power cut, ignition, fuel theft, vibration) for the user's organization. Use this to triage active or historical incidents; for live vehicle telemetry use vega_list_devices or vega_get_device. Requires an authenticated session and returns an array of alert records with timestamp, device, alert type, severity, and read status (or an empty array if none match).
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of alert records to return (default: 50, range: 1-200). |
severity | string | Optional alert severity filter ("critical", "warning", or "info"). Omit to include all severities. |
unread | boolean | When true, return only unread notifications; when false or omitted, return all recent alerts (default: false). |
vega_list_geofences Geofences
List all circular and polygon geofence zones configured for the user's organization, including zone name, geometry/coordinates, radius, and active status. Use this to inspect configured boundaries or find geofence IDs; use vega_search_all to search across geofences and vehicles together, or vega_api_call to create or edit geofences. Requires an authenticated session and returns an array of geofence objects.
vega_send_command Send Device Command
Dispatch a live downstream hardware command (engine immobilizer RELAY_STOP, RELAY_RESUME, REBOOT, or CUSTOM_GPRS) to a physical GPS tracker. Safety-critical and irreversible on live vehicles: always obtain explicit user confirmation before setting confirm_destructive_action to true; do not use for read-only telemetry queries. Requires an authenticated session with command permissions, is blocked in read-only mode or when confirm_destructive_action is false, and returns command dispatch or queue status.
| Parameter | Type | Description |
|---|---|---|
commandType * | string | Hardware command to execute: RELAY_STOP (cut engine/fuel), RELAY_RESUME (restore engine), REBOOT (restart tracker), or CUSTOM_GPRS (raw payload). |
confirm_destructive_action * | boolean | Safety gate (default: false). Must be explicitly set to true after human approval or the server aborts without dispatching. |
deviceId * | string | Target GPS tracker 15-digit IMEI or internal UUID (e.g. "864540081293581"). |
customCommand | string | Raw GPRS command string. Required only when commandType is "CUSTOM_GPRS"; ignored otherwise. |
vega_search_all Search Fleet
Run a unified full-text search across vehicles, tracker IMEIs, license plates, drivers, fleets, and geofences in one call. Use this when the user gives a partial name, plate, or keyword of unknown entity type; prefer vega_list_devices for status-filtered device listings or vega_get_device when you already have an exact IMEI. Requires an authenticated session and returns grouped matches across entity categories (or empty arrays when nothing matches).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keyword matching plate number, driver name, fleet name, geofence name, or IMEI (e.g. "KDA 123A" or "Nairobi Depot"). |