Repository navigation
v0.8.1 — wifi_network_id type fix, additional wipe params, description cleanup
Fixed
wifi_network_id schema type corrected from string to integer. SimpleMDM's POST /devices/{id}/wipe expects an unquoted integer; serializing as a quoted string risked a 422 from the server. Schema now declares { type: "integer", minimum: 1 }.
Added
clear_custom_attributesandunassign_direct_profilesparameters onwipe_device. Both are optional booleans (server default:false), already supported by SimpleMDM's endpoint but not previously exposed in the MCP surface.- Three additional unit tests covering the integer serialization of
wifi_network_idand solo-field serialization of the two new booleans.
Changed
- Tool descriptions no longer include a
⚠️warning emoji prefix. AllWRITEandWRITE DESTRUCTIVEtool descriptions still carry those literal words, and thedestructiveHint: trueannotation is unchanged, so MCP clients retain both structured and textual signals. 78 occurrences removed fromsrc/index.ts.
Verified live (2026-04-16)
- Smoke-tested the rebuilt Docker image —
tools/listreturns the fullwipe_deviceschema with all 10 properties,wifi_network_idtyped asintegerwithminimum: 1, and both new booleans present. - Live-tested against a real iPad (supervised, iPadOS 26.4.1):
wipe_device { return_to_service: true }(nowifi_network_id) —validateWipeArgsthrows before any HTTP call. Device untouched.wipe_device { preserve_data_plan: true }with a read-only API key — SimpleMDM returns403: This API Key does not have access to this resource.Confirms the full request path reaches SimpleMDM and the error propagates cleanly.
End-to-end field-name acceptance still requires a write-scoped key against a sandbox tenant.
Upgrade notes
If you used v0.8.0, upgrade to v0.8.1 before relying on return_to_service — v0.8.0 would serialize wifi_network_id as a quoted string, which SimpleMDM rejects.