PageWeave
PageWeave / Docs

MCP Reference

Markdown

list_dns_records, add_dns_record, update_dns_record, delete_dns_record

Manage records in the DNS zone of a domain you own (DNS-managed through PageWeave).

Records live in the external DNS zone โ€” they only apply to domains whose DNS PageWeave manages (see Domains).

Actions

list

List DNS records for a domain you own.

Parameters:

  • domain โ€” Domain name (exact match)
  • type โ€” Optional filter by record type (A, AAAA, ALIAS, CNAME, MX, TXT, NS, SRV)
  • host โ€” Optional filter by host/subdomain (empty string = apex)

add

Add a DNS record.

Parameters:

  • domain โ€” Domain name (exact match)
  • type โ€” Record type: A, AAAA, ALIAS, CNAME, MX, TXT, NS, SRV
  • host โ€” Host/subdomain (empty string or @ = apex)
  • record โ€” Record value (e.g. IP, hostname, TXT content)
  • ttl โ€” TTL in seconds
  • priority โ€” Priority (MX/SRV only)
  • weight โ€” Weight (SRV only)

Requires confirmation.

update

Update a DNS record by record_id. Only provided fields change.

Parameters:

  • domain โ€” Domain name (exact match)
  • record_id โ€” Record id (from list_dns_records)
  • record โ€” New record value (optional)
  • host โ€” New host/subdomain (optional)
  • ttl โ€” New TTL in seconds (optional)
  • priority โ€” New priority, MX/SRV only (optional)
  • weight โ€” New weight, SRV only (optional)

Requires confirmation.

delete

Delete a DNS record by record_id. Not reversible โ€” requires confirmation.

Parameters:

  • domain โ€” Domain name (exact match)
  • record_id โ€” Record id (from list_dns_records)

OAuth Scopes

Action Scope
list dns:read
add, update, delete dns:write