Porkbun MCP by usefulapi

v1.2.1
io.usefulapi/porkbun Checked 1 day ago Published 11 hours ago

Read domains, DNS records and nameservers; create, edit and delete DNS records in Porkbun.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

porkbun_list_domains List domains

List the domains in the Porkbun account, up to 1000 per call. Filter by exact domain, name substring, or expiry window. Use start to page. Porkbun API: POST /domain/listAll.

ParameterTypeDescription
domainstringExact domain name match (0 or 1 result).
expiringWithinDaysintegerOnly domains expiring within this many days.
includeLabelsbooleanInclude label metadata for each domain.
nameContainsstringCase-insensitive substring of the domain name.
startintegerZero-based offset for paging (default 0).

porkbun_get_domain Get domain

Get one domain in the account: status, expiry date, auto-renew and security flags. Porkbun API: GET /domain/get/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_get_nameservers Get nameservers

Get the nameservers a domain delegates to at the registry. Porkbun API: GET /domain/getNs/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_get_glue_records Get glue records

List the glue (host) records of a domain at the registry. Porkbun API: GET /domain/getGlue/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_get_url_forwards List URL forwards

List the URL forwards (301, 302 and masked) set on a domain. Porkbun API: GET /domain/getUrlForwarding/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_check_domain Check domain availability

Check whether a domain name is available to register, with the registration price. This does not buy anything. Porkbun limits sustained bulk checks. Porkbun API: POST /domain/checkDomain/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_get_pricing Get TLD pricing

Get Porkbun's public registration, renewal and transfer prices per TLD. Porkbun API: POST /pricing/get.

porkbun_get_account_balance Get account balance

Get the account credit balance. Read only: this does not add or spend credit. Porkbun API: GET /account/balance.

porkbun_list_dns_records List DNS records

List all DNS records of a domain hosted at Porkbun, with their ids. Porkbun API: GET /dns/retrieve/{domain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.

porkbun_get_dns_records_by_name_type Get DNS records by name and type

List the DNS records of one type at one subdomain (empty subdomain = apex). Porkbun API: GET /dns/retrieveByNameType/{domain}/{type}/{subdomain}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.
type *stringDNS record type.
subdomainstringSubdomain prefix such as www, or empty for the apex. Do not include the domain name.

porkbun_create_dns_record Create DNS record

Create a DNS record on a domain hosted at Porkbun. This changes live DNS; caching resolvers may serve the old answer until their TTL expires. Porkbun API: POST /dns/create/{domain}.

ParameterTypeDescription
content *stringThe record value, for example an IP address or a hostname.
domain *stringThe domain name, for example example.com.
type *stringDNS record type.
namestringSubdomain prefix such as www, or empty for the apex. Do not include the domain name.
notesstringFree-text note stored with the record.
priointegerPriority for MX and SRV records.
ttlintegerTTL in seconds. Omit or 0 to use the account minimum (typically 600).

porkbun_edit_dns_record Edit DNS record

Edit a DNS record by id. Only the fields you pass change. This changes live DNS; caching resolvers may serve the old answer until their TTL expires. Porkbun API: POST /dns/edit/{domain}/{id}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.
id *stringThe DNS record id.
contentstringNew record value.
namestringSubdomain prefix such as www, or empty for the apex. Do not include the domain name.
notesstringNew note. An empty string clears the note.
priointegerNew priority for MX and SRV records.
ttlintegerNew TTL in seconds. 0 uses the account minimum.
typestringDNS record type.

porkbun_delete_dns_record Delete DNS record

Delete a DNS record by id. Porkbun removes it; caching resolvers may keep serving it until their TTL expires. Use porkbun_list_dns_records to find the id first. Porkbun API: POST /dns/delete/{domain}/{id}.

ParameterTypeDescription
domain *stringThe domain name, for example example.com.
id *stringThe DNS record id.