
Porkbun DNS 🐷
io.github.major由 GitHub 帳號 major 發布v1.1.2更新於 Oct 24, 2026
Manage DNS records, domains, DNSSEC, SSL certificates via MCP
發布方自己的服務:Porkbun (official)
概覽
讓助理讀取,並在啟用後修改 Porkbun 的 DNS 記錄、網域、DNSSEC 與 SSL 憑證。
- 可以做什麼
- 包裝 Porkbun DNS API,讓助理可以列出、查詢、建立、編輯與刪除 DNS 記錄,也支援依子網域與類型查詢。還能列出網域、讀取與更新名稱伺服器、管理 URL 轉送規則、查詢網域可用性與價格,並處理 DNSSEC 記錄與取得 SSL 憑證。內建提示詞涵蓋常見流程,例如初始 DNS 設定、DNS 稽核、郵件 DNS、伺服器 IP 遷移與子網域建立。
- 適用情境
- 適合在 Porkbun 管理網域、希望助理不必登入網頁控制台就能查看或修改 DNS、名稱伺服器、轉送、DNSSEC 或憑證的情境。適用於日常記錄修改、遷移與稽核;若 DNS 託管在其他服務商則幫助不大。
- 執行需求
- 以本機 Python 套件(pypi porkbun-mcp)執行,通常透過 uvx 啟動,並在桌面 MCP 用戶端中設定。需要 Porkbun API 金鑰與私密金鑰,透過環境變數 PORKBUN_API_KEY 與 PORKBUN_SECRET_KEY 提供,並需要連線至 Porkbun API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Porkbun DNS 🐷,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
porkbun-mcp
MCP server for the Porkbun DNS API.
Manage DNS records, domains, DNSSEC, SSL certificates, and more via the Model Context Protocol.
[CI] [codecov] [PyPI version] [Python 3.13+] [License: MIT]
Configuration
Set your Porkbun API credentials as environment variables:
Get your API keys from the Porkbun API Access page.
Read-Only Mode (Default)
By default, porkbun-mcp runs in read-only mode for safety. Write operations (create, edit, delete) will return an error until explicitly enabled.
Enabling Write Operations
To let the pig get muddy and make changes:
Environment variable:
CLI flag:
Usage
Run directly with uvx (no installation required):
SSE transport
MCP Client Configuration
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Note: Remove
--get-muddyfrom args for read-only mode (recommended for safety).
Claude Code / Codex
Add to ~/.claude/settings.json:
VS Code
Add to .vscode/mcp.json in your workspace (or use MCP: Add Server command):
OpenCode
Add to your opencode.json configuration:
Available Tools
DNS
dns_list- List all DNS records for a domaindns_get- Get a specific DNS record by IDdns_get_by_name_type- Get DNS records by subdomain and typedns_create- Create a new DNS recorddns_edit- Edit a DNS record by IDdns_edit_by_name_type- Edit DNS records by subdomain and typedns_delete- Delete a DNS record by IDdns_delete_by_name_type- Delete DNS records by subdomain and type
Domains
domains_list- List all domains in your accountdomains_get_nameservers- Get nameservers for a domaindomains_update_nameservers- Update nameservers for a domaindomains_get_url_forwards- Get URL forwarding rulesdomains_add_url_forward- Add a URL forwarding ruledomains_delete_url_forward- Delete a URL forwarding ruledomains_check_availability- Check domain availability and pricingdomains_get_glue_records- Get glue records for a domain
DNSSEC
dnssec_list- List DNSSEC records for a domaindnssec_create- Create a DNSSEC recorddnssec_delete- Delete a DNSSEC record
SSL
ssl_retrieve- Retrieve the SSL certificate bundle for a domain
Pricing
pricing_get- Get pricing for all available TLDs
Utility
ping- Test API connectivity and get your public IP
Prompts
Pre-defined workflows to guide common DNS operations:
dns_setup- Set up basic DNS for a new server (root A + www records)dns_audit- Audit DNS configuration for issues (duplicates, missing email records, low TTLs)email_dns_setup- Configure email DNS (MX, SPF, DKIM, DMARC)update_server_ip- Update DNS records when migrating to a new server IPsubdomain_setup- Create A/CNAME records for a new subdomain
Development
License
MIT
來源:README.md,提交 8ff5e1d
工具
0版本歷史
1- v1.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Porkbun 整合
Porkbun (official)
com.porkbun官方發布者
Porkbun 官方 MCP 伺服器,讓助理管理網域、DNS、SSL、主機與 Cloudflare,可託管或在本機執行。
Porkbun
com.foreverworks
在Porkbun註冊網域並管理DNS、主機和郵件,每筆購買均需先確認。AI 翻譯

Porkbun MCP
由 GitHub 帳號 korobkov-v 發布
本機 MCP 伺服器,讓助理檢視 Porkbun 網域、DNS 記錄、DNSSEC、SSL 憑證包與 URL 轉址,並在寫入模式下進行管理。