MCP server for the Porkbun DNS API.
Manage DNS records, domains, DNSSEC, SSL certificates, and more via the Model Context Protocol.
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.
By default, porkbun-mcp runs in read-only mode for safety. Write operations (create, edit, delete) will return an error until explicitly enabled.
To let the pig get muddy and make changes:
Environment variable:
export PORKBUN_GET_MUDDY=trueCLI flag:
uvx porkbun-mcp --get-muddy