Porkbun DNS MCP Server
Allows managing Porkbun DNS through the Porkbun API: list domains, list DNS records, and create, edit, or delete DNS records for domains on the account.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Porkbun DNS MCP Server
A local Model Context Protocol server for managing Porkbun DNS through any MCP-compatible AI client. Runs as a local stdio process and is never exposed to the network.
Requirements
Node.js 18+
A Porkbun account with API access enabled
Your Porkbun API key and secret key (grab them here)
Related MCP server: Namecheap MCP Server
Setup
git clone https://github.com/flntfnd/porkbun-mcp.git
cd porkbun-mcp
npm install
npm run setupThe setup script will:
Prompt for your Porkbun API key and secret key (input is masked)
Store them securely (macOS Keychain, or a permissions-restricted file on Linux/Windows)
Register the MCP server in
~/.claude.json
Restart Claude Code and run /mcp to confirm the server is listed.
Manual setup
Add this to ~/.claude.json under mcpServers:
"porkbun-dns": {
"command": "node",
"args": ["/absolute/path/to/porkbun-mcp/index.js"]
}Then either run npm run setup to store credentials, or set environment variables:
export PORKBUN_API_KEY="pk1_..."
export PORKBUN_SECRET_KEY="sk1_..."Available tools
Tool | Description |
| List all domains on the account with expiry dates |
| List all DNS records for a domain |
| Create a new DNS record |
| Edit an existing record by ID |
| Delete a record by ID |
Supported record types: A, AAAA, MX, CNAME, TXT, NS, SRV, CAA, ALIAS, TLSA
Security
On macOS, credentials are stored in the system Keychain
On Linux/Windows, credentials are stored in
~/.config/porkbun-mcp/credentials.jsonwith owner-only file permissions (600)Environment variables are checked first if you prefer that approach
Credentials are never passed as tool arguments or included in error output
The server communicates over local stdio only
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for DNSimple — domains, DNS zone records, availability, pricing and contacts.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Official Porkbun MCP server: domains, DNS, SSL, hosting and Cloudflare via the Porkbun API.
Custom domains for SaaS and AI agents: search, register, connect DNS, and issue HTTPS over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server implementation that allows AI agents to manage DNS records for domains hosted on Cloudflare by providing tools to list, create, update, and delete various types of DNS records.550 npm3GPL 3.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing DNS records and domains via the Namecheap API. Works with Claude.ai and other MCP clients.6 npmMIT
- AlicenseAqualityCmaintenanceCloudflare DNS MCP server. Manage zones, DNS records, cache, and page rules from Claude, Cursor, Codex, or any MCP-compatible AI assistant.10MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for AI agents to safely manage Cloudflare DNS, DMARC, SPF, BIMI, and Email Routing with dry-run-first and approval-based writes.10MIT