Skip to content

v0.8.1 — wifi_network_id type fix, additional wipe params, description cleanup

Choose a tag to compare

@hov172 hov172 released this 16 Apr 23:16
· 384 commits to main since this release

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_attributes and unassign_direct_profiles parameters on wipe_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_id and solo-field serialization of the two new booleans.

Changed

  • Tool descriptions no longer include a ⚠️ warning emoji prefix. All WRITE and WRITE DESTRUCTIVE tool descriptions still carry those literal words, and the destructiveHint: true annotation is unchanged, so MCP clients retain both structured and textual signals. 78 occurrences removed from src/index.ts.

Verified live (2026-04-16)

  • Smoke-tested the rebuilt Docker image — tools/list returns the full wipe_device schema with all 10 properties, wifi_network_id typed as integer with minimum: 1, and both new booleans present.
  • Live-tested against a real iPad (supervised, iPadOS 26.4.1):
    • wipe_device { return_to_service: true } (no wifi_network_id) — validateWipeArgs throws before any HTTP call. Device untouched.
    • wipe_device { preserve_data_plan: true } with a read-only API key — SimpleMDM returns 403: 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.