GPX MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GPX MCP Server list my devices and their latest positions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GPX MCP server
Connect Claude, Cursor or any MCP client to your GPX account. The server runs on your machine and calls the GPX Public API v1 with your API token, so your assistant can look up devices and their positions, shipments, geofences, users, groups and the events feed.
It is read-only unless you turn writes on.
What you need
Node.js 20.10 or newer (
node --version).A GPX API token (
gpx_live_…). An account admin can create one in the GPX app under Settings › API Access. If your account has no API Access page, ask GPX support to turn on API access.
Related MCP server: garmin-mcp
Setup
Claude Desktop
Open Settings › Developer › Edit Config and add:
{
"mcpServers": {
"gpx": {
"command": "npx",
"args": ["-y", "@gpxco/mcp"],
"env": { "GPX_API_TOKEN": "gpx_live_..." }
}
}
}Restart Claude Desktop. The GPX tools appear under the tools menu in a new chat.
Claude Code
claude mcp add gpx --env GPX_API_TOKEN=gpx_live_... -- npx -y @gpxco/mcpCursor
Add the same mcpServers block as for Claude Desktop to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).
Configuration
Variable | Required | What it does |
| yes | Your API token. Sent as |
| no | Set to |
| no | Defaults to |
Every value in env must be a quoted string, "1" and not 1. Claude Code skips a server whose config has a number there ("expected string, received number"). To turn writes on:
"env": { "GPX_API_TOKEN": "gpx_live_...", "GPX_MCP_ALLOW_WRITES": "1" }In Claude Code: claude mcp add gpx --env GPX_API_TOKEN=gpx_live_... --env GPX_MCP_ALLOW_WRITES=1 -- npx -y @gpxco/mcp.
About writes. An API token can do anything in your account; there are no read-only tokens yet. GPX_MCP_ALLOW_WRITES is the only thing that keeps the assistant from changing data, so leave it off unless you need it, and review what the assistant proposes before you approve a write tool.
Tools
There is one tool per API endpoint, generated from the published API reference: 22 read tools and 30 write tools. Tool names, descriptions and inputs come straight from that reference, so the server always matches the API version it was built for.
List endpoints take page and per_page, so the assistant can page through large accounts instead of pulling everything at once.
Errors
API errors come back to the assistant as plain sentences rather than crashes:
A wrong, expired or deleted token is reported as such.
A missing id, or one that belongs to another account, is "not found".
After 120 requests in a minute the API rate-limits the token, and the assistant is told how long to wait.
Development
npm install
npm test
npm run build
GPX_API_TOKEN=... GPX_API_BASE_URL=https://api.staging.gpx.co npx @modelcontextprotocol/inspector node dist/index.jsThe tools are generated, never written by hand:
openapi/public-api-v1.yamlis a snapshot of the published spec.npm run spec:updaterefreshes it.npm run generateturns it intosrc/generated/operations.json. CI fails if that file is stale.npm run spec:checkcompares the snapshot with the live spec. It runs weekly in CI.
To improve a tool's name, description or inputs, fix the API reference in gpx-engine, then refresh the snapshot here. Don't patch the generated file.
See RELEASING.md for publishing to npm.
License
MIT
Available Tools
22 toolsget_accountShow the authenticated accountARead-onlyIdempotent
Show the authenticated account
Returns the account the presented token belongs to, so it also serves as a credential check.
Inputs: no named parameters.
get_container_typeShow a container typeCRead-onlyIdempotent
Show a container type
Returns one container type.
Inputs: containerTypeId (required).
get_deviceShow a deviceARead-onlyIdempotent
Show a device
Returns one device with its status, sharing link and container type. include=last_position adds
where it is now, and include=telemetry its battery, speed and whether it is moving. The device's page
in the GPX app is https://app.gpx.co/trackers/{id}.
Inputs: deviceId (required), include.
get_geofenceShow a geofenceARead-onlyIdempotent
Show a geofence
Returns one geofence with its geometry, place type, ownership type and alerting settings. The geofence's page in the GPX app is https://app.gpx.co/geofences/{id}.
Inputs: geofenceId (required).
get_groupShow a groupARead-onlyIdempotent
Show a group
Returns one device group. Its devices are listed with list_group_members. The group's page in the GPX
app is https://app.gpx.co/groups/{id}.
Inputs: groupId (required).
get_place_typeShow a place typeCRead-onlyIdempotent
Show a place type
Returns one place type, standard or custom.
Inputs: placeTypeSlug (required).
get_shipmentShow a shipmentARead-onlyIdempotent
Show a shipment
Returns one shipment with its status, devices and stops. The shipment's page in the GPX app is https://app.gpx.co/shipments/{id}.
Inputs: shipmentId (required).
get_shipment_routeShow a route segmentCRead-onlyIdempotent
Show a route segment
Returns one route segment of a shipment.
Inputs: routeId (required), shipmentId (required).
get_userShow a userBRead-onlyIdempotent
Show a user
Returns one teammate with their role and their direct device and group grants.
Inputs: userId (required).
list_container_typesList container typesARead-onlyIdempotent
List container types
Lists the account's container types, the labels for the returnable containers its devices travel in. Only on accounts with returnable containers; elsewhere every container type call is a 404.
Inputs: page, sort, per_page.
list_device_eventsList a device's eventsARead-onlyIdempotent
List a device's events
Returns one device's events (geofence enters and exits, alarms, shipment events) within a time
window: the list_events feed, scoped to one device.
Inputs: deviceId (required), page, sort, per_page, +5 more.
list_device_positionsList a device's positionsARead-onlyIdempotent
List a device's positions
Returns the positions a device recorded within a time window, 24 hours by default. Use it for where
a device has been; for where it is now, use get_device with include=last_position.
Inputs: deviceId (required), page, sort, per_page, +2 more.
list_devicesList devicesARead-onlyIdempotent
List devices
Lists the account's tracking devices, filterable by name, serial, status and model. Use it to find a
device id; include=last_position adds where each device is now. Each device's page in the GPX app is
https://app.gpx.co/trackers/{id}.
Inputs: name, page, sort, model, +4 more.
list_eventsList account eventsARead-onlyIdempotent
List account events
Returns the account's event feed across every device (geofence enters and exits, alarms, shipment
events) within a time window, 24 hours by default. Filter by device, geofence, shipment or event
type; a geofence's enter and exit history is this feed filtered by geofence_id.
Inputs: page, sort, per_page, device_id, +5 more.
list_geofencesList geofencesARead-onlyIdempotent
List geofences
Lists the account's geofences, the named places devices enter and leave. Filterable by place type and ownership type, each multi-value. Each geofence's page in the GPX app is https://app.gpx.co/geofences/{id}.
Inputs: page, sort, search, per_page, +2 more.
list_group_membersList a group's membersBRead-onlyIdempotent
List a group's members
Phase 1 groups are device-only, so every member carries type "device".
Inputs: groupId (required), page, per_page.
list_groupsList groupsBRead-onlyIdempotent
List groups
Lists the account's device groups. A group's devices are listed with list_group_members. Each group's
page in the GPX app is https://app.gpx.co/groups/{id}.
Inputs: page, sort, per_page.
list_place_typesList place typesARead-onlyIdempotent
List place types
The standard types first, then the account's custom types, each group by name.
Inputs: page, per_page.
list_shipment_routesList route segments for a shipmentBRead-onlyIdempotent
List route segments for a shipment
Returns a shipment's route segments: the leg between two of its stops, the corridor width around it and the routes it may take.
Inputs: shipmentId (required).
list_shipmentsList shipmentsBRead-onlyIdempotent
List shipments
Lists the account's shipments, filterable by status, carrier, origin or destination geofence, and
pickup or delivery dates. Use search to find one by name. Each shipment's page in the GPX app is
https://app.gpx.co/shipments/{id}.
Inputs: page, sort, search, status, +8 more.
list_shipment_stopsList stops for a shipmentARead-onlyIdempotent
List stops for a shipment
Returns a shipment's itinerary in order. stop_type marks each stop as the origin, the destination
or a stop in between.
Inputs: shipmentId (required).
list_usersList usersBRead-onlyIdempotent
List users
Every row carries the account-scoped permission structure. permissions.device_ids and permissions.group_ids are the explicit direct grants only, not the resolved fleet the user can see.
Inputs: page, sort, per_page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool targets a distinct resource+action pair, and near-neighbors are explicitly disambiguated (list_device_events is described as list_events scoped to one device; list_device_positions vs get_device with include=last_position). The only real overlaps are these deliberate convenience duplicates, so an agent still has clear guidance.
Uniform verb_noun snake_case throughout: get_X, list_X, and list_X_Y for sub-resources (list_shipment_stops, list_group_members). Plural for lists and singular for single-resource gets, applied without exception across all 22 tools.
22 tools is on the heavy side, but the domain genuinely spans many resources (shipments, devices, events, geofences, groups, users, container/place types), each with a typical list+get pair. A couple of tools (list_device_events vs list_events) are mildly redundant but none feel arbitrary.
The read surface is thorough and cross-linked, but the entire set is read-only — there is no create/update/delete for shipments, devices, geofences, groups, or users, so write workflows are a hard dead end. Read coverage compensates somewhat, but lifecycle coverage is notably incomplete.
Maintenance
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
One MCP URL for every API and MCP server you use, your own APIs included.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Connect AI clients to your Dactic work context through a hosted MCP service.
Related MCP Servers
- AlicenseAqualityCmaintenanceConnects MCP clients to Garmin Connect data, enabling queries about activities, sleep, heart rate, body battery, and training status.162MIT
- AlicenseNot gradedqualityBmaintenanceEnables OAuth-authenticated access to Garmin account data through MCP, with a read-only web dashboard for monitoring account connections and activity.MIT
- FlicenseNot gradedqualityAmaintenanceConnects Interactive Brokers' official Web API to MCP clients, enabling account access and brokerage operations over HTTPS without needing TWS or IB Gateway.-
- AlicenseAqualityBmaintenanceEnables MCP clients to search and describe API routes, retrieve people, admissions, academics, and billing records, download exports, and optionally make changes against a school information system, read-only by default.671 npmMIT