Network
Decode hex captures from cellular IoT devices: CoAP headers/options (block-wise, Observe), LwM2M TLV object trees with registry names, SMS-DELIVER UDH port addressing unwrapping CoAP-over-SMS, link-format registrations and DTLS record summaries.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer' \
-H 'Content-Type: application/json' \
-d '{"packets":"label=registration 4202716daabbb272641200283c65703d6e622d696f742d3031066c743d333030ff3c2f332f303e2c3c2f342f303e\nlabel=device-read 60451234c22d16ffc800144f70656e204d6f62696c6520416c6c69616e6365c801164c69676874776569676874204d324d20436c69656e74c80209333435303030313233c303312e30c10964\nlabel=sms-nas 40082143658781000462900110325483120605041633163342010001aabb6051330130\nlabel=dtls 17fefd00010000000000050030abababababababababababababababababababababababababababababababababababababababababababababababab","decodeMode":"auto","showBytes":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer| Name | Type | Required | Description |
|---|---|---|---|
| packets | textarea | Yes | — |
| decodeMode | select | No | — |
| showBytes | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer": {
"name": "nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer",
"description": "Decode hex captures from cellular IoT devices: CoAP headers/options (block-wise, Observe), LwM2M TLV object trees with registry names, SMS-DELIVER UDH port addressing unwrapping CoAP-over-SMS, link-format registrations and DTLS record summaries.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer",
"arguments": {
"packets": "label=registration 4202716daabbb272641200283c65703d6e622d696f742d3031066c743d333030ff3c2f332f303e2c3c2f342f303e\nlabel=device-read 60451234c22d16ffc800144f70656e204d6f62696c6520416c6c69616e6365c801164c69676874776569676874204d324d20436c69656e74c80209333435303030313233c303312e30c10964\nlabel=sms-nas 40082143658781000462900110325483120605041633163342010001aabb6051330130\nlabel=dtls 17fefd00010000000000050030abababababababababababababababababababababababababababababababababababababababababababababababab",
"decodeMode": "auto",
"showBytes": false
}
}
}Questions or issues? Contact [email protected]