Skip to main content
Glama
Webfleet MCP Server

Webfleet MCP Server

by WYRE-AI

Webfleet MCP Server

A read-only Model Context Protocol server for Bridgestone Webfleet's WEBFLEET.connect API. It gives an MSP a read view of a client's fleet: vehicles and their latest positions, drivers, trips and tracks, events, KPIs, addresses, and orders.

Every tool is a GET of a read-only report action against the fixed endpoint https://csv.webfleet.com/extern. Nothing here can insert, update, or delete data, send anything to a driver terminal, or consume a message queue. Parameters and limits follow the WEBFLEET.connect 1.76.0 Reference Guide.

Tools

Tool

WEBFLEET.connect action

Limit

webfleet_status

none (local configuration only; a tool error when credentials are missing or invalid)

n/a

webfleet_objects_list

showObjectReportExtern

6/min

webfleet_vehicles_list

showVehicleReportExtern

10/min

webfleet_object_groups_list

showObjectGroups

10/min

webfleet_object_group_objects_list

showObjectGroupObjects

10/min

webfleet_nearest_vehicles

showNearestVehicles

10/min

webfleet_contracts_list

showContracts

6/min

webfleet_object_features

getObjectFeatures

10/min

webfleet_trips

showTripReportExtern

1/min

webfleet_trip_summary

showTripSummaryReportExtern

10/min

webfleet_tracks

showTracks (max 2 days)

10/min

webfleet_logbook

showLogbook

10/min

webfleet_standstills

showStandStills

6/min

webfleet_idle_exceptions

showIdleExceptions

10/min

webfleet_working_times

showWorkingTimes

6/min

webfleet_events

showEventReportExtern

1/min

webfleet_speeding_events

showSpeedingEvents

10/min

webfleet_acceleration_events

showAccelerationEvents

10/min

webfleet_drivers_list

showDriverReportExtern

10/min

webfleet_driver_groups_list

showDriverGroups

10/min

webfleet_driver_group_drivers_list

showDriverGroupDrivers

10/min

webfleet_object_kpis

getObjectKPIs

10/min

webfleet_driver_kpis

getDriverKPIs

10/min

webfleet_addresses_list

showAddressReportExtern

6/min

webfleet_address_groups_list

showAddressGroupReportExtern

900/hour

webfleet_address_group_addresses_list

showAddressGroupAddressReportExtern

900/hour

webfleet_orders_list

showOrderReportExtern

6/min

webfleet_order_waypoints

showOrderWaypoints

10/min

webfleet_messages_list

showMessages (reads messages; does not touch the queue)

10/min

webfleet_raw_request

any one of the actions above, with caller-supplied parameters

same

The catalog is one table in src/tools/catalog.ts; the action allowlist and limits are in src/actions.ts.

Date ranges. Report tools take the reference's date range filter: range_pattern (d0, d-1..d-6, w0..w-3, wf0..wf-3, m0..m-3, ud), or rangefrom_string + rangeto_string (ISO 8601, since every request sends useISO8601=true), or year (+ month, day). An explicit rangefrom_string + rangeto_string range is always sent with range_pattern=ud, as in the reference's example. webfleet_standstills requires range_pattern and does not take year/month/day. Trips accept tripid alone (continuous replication), the logbook accepts tripid alone (one trip), and orders accept orderid alone.

No paging. WEBFLEET.connect returns a full list per call and has no page parameter. tripid is passed through as given; the server never issues follow-up requests. Use columnfilter (every tool) and the filters to keep responses small. A response larger than WEBFLEET_MAX_RESPONSE_CHARS keeps as many leading rows as fit and adds truncated, returned_items, total_items, and a truncation_hint.

Errors. Vendor errors come back as tool errors (isError: true) with the HTTP status, the WEBFLEET.connect response code (X-Webfleet-Errorcode or the body's error id), the vendor message, and a hint for the codes an operator can act on (1101/1106 wrong credentials, 8014 missing access right or API key, 8011 quota, 8015 overlapping request). WEBFLEET.connect does not return a request id. "No data" (codes 63 and 9198) is returned as an empty list, not an error.

Related MCP server: Teramind MCP Server

Request limits

Webfleet blocks an action once its limit is exceeded and keeps blocking until no request arrives for a full window; repeated overload can get a client's limits lowered or its access revoked. This server therefore:

  • throttles each action per tenant account and its API key (account + apiKey + action) to its documented limit and refuses locally (Not sent: ... Retry in Ns) instead of sending a request that would be rejected. Users of one account share its budget. A budget is never shared across accounts, even when they use the same (partner) API key, and never keyed on the account name alone. A request Webfleet rejects as authentication or access failure (401/403 or codes 1101/1105/1106/8014/45) refunds its slot, so a wrong password cannot spend another user's budget;

  • serialises requests per exact credential set, which covers the reference's per account/username rule (error 8015 otherwise), with a pending-call depth cap per identity so the queue cannot grow without limit;

  • backs off for 10 s after a request times out or is cancelled: Webfleet may still be running it and would answer the next request for that user with 8015, so the next call for the same credentials is refused locally until then;

  • caches successful responses per exact credential set and request for one limit interval (60 s for a 1/min action, 10 s for 6/min, 6 s for 10/min), so a repeated identical call is answered locally.

The state is per process and bounded (expired throttle keys and back-off holds are swept, every map is capped, and each cache entry is charged at least 1 KiB). With more than one replica, each replica keeps its own budget; run one replica per gateway cell or lower the limits.

Authentication

A connection is four values: account name, username, password, and a 36-character API key. account and apikey go on the query string, as the reference requires. Username and password are sent only as HTTP Basic Auth (Authorization: Basic base64(username:password)); they never appear in the URL, and username/password parameters are refused.

Mode

Where the connection comes from

stdio

WEBFLEET_ACCOUNT, WEBFLEET_USERNAME, WEBFLEET_PASSWORD, WEBFLEET_API_KEY

HTTP, AUTH_MODE=env

the same variables (startup refuses missing or malformed values)

HTTP, AUTH_MODE=gateway (container default)

the X-Webfleet-Account, X-Webfleet-Username, X-Webfleet-Password, and X-Webfleet-Api-Key headers on each request, only. All four are required (401 otherwise). The environment is never read, and the process stays locked to gateway mode once started.

Use a dedicated integration user with the WEBFLEET.connect access right and only the report rights it needs, never an admin. Calls run with that user's rights, which can include live vehicle positions and driver personal data.

Every upstream request sends Authorization, accept: application/json, and user-agent: webfleet-mcp/<version>, plus the common parameters lang=en, account, apikey, action, outputformat=json, useUTF8=true, and useISO8601=true.

Tool tiers

Every tool declares a read, write, or admin tier. This server ships only read tools (30). The default is WEBFLEET_TOOL_TIERS=read, so write and admin stay off unless explicitly configured. Conduit's X-Conduit-Tool-Tiers header can only narrow the set, and a present-but-empty header exposes zero tools.

Configuration

Variable

Default

Description

WEBFLEET_ACCOUNT, WEBFLEET_USERNAME, WEBFLEET_PASSWORD, WEBFLEET_API_KEY

unset

Connection for stdio and AUTH_MODE=env. Ignored in gateway mode.

WEBFLEET_TOOL_TIERS

read

Comma-separated tiers (read, write, admin). Default is read only; admin stays off unless listed.

MCP_TRANSPORT

stdio

stdio or http. The image sets http.

AUTH_MODE

env

env or gateway. The image sets gateway.

MCP_HTTP_HOST

127.0.0.1

HTTP bind address. The image sets 0.0.0.0.

MCP_HTTP_PORT

8080

HTTP port.

MCP_ALLOWED_HOSTS

unset

Optional Host header allowlist for /mcp.

CONDUIT_S2S_SECRET

unset

Required for HTTP. 32+ characters, not a placeholder (openssl rand -hex 32). Never logged.

MCP_ALLOW_INSECURE_DEV

unset

1 = local development without S2S; binds 127.0.0.1 only.

WEBFLEET_REQUEST_TIMEOUT_MS

300000

Upstream timeout (default and max 300000, the reference's recommendation). After a timeout the same credentials are held back for 10 s (Webfleet may still be running the request and would answer 8015).

WEBFLEET_MAX_RESPONSE_CHARS

60000

Tool output cap (redacted first, then measured).

WEBFLEET_MAX_UPSTREAM_BYTES

4194304 (4 MiB)

Upstream body cap, enforced while streaming (max 128 MiB).

LOG_LEVEL

info

debug, info, warn, error. Logs go to stderr and are redacted.

See .env.example.

Running

stdio

npm ci --ignore-scripts && npm run build
WEBFLEET_ACCOUNT=... WEBFLEET_USERNAME=... WEBFLEET_PASSWORD=... WEBFLEET_API_KEY=... node dist/index.js

HTTP behind the Conduit gateway

export CONDUIT_S2S_SECRET="$(openssl rand -hex 32)"
docker compose up --build

GET /health is unauthenticated liveness only and reads no credentials. POST /mcp requires a valid X-Gateway-S2S header and, in gateway mode, all four X-Webfleet-* headers. The password travels in a header, so any gateway-to-server hop that leaves the host must run over TLS.

Security

  • Fixed upstream endpoint; no base-URL or host override exists, and the built URL is checked to stay on https://csv.webfleet.com/extern.

  • A fixed allowlist of read actions; insert*, update*, delete*, send*, pop*/ack*/createQueue*, and everything else is refused, including through webfleet_raw_request.

  • Redirects are never followed; any 3xx is an error.

  • The API key must be exactly 36 visible ASCII characters; the username may not contain :; control characters are refused in every credential and argument.

  • The password, API key, and Basic Auth token are redacted from tool output, tool errors, and logs. Unexpected internal errors are reported generically.

  • HTTP fails closed without a real CONDUIT_S2S_SECRET; S2S verification is the fleet's shared s2s-verify.ts.

  • Only arguments declared in a tool's schema reach the handler.

There is no public sandbox. Testing against a live account must be read-only, with a dedicated integration user.

Development

npm ci --ignore-scripts
npm run build
npm test
npm run lint
npm run lint:destructive
npm run typecheck
npm run smoke

Tests mock fetch; nothing calls a Webfleet host. npm run smoke starts the built stdio server and checks the 30-tool read-only surface and the local refusals without any network call.

License

MIT

Available Tools

30 tools
webfleet_acceleration_eventsA
Read-onlyIdempotent

Harsh acceleration, braking, and steering events per object or driver. Read-only: WEBFLEET.connect showAccelerationEvents (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range. Requires objectno or objectuid or objectgroupname or driverno or driveruid or drivergroupname.

Inputs: day, year, month, driverno, +11 more.

webfleet_addresses_listA
Read-onlyIdempotent

List addresses and points of interest. Read-only: WEBFLEET.connect showAddressReportExtern (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: addrnr, addruid, columnfilter, filterstring, +2 more.

webfleet_address_group_addresses_listA
Read-onlyIdempotent

List which addresses belong to which address groups. Read-only: WEBFLEET.connect showAddressGroupAddressReportExtern (limit 900 requests/hour; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: columnfilter, filterstring.

webfleet_address_groups_listA
Read-onlyIdempotent

List address groups. Read-only: WEBFLEET.connect showAddressGroupReportExtern (limit 900 requests/hour; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: columnfilter, filterstring.

webfleet_contracts_listA
Read-onlyIdempotent

List telematics contract and device information per object. Read-only: WEBFLEET.connect showContracts (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: objectno, objectuid, columnfilter.

webfleet_driver_group_drivers_listA
Read-onlyIdempotent

List which drivers belong to which driver groups. Read-only: WEBFLEET.connect showDriverGroupDrivers (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: driverno, driveruid, columnfilter, drivergroupname.

webfleet_driver_groups_listA
Read-onlyIdempotent

List driver groups. Read-only: WEBFLEET.connect showDriverGroups (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: columnfilter, drivergroupname.

webfleet_driver_kpisA
Read-onlyIdempotent

KPIs (trip, eco, OptiDrive, speeding, driving events, orders) per driver. Read-only: WEBFLEET.connect getDriverKPIs (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.

Inputs: kpinames (required), day, year, level, +7 more.

webfleet_drivers_listA
Read-onlyIdempotent

List drivers (master data). Read-only: WEBFLEET.connect showDriverReportExtern (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: driverno, driveruid, columnfilter, filterstring, +1 more.

webfleet_eventsA
Read-onlyIdempotent

Event and alarm notifications. Read-only: WEBFLEET.connect showEventReportExtern (limit 1 request/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.

Inputs: day, year, month, objectno, +8 more.

webfleet_idle_exceptionsA
Read-onlyIdempotent

Idling exceptions per object or driver. The range may not exceed 1 day without an object or with an object group, or 1 month with an object, and may not start more than 90 days back. Read-only: WEBFLEET.connect showIdleExceptions (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.

Inputs: day, year, month, driverno, +9 more.

webfleet_logbookA
Read-onlyIdempotent

Logbook entries (trips with their logbook classification). The date range (max one year) applies to the trip end time. Read-only: WEBFLEET.connect showLogbook (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range unless tripid is given.

Inputs: day, year, month, tripid, +7 more.

webfleet_messages_listA
Read-onlyIdempotent

Read text, order status, and text status messages exchanged with driver terminals (max 500 per call; the range may start at most 14 days back). Does not touch the message queue. Read-only: WEBFLEET.connect showMessages (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.

Inputs: day, year, month, category, +6 more.

webfleet_nearest_vehiclesA
Read-onlyIdempotent

List vehicles near an address or coordinates, sorted by object state and distance; the 8 nearest include routed distance and travel time. Read-only: WEBFLEET.connect showNearestVehicles (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires addrno or latitude + longitude.

Inputs: addrno, latitude, priority, longitude, +3 more.

webfleet_object_featuresA
Read-onlyIdempotent

List the features (additional services) available on each object. Read-only: WEBFLEET.connect getObjectFeatures (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: feature, objectno, objectuid, columnfilter.

webfleet_object_group_objects_listA
Read-onlyIdempotent

List which objects belong to which object groups (an object can be in none, one, or several). Read-only: WEBFLEET.connect showObjectGroupObjects (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: objectno, objectuid, columnfilter, objectgroupname.

webfleet_object_groups_listA
Read-onlyIdempotent

List object groups and how many objects each contains. Read-only: WEBFLEET.connect showObjectGroups (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: columnfilter, objectgroupuid, objectgroupname.

webfleet_object_kpisA
Read-onlyIdempotent

KPIs (trip, eco, OptiDrive, speeding, driving events, orders) per object. Read-only: WEBFLEET.connect getObjectKPIs (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.

Inputs: kpinames (required), day, year, level, +7 more.

webfleet_objects_listA
Read-onlyIdempotent

List all objects (vehicles and assets) with master data and latest position. Webfleet returns the full list (no paging). Read-only: WEBFLEET.connect showObjectReportExtern (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: objectno, objectuid, columnfilter, filterstring, +2 more.

webfleet_orders_listA
Read-onlyIdempotent

List orders and their status. Read-only: WEBFLEET.connect showOrderReportExtern (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range unless orderid is given.

Inputs: day, year, month, orderid, +8 more.

webfleet_order_waypointsA
Read-onlyIdempotent

List the waypoints of one order. Read-only: WEBFLEET.connect showOrderWaypoints (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: orderid (required), columnfilter.

webfleet_raw_requestA
Read-onlyIdempotent

Call one of the read-only WEBFLEET.connect actions this server allows, with caller-supplied parameters. Prefer the dedicated webfleet_* tools. account, apikey, action, lang, outputformat, useUTF8, and useISO8601 are set by the server; username and password are only sent via HTTP Basic Auth and are rejected as parameters. Boolean params are sent as 1/0 (WEBFLEET.connect). Request limits, throttling, and caching are the same as the dedicated tools.

Inputs: action (required), params.

webfleet_speeding_eventsA
Read-onlyIdempotent

Speeding events per object or driver. Read-only: WEBFLEET.connect showSpeedingEvents (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range. Requires objectno or objectuid or objectgroupname or driverno or driveruid or drivergroupname.

Inputs: day, year, month, driverno, +9 more.

webfleet_standstillsA
Read-onlyIdempotent

Standstill periods per object. Read-only: WEBFLEET.connect showStandStills (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires range_pattern or rangefrom_string + rangeto_string (year/month/day are not accepted).

Inputs: objectno, objectuid, columnfilter, range_pattern, +2 more.

webfleet_statusA
Read-onlyIdempotent

Report this server's WEBFLEET.connect configuration: base URL, credential mode, and that usable credentials are present (an error if they are missing or invalid). Does not call Webfleet (so it uses no request quota) and never returns credential values.

Inputs: no named parameters.

webfleet_tracksA
Read-onlyIdempotent

Position history (breadcrumbs) of one vehicle. The date range may not exceed 2 days. Read-only: WEBFLEET.connect showTracks (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range. Requires objectno or objectuid.

Inputs: day, year, month, objectno, +5 more.

webfleet_tripsA
Read-onlyIdempotent

List trips. Use tripid for continuous replication (records newer than that id, at most 10000 per call) or a date range, which applies to the trip end time. A range of more than 1 month requires objectno, and the range may not exceed 1 year. Poll at most every 15 minutes. Read-only: WEBFLEET.connect showTripReportExtern (limit 1 request/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range unless tripid is given.

Inputs: day, year, month, tripid, +10 more.

webfleet_trip_summaryA
Read-onlyIdempotent

Daily accumulated trip totals for one object (date range up to one year). Read-only: WEBFLEET.connect showTripSummaryReportExtern (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range. Requires objectno or objectuid.

Inputs: day, year, month, objectno, +5 more.

webfleet_vehicles_listA
Read-onlyIdempotent

List vehicle master data (objects of type vehicle): plate, type, odometer, and similar. Read-only: WEBFLEET.connect showVehicleReportExtern (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache).

Inputs: objectno, objectuid, columnfilter, filterstring, +1 more.

webfleet_working_timesA
Read-onlyIdempotent

Driver working time intervals. The date range may cover at most 1 month. Read-only: WEBFLEET.connect showWorkingTimes (limit 6 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range. Requires driverno or driveruid.

Inputs: day, year, month, driverno, +10 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 30 tools

    Disambiguation4/5

    Most tools target clearly distinct resources or actions (objects, vehicles, drivers, trips, events, KPIs, groups, messages), and the descriptions add useful boundaries. A few overlaps remain plausible, notably webfleet_objects_list vs webfleet_vehicles_list and the various event/KPI tools, but they are mostly disambiguated by explicit entity and date-range requirements.

    Naming Consistency5/5

    All tools use a consistent webfleet_ prefix with snake_case names and predictable noun/action suffixes such as _list, _events, _kpis, and _summary. The convention is uniform across the entire set.

    Tool Count2/5

    Thirty tools is a large surface for an agent-facing server, exceeding the comfortable range even though each tool maps to a distinct Webfleet read endpoint. The presence of webfleet_raw_request also adds an overlapping fallback path, making the set heavier than necessary.

    Completeness4/5

    The surface covers a broad read-only telematics domain: objects, vehicles, drivers, addresses, orders, trips, tracks, events, KPIs, groups, messages, contracts, and configuration status. Write/lifecycle operations are absent, but the server appears intentionally read-only, and webfleet_raw_request provides a fallback for other allowed read actions.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for Cartrack fleet management, enabling listing vehicles and checking their last-known status and location.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to Teramind's employee-monitoring metadata, including computer and agent inventory, departments, alerts, anomaly rules, behavior policies, and monitoring profiles.
      16
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to read MetaTrader 4 and 5 account data, including balances, open positions, closed trades, quotes, symbol specifications, and price history, without placing, modifying, or closing orders.
      9
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to read facilities, devices, live values, history, and alarms from a Cloud Studio Gear IoT account, filtered to the user's permissions and strictly read-only.
      6
      481 npm
      MIT