原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Porkbun

作者:foreverworks版本 0.1.2i★ –i在你的电脑上运行
注册名称com.foreverworks/porkbun

安装

概览

作者提供的说明(英文原文)

Register domains and manage DNS, hosting and mail at Porkbun, with every purchase confirmed first.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:PORKBUN_API_KEY_FILE, PORKBUN_SECRET_API_KEY_FILE

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: PORKBUN_API_KEY_FILE, PORKBUN_SECRET_API_KEY_FILE, PORKBUN_OUTBOX_DIR, PORKBUN_TOOLSETS

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "porkbun": {
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-porkbun"
      ],
      "env": {
        "PORKBUN_API_KEY_FILE": "your-value",
        "PORKBUN_SECRET_API_KEY_FILE": "your-value",
        "PORKBUN_OUTBOX_DIR": "your-value",
        "PORKBUN_TOOLSETS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add porkbun --env PORKBUN_API_KEY_FILE=your-value --env PORKBUN_SECRET_API_KEY_FILE=your-value --env PORKBUN_OUTBOX_DIR=your-value --env PORKBUN_TOOLSETS=your-value -- npx -y @foreverworks/mcp-porkbun

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "porkbun": {
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-porkbun"
      ],
      "env": {
        "PORKBUN_API_KEY_FILE": "your-value",
        "PORKBUN_SECRET_API_KEY_FILE": "your-value",
        "PORKBUN_OUTBOX_DIR": "your-value",
        "PORKBUN_TOOLSETS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "porkbun": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-porkbun"
      ],
      "env": {
        "PORKBUN_API_KEY_FILE": "your-value",
        "PORKBUN_SECRET_API_KEY_FILE": "your-value",
        "PORKBUN_OUTBOX_DIR": "your-value",
        "PORKBUN_TOOLSETS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • PORKBUN_API_KEY_FILE 必填 env
    Path of a file holding your Porkbun API key (pk1_...).
  • PORKBUN_SECRET_API_KEY_FILE 必填 env
    Path of a file holding your Porkbun secret API key (sk1_...).
  • PORKBUN_OUTBOX_DIR env
    Where the tools that save a file (an SSL bundle, an invoice PDF, a DNS zone export, a new mailbox's password) write it. Without it those tools answer with a configuration error; every other tool work…
  • PORKBUN_TOOLSETS env
    The toolsets whose tools the server loads, separated by commas, e.g. dns,forwards. Empty loads every toolset.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 foreverworks.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4933 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4933 个服务器的 87% 更新
  • 基础检查结果等于或优于此分类中其他 4933 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Porkbun 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:PORKBUN_API_KEY_FILE, PORKBUN_SECRET_API_KEY_FILE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于5天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Porkbun MCP server

Run your Porkbun account from your AI assistant: find and register domains, edit DNS and DNSSEC, publish a static site, transfer a domain in or move its DNS to Cloudflare, set up mailboxes and webhooks, and read invoices. The tools are Porkbun's own (@porkbunllc/mcp-server), plus a zone file export, with safety around them. Every tool that spends money, commits to a charge, changes a domain's owner or hands out a secret is money: your client asks you first, and a charge over the account's monthly API limit is refused before it reaches Porkbun.

You need a Porkbun account and an API key pair (pk1_... and sk1_...), each half in a file, with API access turned on for the domains it should manage. Purchases are paid from account credit, or by your card through Stripe Link. To save a file (a certificate, an invoice PDF, a zone file, a mailbox password), the server also needs a directory to save into.

What you can ask

  • "Which of my domains expire in the next three months, and which of those have auto-renew off?"
  • "Is talonbakery.com available? If it costs less than $15 a year, register it."
  • "Back up the DNS of example.com, then point shop.example.com at 203.0.113.10."
  • "Publish the site in ./dist to example.com's static hosting."
  • "If I moved example.org to my Cloudflare account, which DNS records would be dropped?"
  • "Save last month's Porkbun invoice as a PDF."

Install

.%22%7D%2C%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22porkbun_secret_api_key_file%22%2C%22description%22%3A%22Path%20of%20a%20file%20holding%20your%20Porkbun%20secret%20API%20key%20(sk1_...).%22%7D%2C%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22porkbun_outbox_dir%22%2C%22description%22%3A%22Optional.%20Where%20the%20tools%20that%20save%20a%20file%20(an%20SSL%20bundle%2C%20an%20invoice%20PDF%2C%20a%20DNS%20zone%20export%2C%20a%20new%20mailbox's%20password)%20write%20it.%20Without%20it%20those%20tools%20answer%20with%20a%20configuration%20error%3B%20every%20other%20tool%20works.%22%7D%2C%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22porkbun_toolsets%22%2C%22description%22%3A%22Optional.%20The%20toolsets%20whose%20tools%20the%20server%20loads%2C%20separated%20by%20commas%2C%20e.g.%20dns%2Cforwards.%20Empty%20loads%20every%20toolset.%22%7D%5D&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40foreverworks%2Fmcp-porkbun%22%5D%2C%22env%22%3A%7B%22PORKBUN_API_KEY_FILE%22%3A%22%24%7Binput%3Aporkbun_api_key_file%7D%22%2C%22PORKBUN_SECRET_API_KEY_FILE%22%3A%22%24%7Binput%3Aporkbun_secret_api_key_file%7D%22%2C%22PORKBUN_OUTBOX_DIR%22%3A%22%24%7Binput%3Aporkbun_outbox_dir%7D%22%2C%22PORKBUN_TOOLSETS%22%3A%22%24%7Binput%3Aporkbun_toolsets%7D%22%7D%7D)

With Claude Code:

claude mcp add porkbun -e PORKBUN_API_KEY_FILE="<path to API key file>" -e PORKBUN_SECRET_API_KEY_FILE="<path to Secret API key file>" -- npx -y @foreverworks/mcp-porkbun

Claude Desktop (Settings, Developer, Edit Config) and most other clients read the same command as JSON:

{

"mcpServers": { "porkbun": { "command": "npx", "args": ["-y", "@foreverworks/mcp-porkbun"], "env": { "PORKBUN_API_KEY_FILE": " ", "PORKBUN_SECRET_API_KEY_FILE": " " } } } }

Each runs the published package on Node 22.19 or newer. VS Code and the Claude Desktop bundle ask for each setting as they add the server; leave an optional one empty. Cursor reads each from your environment instead (${env:PORKBUN_API_KEY_FILE} and so on), so set them before you start Cursor. The commands above set only what is required; Configuration has the rest.

From a clone
git clone https://github.com/foreverworks/mcps.git && cd mcps

npm ci && npm run build claude mcp add porkbun -e PORKBUN_API_KEY_FILE=" " -e PORKBUN_SECRET_API_KEY_FILE=" " -- node "$PWD/servers/porkbun/dist/index.js"

In a JSON configuration, the command is node and its one argument the full path of servers/porkbun/dist/index.js. To share one running copy between several clients over HTTP, see docs/deploying.md.

Configuration

VariableRequiredMeaning
PORKBUN_API_KEY_FILEyes, or PORKBUN_API_KEYFile holding the API key (pk1_...). A file that is named but missing or empty is a config failure, never a fallback.
PORKBUN_SECRET_API_KEY_FILEyes, or PORKBUN_SECRET_API_KEYFile holding the secret API key (sk1_...).
PORKBUN_API_KEY, PORKBUN_SECRET_API_KEYnoThe keys themselves, for a local stdio run (the names Porkbun's own server reads).
PORKBUN_OUTBOX_DIRfor the tools that save a fileWhere files are saved, with mode 0640 (the server's user and the directory's group). No default: unset, get_ssl_bundle, get_invoice_pdf, export_dns_zone, and create_mailbox or setup_mailbox without a password answer config; every other tool works.
PORKBUN_BASE_URL, PORKBUN_DOCS_BASEnoRead by Porkbun's package: the API base (default https://api.porkbun.com/api/json/v3) and where the documentation tools fetch from (default https://porkbun.com). Leave them unset.
PORKBUN_X402_PRIVATE_KEY, PORKBUN_X402_MAX_CENTSnoRead by Porkbun's package to pay in USDC, which this server does not offer. Never set them.
PORKBUN_TOOLSETSnoThe toolsets to load, separated by commas; unset, every one (Toolsets).

The keys are read on the first call that needs them, so the documentation tools (read_doc, search_docs, list_doc_topics), get_pricing and mock_call work without them. The keys are never logged or returned: the audit line carries no arguments or results.

A deployment that limits egress sets MCP_EGRESS_ALLOW=api.porkbun.com,porkbun.com. deploy_site and import_dns_records read files from MCP_FILE_ROOTS. Both, and the other variables every server shares, are in docs/configuration.md.

Getting the API key pair
  1. Sign in at porkbun.com and open API Access.
  2. Create a key for this server alone, so you can restrict and revoke it on its own. Porkbun shows the secret key once: copy both halves now.
  3. Optionally restrict the key (there, or later with the gear icon next to it): Allowed IPs, Allowed domains, and Permissions (Full access, Read-only, Manage, but no purchases, or custom scopes). A call outside them fails and changes nothing.
  4. Save each half in a file readable only by you (chmod 600), and point PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE at them.
  5. Turn on API access for the domains: Opt In All Domains on the same page, or each domain's API Access under Domain Management. Without it, every call on that domain fails.
Toolsets

Every tool definition the server hands your client travels with each request the client makes, and Porkbun's are long. PORKBUN_TOOLSETS names the toolsets to load, separated by commas. The tools of the others are not there at all, and the server's instructions tell the assistant which toolsets are missing, so it can tell you instead of looking for a way around. Unset, empty or all, every toolset is loaded, as before.

ToolsetWhat it loads
domainsAvailability and prices, registering and renewing, auto-renew, contacts.
dnsDNS records, restore points, scanning, importing and exporting a zone, nameservers, preflight_domain, and the free TLS certificate (get_ssl_bundle).
dnssecDS records at the registry, with preflight_domain.
glueGlue records, for nameservers named under the domain they serve.
forwardsURL forwarding and email forwarding.
hostingStatic hosting and Cloud for WordPress: plans, deploy_site, files, WordPress passwords.
mailboxesEmail hosting mailboxes: buying, setting up, renewing, passwords.
cloudflareMoving DNS to your own Cloudflare account, and the zone, records and proxy there.
transfersTransferring a domain in, with check_domain for its price and scan_dns_records and import_dns_records for its zone.
marketplaceNames other people sell: Porkbun Marketplace, the aftermarket, closeouts.
webhooksWebhook endpoints, their secrets and their deliveries.
accountTop-ups and auto top-up, verifying the account's email and phone, invoices.
docsPorkbun's API documentation, and mock_call's example answers.

ping, get_balance and get_api_settings are always loaded: ping is where you start and where a failure is diagnosed, and every purchase, in five of the toolsets, is paid from the balance and counts against the monthly API spend cap. Whatever is loaded, a purchase is still money and still checked against the caps before it is sent. A name that is not a toolset stops the server at start, with a message listing the ones there are. src/mcp/toolsets.ts places each tool by name, and a version of Porkbun's package with a tool it does not place fails the tests and will not start. Measured with scripts/measure-tokens.ts on 2026-10-23 (GPT-4 tokenizer), the tool list is 113 tools and about 44,200 tokens with every toolset, 23 tools and 8,800 with dns,forwards, and 25 tools and 12,300 with domains,account.

To load DNS and forwarding only:

{

"mcpServers": { "porkbun": { "command": "npx", "args": ["-y", "@foreverworks/mcp-porkbun"], "env": { "PORKBUN_TOOLSETS": "dns,forwards", "PORKBUN_API_KEY_FILE": "/path/to/porkbun-api-key", "PORKBUN_SECRET_API_KEY_FILE": "/path/to/porkbun-secret-api-key" } } } }

A toolset removes tools; MCP_MAX_ACCESS=read keeps every tool listed and refuses the writes.

First run

  1. Ask your assistant to run Porkbun's ping. It checks the connection and the key pair, and shows the key's scopes.
  2. Ask for the API spend settings (get_api_settings) and the balance (get_balance): what the account may still spend this month, and the credit a purchase is paid from.
  3. Purchases and top-ups need a verified email and phone. If a call answers VERIFICATION_REQUIRED, the assistant sends each code (send_email_verification_code, send_phone_verification_code) and you read it back to confirm.

Tools

read changes nothing; write changes the account, its DN

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx