Porkbun MCP
Lets your AI agent manage Porkbun domains, DNS, SSL, hosting and email through the Porkbun API.
0 stars on GitHubby PorkbunUpdated β
How to install
This MCP has two ways to run: local or remote.
Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.
Paste in the terminal:
claude mcp add porkbun -- npx -y @porkbunllc/mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
PORKBUN_API_KEY | Porkbun API key (pk1_...). Optional: the documentation tools work without it. | No |
PORKBUN_SECRET_API_KEY | Porkbun secret API key (sk1_...). | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Check if mydomain.com is available and how much it costs.
Add an A record for www pointing to 203.0.113.10.
What it is
This is the official MCP server from Porkbun. It exposes the Porkbun v3 API as tools, so your agent can check and register domains, manage DNS records, forwards, mailboxes and SSL, and work with hosting. Some tools spend account credit, so approve those with care.
What it can do
check_domain: check availability and pricinglist_domainsandget_domain: see your domainslist_dns_records,create_dns_record,update_dns_record,delete_dns_record: manage DNSregister_domainandrenew_domain: register and renew (these spend credit)create_email_forwardandsetup_mailbox: email forwarding and mailboxesget_ssl_bundle: get the free SSL bundleget_balance: check account creditsearch_docsandread_doc: read Porkbun API docs
When to use
- βΊWhen you want to check whether a domain name is available and what it costs
- βΊWhen you want to add or change DNS records without opening the dashboard
- βΊWhen you want to set up email forwarding for a domain
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
performing-ssl-certificate-lifecycle-managementHelps your agent manage the entire SSL/TLS certificate lifecycle. It automatically generates, issues, installs, monitors, renews, and revokes certificates.domain-intelLets your agent do passive research on a domain, including subdomains, SSL certificates, WHOIS records and DNS, with no API keys.mailtrap-setting-up-sending-domainHelps your agent set up and verify email sending domains. It also helps troubleshoot DNS issues and set up important records to ensure your emails reach their destination.Frequently asked questions
Who makes it?
Porkbun, and the readme says it is the official server, built and maintained by Porkbun.
Can it spend my money?
Some tools do, such as register_domain, renew_domain and buy_closeout. The default limits are $100 per month each for purchases and credit added.
Is there a safe way to test?
Yes. A sandbox key (starting pk1_sb_) runs every tool against a simulated environment with fake credit.
Do I need to install it?
No. Use the hosted connector at https://mcp.porkbun.com/mcp, or the npm package @porkbunllc/mcp-server.
How do I sign in?
The hosted server uses OAuth sign-in. Clients that cannot do OAuth can send an API key pair in headers.
Is there a no-purchases version?
Yes. The directory listings use /mcp/no-purchases, which leaves out tools that spend money or return a secret.
If it does not work
- βΊSign in to Porkbun and approve when your client asks.
- βΊIf a call returns VERIFICATION_REQUIRED, use the phone or email verification tools to confirm your account.
- βΊIf you see INSUFFICIENT_FUNDS, add credit to your account before buying.
5 new skills a week. 1 minute to read.