Skip to main content
Glama

Witzense MCP

MCP server for the Witzense/JIMI device tracking Open API described in API DOCUMENT.pdf.

The extracted Markdown reference is API DOCUMENT.md. It preserves all 126 PDF pages as page sections and is easier to search and process programmatically. The PDF remains the original source, and image-only content is not embedded in the Markdown extraction.

Configuration

Copy .env.example to a local environment configuration and set:

  • WITZENSE_BASE_URL: defaults to http://open.10000track.com/route/rest.

  • WITZENSE_APP_KEY and WITZENSE_APP_SECRET.

  • WITZENSE_ACCOUNT and WITZENSE_PASSWORD_MD5 — the account password's existing 32-character lowercase MD5; do not provide plaintext and do not hash this value again.

  • WITZENSE_EXPIRES_IN: token lifetime request, from 60 to 7200 seconds.

  • WITZENSE_REQUEST_ENCODING: form by default, or json if the assigned node requires it.

Never commit real credentials or place them in source files.

Related MCP server: SORACOM Data Reader MCP

Run

npm install
npm run build
npm start

The server communicates over MCP stdio. Available tools include:

  • call_witzense_method

  • list_witzense_child_accounts

  • list_witzense_devices

  • get_witzense_device

  • get_witzense_device_locations

  • list_witzense_account_locations

  • get_witzense_track

  • get_witzense_mileage

  • get_witzense_shared_location_url

  • list_witzense_alarms

  • get_witzense_parking_report

  • get_witzense_trips_report

  • get_witzense_fence_duration_report

  • get_witzense_obd_data

  • get_witzense_obd_faults

  • get_witzense_rfid_reports

  • get_witzense_tag_location

  • list_witzense_geofences

  • get_witzense_geofence

  • list_witzense_device_groups

  • get_witzense_media_urls

  • get_witzense_live_url

  • get_witzense_rtmp_url

The dedicated tools are read-oriented and use the shared signed client.

For Command Cloud integrations, each Witzense device/IMEI is treated as the corresponding Command Cloud asset/vehicle. See specs/commandcloud-mapping.md.

API behavior

Requests use POST /route/rest with common parameters, an access token, and an uppercase UTF-8 MD5 signature. Tokens are acquired through jimi.oauth.token.get, refreshed through jimi.oauth.token.refresh, and cached in memory.

The PDF lists TS, TSP HK, TSP EU, and TSP US nodes. Configure the assigned node through WITZENSE_BASE_URL; do not change tool code when moving between nodes.

Tests

npm test

Server deployment

The repository workflow builds and tests pull requests, then deploys /root/WITZENSE-MCP after a push to main. Configure the GitHub Actions secret DEPLOY_SSH_KEY with the deployment key accepted by root@2.25.109.42.

Keep the Witzense API variables in the server's runtime environment or MCP host configuration. They are intentionally not part of the deployment workflow or repository.

See DEPLOYMENT.md for first-server bootstrap and smoke-test commands.

Available Tools

23 tools
call_witzense_methodA

Call a Witzense API method with configured credentials and signing. Use this for documented methods not yet exposed as dedicated tools.

Inputs: method (required), params.

get_witzense_deviceC

Get detail information for one Witzense device.

Inputs: imei (required).

get_witzense_device_locationsB

Get the latest location for one or more Witzense devices.

Inputs: imeis, map_type.

get_witzense_fence_duration_reportC

Get device fence entry and exit duration records.

Inputs: end_time (required), start_time (required), imeis, account, +2 more.

get_witzense_geofenceC

Get details for one platform geofence.

Inputs: fence_id (required).

get_witzense_live_urlC

Get a device live or historical streaming page URL.

Inputs: imei (required), type, voice.

get_witzense_media_urlsC

Get camera photo or video URLs for a device.

Inputs: imei (required), camera (required), media_type (required), token, +4 more.

get_witzense_mileageC

Get mileage trip data for one or more devices.

Inputs: end_time (required), begin_time (required), imeis, page_size, +1 more.

get_witzense_obd_dataC

Get OBD/CAN telemetry reported by devices.

Inputs: end_time (required), start_time (required), imeis, account, +2 more.

get_witzense_obd_faultsC

Get OBD fault codes reported by devices.

Inputs: end_time (required), start_time (required), imeis, account, +2 more.

get_witzense_parking_reportC

Get parking or idling records for devices.

Inputs: acc_type (required), end_time (required), start_time (required), imeis, +3 more.

get_witzense_rfid_reportsC

Get RFID reporting records for an account and time range.

Inputs: account (required), end_time (required), begin_time (required), imeis, +3 more.

get_witzense_rtmp_urlC

Get an RTMP streaming URL for a device.

Inputs: imei (required).

get_witzense_shared_location_urlB

Get a shareable map URL for a Witzense device.

Inputs: imei (required).

get_witzense_tag_locationC

Get the latest location reported by TAG devices.

Inputs: imeis.

get_witzense_trackC

Get track points for one device within the documented time range.

Inputs: imei (required), end_time (required), begin_time (required), map_type.

get_witzense_trips_reportC

Get daily or detailed trip report data.

Inputs: type (required), end_time (required), start_time (required), imeis, +3 more.

list_witzense_account_locationsA

Get the latest location for all devices under an account.

Inputs: target, map_type.

list_witzense_alarmsC

List alarms for one or more devices within the supported time range.

Inputs: imeis, page_no, end_time, page_size, +2 more.

list_witzense_child_accountsB

List sub-accounts under a Witzense account.

Inputs: target.

list_witzense_device_groupsB

List device groups belonging to an account.

Inputs: account (required).

list_witzense_devicesA

List devices belonging to a Witzense account.

Inputs: target.

list_witzense_geofencesB

List platform geofences belonging to an account.

Inputs: account (required), page_no, page_size.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools target clearly distinct resources or actions, such as devices, geofences, reports, and streaming URLs. A few location/trip-related tools (e.g., get_witzense_mileage vs get_witzense_trips_report, or get_witzense_live_url vs get_witzense_rtmp_url) could cause minor selection confusion, but the descriptions are generally sufficient.

    Naming Consistency5/5

    All tools follow a consistent snake_case convention with a clear verb prefix and the witzense domain marker, such as list_witzense_*, get_witzense_*, and call_witzense_method. This creates a predictable pattern across the entire tool set.

    Tool Count3/5

    At 23 tools, the set is on the heavy side and falls into the 16-25 range that feels bulky for an agent to navigate. The tools do cover a broad telematics domain, but the count is somewhat high rather than tightly scoped.

    Completeness4/5

    The tool surface covers a wide range of Witzense capabilities: devices, locations, tracks, reports, geofences, media, alarms, OBD, RFID, and tags. It is mostly read-oriented, but the generic call_witzense_method escape hatch mitigates gaps in dedicated write or management operations.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      Not graded
      maintenance
      Provides access to Alpha ESS solar inverter and battery system data, enabling monitoring of energy statistics, real-time power data, and configuration of battery charging and discharge schedules through the Alpha ESS Open API.
      10
      MIT
    • F
      license
      A
      quality
      F
      maintenance
      Enables interaction with InvenTree inventory management system, providing tools for parts, stock, orders, companies, barcodes, labels, reports, attachments, and system administration.
      12
      1
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables querying Cariot APIs for fleet management data, including alcohol checks, daily reports, drivers, vehicles, and realtime snapshots, with utility for generating chart configurations.
      7
      11 npm
      1
      MIT