BACK TO MCP SERVERS
cloudany

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
Install
npx -y @porkbunllc/mcp-server
Stats checked 2026-11-19

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

  1. Install the server.
npx -y @porkbunllc/mcp-server
  1. Add the server to your MCP client and supply your Porkbun API key pair.
  2. Optionally skip install and use the hosted connector at https://mcp.porkbun.com/mcp, signing in to Porkbun and approving.
  3. Call ping to 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 the X-API-Key header by clients that cannot do OAuth.
  • PORKBUN_SECRET_API_KEY: the matching secret of the API key pair, sent as the X-Secret-API-Key header.

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_closeout spends account credit, register_domain, renew_domain and transfer_domain spend credit, and top_up_account_credit charges the saved card. The README says to ask the user first, in dollars.
  • Monthly limits are enforced: spendLimit on purchases and topupLimit on 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.

GitHub SourceGitHub Stars
Last verified 2026-11-19

Similar tools