DNS_deleteDNSRecordsV1 can't delete anything: `filters` is not exposed and DELETE params are sent as query string (API requires a JSON body) · Issue #72 · hostinger/api-mcp-server · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DNS_deleteDNSRecordsV1 can't delete anything: filters is not exposed and DELETE params are sent as query string (API requires a JSON body) #72
DNS_deleteDNSRecordsV1 always fails with HTTP 422. There is no way to tell the tool which record to delete, and even if there were, the parameter would not reach the API in the right place.
Tested with @hostinger/mcp1.63.3 (latest) and with the hosted connector at mcp.hostinger.com (same behavior).
Steps to reproduce
Have a domain with at least one record, e.g. an A record named gw.
Call DNS_deleteDNSRecordsV1 with { "domain": "example.com" } (the only parameter the schema allows).
The API answers 422. Passing an extra filters argument also fails (it is not in the schema, and it would be sent as query string anyway).
Root cause (two parts)
Schema: in src/core/tools/all.js (and dns.js), the inputSchema of DNS_deleteDNSRecordsV1 only declares domain. The request body defined by the API is not included.
Transport: in src/core/runtime.js, executeApiCall does:
Activity