Porkbun (official)
Official Porkbun MCP server: domains, DNS, SSL, hosting and Cloudflare via the Porkbun API.
At a glance
Not tested yet- GitHub stars
- 36
- Weekly downloads
- 5,612
- Last commit
- 2026-11-18
- Licence
- MIT
- Transport
- stdio
- Auth
- api-key
npx -y @porkbunllc/mcp-server
What it does
Porkbun (official) is the official Model Context Protocol server from Porkbun, built and maintained by Porkbun. It exposes the Porkbun v3 API as native tools for AI agents in MCP-compatible clients such as Claude Desktop, Cursor and Cline. It covers domains, DNS, SSL, hosting and webhooks, and it can also run hosted at https://mcp.porkbun.com/mcp with sign-in instead of API keys. It is for people who want an agent to look up, register and manage domains and their DNS settings.
Tools it gives your agent
ping: verify API connectivity and credentials.check_domain: check availability and pricing for a single domain.get_pricing: get registration, renewal and transfer pricing for all TLDs, no auth needed.list_domains: paginate through domains, filter by tld, expiry, auto-renew and API access.register_domain: register a new domain, paying from credit, in USDC or by card with a hold.list_dns_records: list DNS records for a domain.create_dns_record: create a new DNS record (A, AAAA, CNAME, MX, TXT, etc.).
Quick start
- Install the server.
npx -y @porkbunllc/mcp-server
- Add the server to your MCP client and supply your Porkbun API key pair.
- Optionally skip install and use the hosted connector at
https://mcp.porkbun.com/mcp, signing in to Porkbun and approving. - Call
pingto verify connectivity and credentials.
Add this to .mcp.json in your project root (Claude Code) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"porkbun-mcp": {
"command": "npx",
"args": [
"-y",
"@porkbunllc/mcp-server"
],
"env": {
"PORKBUN_API_KEY": "YOUR_PORKBUN_API_KEY",
"PORKBUN_SECRET_API_KEY": "YOUR_PORKBUN_SECRET_API_KEY"
}
}
}
}Replace each YOUR_ value with your own, and delete the variables you do not use.
Environment variables
PORKBUN_API_KEY: part of the account's API key pair, sent as theX-API-Keyheader by clients that cannot do OAuth.PORKBUN_SECRET_API_KEY: the matching secret of the API key pair, sent as theX-Secret-API-Keyheader.
Example prompts
- Check whether example.com is available and what it costs to register.
- List my domains that expire soon and turn off auto-renew on the ones I pick.
- Show the DNS records for my domain and add an A record pointing to my server.
- What are the current renewal prices for all TLDs?
What to watch out for
- Live operations need a Porkbun account and an API key pair, or a sign-in for the hosted connector.
- Some tools spend money:
buy_closeoutspends account credit,register_domain,renew_domainandtransfer_domainspend credit, andtop_up_account_creditcharges the saved card. The README says to ask the user first, in dollars. - Monthly limits are enforced:
spendLimiton purchases andtopupLimiton credit added, $100 each by default. - Inbound transfers take 5-7 days, and a transfer carries no zone data.
- The ChatGPT and Claude directory listings use a narrower variant,
/mcp/no-purchases, with no tool that spends money or returns a secret. - Other "Porkbun MCP" projects are community wrappers and are not made or supported by Porkbun.
Not tested by tools4agents yet. Read the source repository before you install it.
Similar tools
AWS
A family of servers from AWS covering documentation lookup, cost analysis, infrastructure as code, and service specific tooling.
Cloudflare
Manage Workers, KV, R2, D1, and DNS from an agent, and read Cloudflare docs without switching to the dashboard.
BPMN Kit
Create, validate, simulate and deploy Camunda 8 BPMN processes, forms and DMN from an agent.
WireCat Zoom
Zoom cloud recordings and transcripts for agents, kept on your computer. Sign in with zm first.