Skip to content
MCP server

Porkbun (official)

Register domains and manage DNS, SSL and hosting from an assistant, by Porkbun

Install
Pricing
Open source
Platforms
API, CLI, Web
Runs
Locally or Remotely
Access
Needs an account or API key
Version
0.65.8
Listing updated
3 days ago

About Porkbun (official)

Porkbun (official) is an open-source MCP server for cloud and infrastructure. It can run locally on your machine or as a hosted remote server.

Built and hosted by the registrar itself, the server exposes the Porkbun v3 API as tools, and the page says each carries a read-only or destructive hint so a client can tell a lookup from something that spends money. The site's example chain: check_domain, register_domain, create_dns_record, update_auto_renew.

Beyond domains it covers Cloudflare moves to your own account, signed webhooks, static or managed WordPress hosting, Link in Bio pages, and an experimental Agent Naming service. Purchases can use account credit, USDC over x402 or a Stripe Link card held until success. The page mentions dry runs and spend limits, and the ChatGPT and Claude directories use a narrower /mcp/no-purchases variant.

Connect hosted at mcp.porkbun.com/mcp with OAuth, or run npx @porkbunllc/mcp-server with an API key pair (documentation tools work without one). The page notes other Porkbun MCP projects are community-made.

Install

Run in a terminal

claude mcp add --transport http mcp https://mcp.porkbun.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.porkbun.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.porkbun.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.porkbun.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.porkbun.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.porkbun.com/mcp"
    }
  }
}

Configuration

  • PORKBUN_API_KEYPorkbun API key (pk1_...). Optional: the documentation tools work without it.
  • PORKBUN_SECRET_API_KEYPorkbun secret API key (sk1_...).

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

check_domain
Checks availability and price.
register_domain
Registers a domain.
create_dns_record
Creates a DNS record.
update_auto_renew
Turns auto-renew on or off.
request_api_key
Requests an API key you approve in the browser with chosen permissions.

What it does

Domain purchases
Checks availability and registers domains.
DNS and DNSSEC
Full control of records.
Spend controls
Dry runs and spend limits.
Hosting
Static and WordPress hosting.
Cloudflare moves
Moves zones to your Cloudflare account.

Good for

  • Register a domain under a price cap
  • Point a domain at a server
  • Edit WordPress content without a password
  • Set up webhooks for renewals

Pricing

Open source

MIT licensed; domain purchases are charged by Porkbun

Prices change. Check porkbun.com before you buy.

Porkbun (official) FAQ

Is it official?

Yes. Porkbun builds, hosts and maintains it.

Do I need an API key?

Not for the hosted connector; sign in with OAuth.

What licence?

MIT.

Can it spend money?

Yes; a no-purchases variant exists.

Is Porkbun (official) free?

Yes. Porkbun (official) is open source, so you can use and self-host it for free.

How do I add Porkbun (official) to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.porkbun.com/mcp

What are the best alternatives to Porkbun (official)?

The closest alternatives to Porkbun (official) are Agent Yurt, Proofline, filex, MagicWP MCP and Kubana Cloud Domains.

Alternatives to Porkbun (official)

  1. Agent Yurt

    MCP server

    Back up agent memory, files and dashboards, then recover from a reviewed snapshot

    Not checked yet
    • Remote
    • Free
    • Knowledge and memory
  2. Proofline

    MCP server

    Production-aware review of changes against your AWS or Google Cloud setup, via MCP

    • Remote
    • Freemium
    • Developer tools
  3. filex

    MCP server

    Self-hosted file manager in one Go binary with a built-in MCP server for agents

    Not checked yet
    • Remote
    • Open source
    • Files and documents
  4. MagicWP MCP

    MCP server

    Run WordPress hosting from an assistant: backups, staging, updates, PHP and domains

    • Remote
    • Free trial
    • Cloud and infrastructure
  5. Search, register and renew domains and set nameservers at Kubana Cloud from an assistant

    Not checked yet
    • 3 tools
    • Remote
    • Paid
    • Cloud and infrastructure
  6. Create DNS zones, edit records and check nameserver delegation on Kubana Cloud

    Not checked yet
    • 5 tools
    • Remote
    • Free
    • Cloud and infrastructure