Porkbun (official)

Porkbun (official)

Official

Porkbun's own MCP server - search, register and transfer domains, edit DNS, and publish a site, with a monthly spend cap.

Score 79(?)PorkbunMIT36Verified Top MCPs for Domains →

Quick answer

What it does

Exposes Porkbun as read tools (`check_domain`, `get_pricing`, `list_domains`, `list_dns_records`, `scan_dns_records`, `search_aftermarket`, `get_api_settings`), free writes (`create_dns_record`, `update_nameservers`, `create_dnssec_record`, URL and email forwards, glue records, webhooks), and spending writes (`register_domain`, `renew_domain`, `transfer_domain`, `buy_closeout`, `create_hosting`). Documentation tools, `mock_call` and `create_sandbox_key` work without credentials.

Best for

  • Domain availability and price checks
  • Registering or transferring a domain with a spend cap
  • DNS, DNSSEC and forwarding changes
  • Publishing a static site to Porkbun hosting

Not for

  • Portfolios spread across several registrars
  • Unattended purchases on a key without a spend limit

Source: top-mcps.com/mcp/porkbun-mcp-server — verified Nov 2026

Setup recipe

Pick your client, then follow the three steps.

  1. 1

    Install

    claude_desktop_config.json
    {
      "mcpServers": {
        "porkbun-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@porkbunllc/mcp-server"
          ],
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    Paste under mcpServers. Fully quit and reopen Claude after editing.

    CLI or .mcp.json
    # export PORKBUN_API_KEY=pk1_your_key
    # export PORKBUN_SECRET_API_KEY=sk1_your_secret
    claude mcp add porkbun-mcp-server -- npx -y @porkbunllc/mcp-server

    Run from your repo. Commit .mcp.json to share with your team.

    .cursor/mcp.json
    {
      "mcpServers": {
        "porkbun-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@porkbunllc/mcp-server"
          ],
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    Global path: ~/.cursor/mcp.json. Reload window after editing.

    .vscode/mcp.json
    {
      "servers": {
        "porkbun-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@porkbunllc/mcp-server"
          ],
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    VS Code uses the "servers" key (not "mcpServers").

    ~/.codeium/windsurf/mcp_config.json
    {
      "mcpServers": {
        "porkbun-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@porkbunllc/mcp-server"
          ],
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    Open via Cascade → hammer icon → Configure.

    cline_mcp_settings.json
    {
      "mcpServers": {
        "porkbun-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@porkbunllc/mcp-server"
          ],
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    Open via the Cline sidebar → MCP Servers → Edit.

    ~/.continue/config.json
    {
      "experimental": {
        "modelContextProtocolServers": [
          {
            "transport": {
              "type": "stdio",
              "command": "npx",
              "args": [
                "-y",
                "@porkbunllc/mcp-server"
              ],
              "env": {
                "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
                "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
              }
            }
          }
        ]
      }
    }

    Continue uses modelContextProtocolServers with a transport block.

    ~/.codex/config.toml
    # ~/.codex/config.toml
    [mcp_servers.porkbun-mcp-server]
    command = "npx"
    args = [
      "-y",
      "@porkbunllc/mcp-server",
    ]
    env = { PORKBUN_API_KEY = "${PORKBUN_API_KEY}", PORKBUN_SECRET_API_KEY = "${PORKBUN_SECRET_API_KEY}" }

    Codex uses TOML. Each server is a [mcp_servers.<name>] subtable.

    ~/.config/zed/settings.json
    {
      "context_servers": {
        "porkbun-mcp-server": {
          "command": {
            "path": "npx",
            "args": [
              "-y",
              "@porkbunllc/mcp-server"
            ]
          },
          "env": {
            "PORKBUN_API_KEY": "${PORKBUN_API_KEY}",
            "PORKBUN_SECRET_API_KEY": "${PORKBUN_SECRET_API_KEY}"
          }
        }
      }
    }

    Zed calls them "context_servers". Settings live-reload on save.

    ChatGPT → Settings → Connectors (remote URL)
    {
      "name": "Porkbun (official)",
      "transport": "http",
      "url": "https://mcp.porkbun.com/mcp"
    }

    Paste this into Settings → Connectors → Add custom connector. Requires ChatGPT Pro / Team / Enterprise / Edu with Developer mode enabled. ChatGPT supports remote HTTPS MCP servers only — stdio servers must be hosted on a public HTTPS endpoint first.

  2. 2

    Set required secrets

    Set PORKBUN_API_KEY, PORKBUN_SECRET_API_KEY in your shell environment before launching your MCP client.

  3. 3

    Try a minimum working prompt

    Minimum working prompt pending verification. Try any prompt from the MCP’s README once installed.

Tools & permissions

ToolDescriptionArgsSide effects
check_domainCheck availability and pricing for one domain.—Network
get_pricingRegistration, renewal and transfer pricing for all TLDs (no auth needed).—Network
search_aftermarketFind taken names for sale across aftermarkets, with price and a buy link.—Network
list_domainsPage through the account's domains with filters.—Read
list_dns_recordsList DNS records for a domain.—Read
scan_dns_recordsRead what a domain publishes now from its live nameservers, before a transfer.—Network
get_api_settingsThe enforced monthly spend and top-up limits and what was used this month.—Read
register_domainRegister a domain; spends account credit, or pays by USDC or card hold.—Write
transfer_domainStart an inbound transfer; returns a transfer id.—Write
update_nameserversReplace a domain's nameserver list (full replace).—Write
create_dns_recordCreate a DNS record.—Write
create_dnssec_recordSubmit a DNSSEC DS record to the registry.—Write
deploy_siteUpload static files to a domain's Porkbun hosting.—Write
create_sandbox_keyMint a throwaway sandbox key pair with fake credit; no credentials needed.—Network

Security & scope

Access scope
Read + write
Sandbox
Hosted: sign in with Porkbun and approve the connection; the hosted server holds no wallet key. Local: a Porkbun API key pair whose permissions, allowed domains and allowed IPs are set on porkbun.com. Purchases are capped by the account's monthly spend limit ($100 by default).
Gotchas
  • A full-access key can register, renew and buy closeouts up to the monthly spend limit. Give the agent a dedicated key scoped to "Manage, but no purchases" unless it should buy.
  • API access is opt-in per domain unless "Opt In All Domains" is on; a domain without it reads as not in your account.
  • Setting PORKBUN_X402_PRIVATE_KEY lets the local server sign USDC payments in one call; use a wallet that holds only what you are willing to spend.

Agent prompt pack

— copy into Claude, Cursor, or ChatGPT.
Paste into Claude, Cursor, or ChatGPT. Edit the [brackets] before sending.
Recommend the best MCP servers for [task: e.g. domains work] in [client: Claude].

Constraints:
- Prefer tools that are [official | open-source | read-only] — pick what matters for my use case.
- Exclude MCPs that require [e.g. a paid plan, OAuth-only flows, remote-only transport].
- Return at most 3 picks, ranked.

For each pick include:
1. One-sentence rationale.
2. The ready-to-paste install snippet for my client.
3. Any required secrets I need to create before installing.

Cross-check the top-mcps.com listing: https://top-mcps.com/top-mcps-for-domains
Compare Porkbun (official) against a real alternative. Swap the second MCP in [brackets] if you want a different match.
Compare Porkbun (official) MCP vs [Porkbun (community) MCP] for the following job: [describe the job, e.g. "let an agent create GitHub issues on bug triage"].

Judge them on:
- Setup time and complexity (what a new user hits first).
- Auth model (none / API key / OAuth 2.1) and credential risk.
- Transport (stdio / Streamable HTTP / SSE) and where the server runs.
- Required secrets and the blast radius if they leak.
- Operational risk in an unattended agent loop.
- Which one is "good enough" for a weekend prototype vs. production.

End with one sentence: which should I pick for my scenario, which is: [my scenario].

References:
- https://top-mcps.com/mcp/porkbun-mcp-server
- top-mcps.com listing for Porkbun (community)
Asks the agent to install and verify. Works inside Claude Code, Cursor Agent, Codex CLI.
Install the Porkbun (official) MCP server for my [client: Claude] at the default config path for that client.

Use the exact install snippet published at https://top-mcps.com/mcp/porkbun-mcp-server (fetch https://top-mcps.com/mcp/porkbun-mcp-server.json for the canonical server.json if you can read URLs).

Before finishing:
1. Create the required secrets (PORKBUN_API_KEY, PORKBUN_SECRET_API_KEY) and put them in the appropriate env block — do not hard-code them.
2. Restart or reload the client so it picks up the new server.
3. Verify the server is connected (green / running state) and at least one tool is listed.
4. If anything fails, read the client's MCP logs and report the exact error — do not silently retry.

Confirm when done and list the tools the server now exposes.

Frequently asked questions

What changed

— 1 update tracked.
  1. Added alongside the community Porkbun server: Porkbun's official server, @porkbunllc/mcp-server and https://mcp.porkbun.com/mcp, documented at porkbun.com/mcp.

More Domains MCPs

Other tools in the same category worth evaluating.

Cloudflare
Official

Reach the whole Cloudflare API from an agent — DNS records, Workers, R2, and the Registrar beta — through one hosted Code Mode server.

cloudflare, edge, workers, dns
5 minMedium
Name.com
Official

Register, transfer and manage Name.com domains and DNS from an agent — the official server, sandboxed by default.

name-com, domains, registrar, dns
5 minLow
Porkbun (community)

At-cost registration and full DNS control from an agent — read-only until you explicitly turn writes on.

porkbun, domains, registrar, dns
5 minLow

Compared with Porkbun (official)

Side-by-side breakdowns for the choices people most often weigh against this MCP.

Exploring Top MCPs for Domains? See all Domains MCPs →