major avatar

Porkbun DNS 🐷

major/porkbun-mcp

Connects Claude to Porkbun's DNS API for managing domains, DNS records, DNSSEC, and SSL certificates. Ships in read-only mode by default and requires an explicit flag to enable write operations, which is a sensible safety measure when working with production DNS. Beyond basic CRUD on records, you get URL forwarding, glue records, domain availability checks, and pricing lookups. Includes five pre-built prompts for common workflows like email DNS setup and server IP migrations. Reach for this when you need Claude to audit your DNS configuration, update records during deployments, or walk through setting up a new domain without leaving your editor.

GitHub stars
14
tools
22
auth
Required
transport
STDIO
env vars
3
last updated
Apr 10, 2026

Tools

22 tools

Public tool metadata for what this MCP can expose to an agent.

dns_listList all DNS records for a domain

List all DNS records for a domain

No parameter schema in public metadata yet.

dns_getGet a specific DNS record by ID

Get a specific DNS record by ID

No parameter schema in public metadata yet.

dns_get_by_name_typeGet DNS records by subdomain and type

Get DNS records by subdomain and type

No parameter schema in public metadata yet.

dns_createCreate a new DNS record

Create a new DNS record

No parameter schema in public metadata yet.

dns_editEdit a DNS record by ID

Edit a DNS record by ID

No parameter schema in public metadata yet.

dns_edit_by_name_typeEdit DNS records by subdomain and type

Edit DNS records by subdomain and type

No parameter schema in public metadata yet.

dns_deleteDelete a DNS record by ID

Delete a DNS record by ID

No parameter schema in public metadata yet.

dns_delete_by_name_typeDelete DNS records by subdomain and type

Delete DNS records by subdomain and type

No parameter schema in public metadata yet.

domains_listList all domains in your account

List all domains in your account

No parameter schema in public metadata yet.

domains_get_nameserversGet nameservers for a domain

Get nameservers for a domain

No parameter schema in public metadata yet.

domains_update_nameserversUpdate nameservers for a domain

Update nameservers for a domain

No parameter schema in public metadata yet.

domains_get_url_forwardsGet URL forwarding rules

Get URL forwarding rules

No parameter schema in public metadata yet.

domains_add_url_forwardAdd a URL forwarding rule

Add a URL forwarding rule

No parameter schema in public metadata yet.

domains_delete_url_forwardDelete a URL forwarding rule

Delete a URL forwarding rule

No parameter schema in public metadata yet.

domains_check_availabilityCheck domain availability and pricing

Check domain availability and pricing

No parameter schema in public metadata yet.

domains_get_glue_recordsGet glue records for a domain

Get glue records for a domain

No parameter schema in public metadata yet.

dnssec_listList DNSSEC records for a domain

List DNSSEC records for a domain

No parameter schema in public metadata yet.

dnssec_createCreate a DNSSEC record

Create a DNSSEC record

No parameter schema in public metadata yet.

dnssec_deleteDelete a DNSSEC record

Delete a DNSSEC record

No parameter schema in public metadata yet.

ssl_retrieveRetrieve the SSL certificate bundle for a domain

Retrieve the SSL certificate bundle for a domain

No parameter schema in public metadata yet.

pricing_getGet pricing for all available TLDs

Get pricing for all available TLDs

No parameter schema in public metadata yet.

pingTest API connectivity and get your public IP

Test API connectivity and get your public IP

No parameter schema in public metadata yet.

Sponsors

Configuration

PORKBUN_API_KEY*

Porkbun API key

PORKBUN_SECRET_KEY*

Porkbun secret key

PORKBUN_GET_MUDDY

Enable write operations (default: false for read-only mode)

Readme

porkbun-mcp

MCP server for the Porkbun DNS API.

Manage DNS records, domains, DNSSEC, SSL certificates, and more via the Model Context Protocol.

CI codecov PyPI version Python 3.13+ License: MIT

Configuration

Set your Porkbun API credentials as environment variables:

export PORKBUN_API_KEY="pk1_..."
export PORKBUN_SECRET_KEY="sk1_..."

Get your API keys from the Porkbun API Access page.

Read-Only Mode (Default)

By default, porkbun-mcp runs in read-only mode for safety. Write operations (create, edit, delete) will return an error until explicitly enabled.


View the full README on GitHub

Details

Repository
github.com/major/porkbun-mcp
Package
porkbun-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from major