Porkbun MCP Server (official)
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**The official MCP server from Porkbun, built and maintained by Porkbun** (by Owen Borseth, Porkbun's CTO). It is published on npm as @porkbunllc/mcp-server and hosted by Porkbun at https://mcp.porkbun.com/mcp. Other "Porkbun MCP" projects on GitHub and in MCP directories are community wrappers around the public API; they are not made or supported by Porkbun. In the official MCP Registry it is listed as **com.porkbun/mcp**, a name the registry grants only to whoever proves control of porkbun.com; community projects appear under io.github.* names.
A Model Context Protocol server that exposes the Porkbun v3 API as native tools for AI agents — Claude Desktop, Cursor, Cline, and any other MCP-compatible client.
**Setup guide, client configs and the full tool list: porkbun.com/mcp**
**No install: use the hosted connector.** Porkbun runs this server at https://mcp.porkbun.com/mcp. Add that URL as a custom connector in ChatGPT or Claude (or claude mcp add --transport http porkbun https://mcp.porkbun.com/mcp in Claude Code), sign in to Porkbun and approve. No API key to copy. (A client that can't do OAuth can send the account's API key pair as X-API-Key + X-Secret-API-Key headers instead.) Steps per client: Connect ChatGPT or Claude. How it is deployed: deploy/README.md. The ChatGPT and Claude directory listings use a narrower variant, /mcp/no-purchases (no tool that spends money or returns a secret); it changes which tools are offered, not what a connection may do.
> **Status:** full Porkbun v3 coverage (domains, DNS, SSL, hosting, webhooks; current version on the npm badge above). Also runs **hosted** at https://mcp.porkbun.com/mcp for ChatGPT and Claude, with sign-in instead of API keys (clients that can't do OAuth can send an API key pair). Provisions **Cloud for WordPress** and mints WordPress REST API credentials so an agent can manage the site it just created. Moves domains to a customer's **own Cloudflare account** and then manages those records, the proxy and zone settings. An isolated **sandbox**: a pk1_sb_ key runs every tool against a simulated environment with fake credit — no real registry actions, DNS changes or charges — and still delivers signed webhooks. A credential-free **mock server** returns schema-accurate example responses for any endpoint.
What's included
**Read tools (free, no spend, no state changes)**
| Tool | Description |
|---|---|
| ping | Verify API connectivity and credentials |
| check_domain | Check availability and pricing for a single domain |
| get_registration_requirements | TLD registration requirements as JSON Schema — is it API-registerable, the create payload, and registry eligibility fields (.us nexus, .ca legal type, …) |
| get_pricing | Get registration/renewal/transfer pricing for all TLDs (no auth needed) |
| list_marketplace | Browse Porkbun Marketplace (names Porkbun customers list themselves); filter by TLD, max price, name substring. For every aftermarket at once, use search_aftermarket |
| search_closeouts | Search expired-domain closeouts; filter by age, price, TLD, name length; sort by registration date |
| search_aftermarket | Find taken names that are for sale (Afternic, Sedo, Atom, NameBright, DAX, Porkbun Marketplace), with price, sale type and a link to buy on porkbun.com |
| get_closeout | One closeout plus its binding total (closeout price + the renewal/transfer year) |
| buy_closeout | Buy a closeout outright. **Spends account credit** |
| list_domains | Paginate through domains; filter by tld, expiry, auto-renew, API access |
| get_domain | Get metadata for a single domain in the account |
| get_balance | Get account credit balance |
| get_auto_topup | Read auto top-up settings, whether a card is on file, and what a top-up would charge |
| top_up_with_usdc | Add credit with USDC on Base ($1-$500; Coinbase keeps ~1%, so use INSUFFICIENT_FUNDS's usdcAmountToCover): returns an x402 URL an agent's wallet pays directly, and a payment page for the user |
| get_usdc_topup_status | Whether a USDC top-up has been paid and credited |
| top_up_with_card_mpp | A payment link an agent pays with the user's card over MPP (Stripe Link agent wallet); credit lands immediately |
| send_phone_verification_code | Texts (or calls) a code to the phone on the account, to clear VERIFICATION_REQUIRED |
| confirm_phone_verification | Verifies the phone with the code the user received |
| send_email_verification_code | Emails a code to the address on the account, to clear VERIFICATION_REQUIRED |