Porkbun MCP
v0.3.4MCP server for Porkbun domains and DNS.
Values you need
| Variable | What it is | |
|---|---|---|
PORKBUN_API_KEY | required secret | Porkbun API Key |
PORKBUN_SECRET_KEY | required secret | Porkbun Secret API Key |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add porkbun-mcp -e 'PORKBUN_API_KEY=<PORKBUN_API_KEY>' -e 'PORKBUN_SECRET_KEY=<PORKBUN_SECRET_KEY>' -- npx -y porkbun-mcp@0.3.4Add to
claude_desktop_config.json{
"mcpServers": {
"porkbun-mcp": {
"args": [
"-y",
"porkbun-mcp@0.3.4"
],
"command": "npx",
"env": {
"PORKBUN_API_KEY": "<PORKBUN_API_KEY>",
"PORKBUN_SECRET_KEY": "<PORKBUN_SECRET_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"porkbun-mcp": {
"args": [
"-y",
"porkbun-mcp@0.3.4"
],
"command": "npx",
"env": {
"PORKBUN_API_KEY": "<PORKBUN_API_KEY>",
"PORKBUN_SECRET_KEY": "<PORKBUN_SECRET_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PORKBUN_API_KEY",
"id": "porkbun-api-key",
"password": true,
"type": "promptString"
},
{
"description": "PORKBUN_SECRET_KEY",
"id": "porkbun-secret-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"porkbun-mcp": {
"args": [
"-y",
"porkbun-mcp@0.3.4"
],
"command": "npx",
"env": {
"PORKBUN_API_KEY": "${input:porkbun-api-key}",
"PORKBUN_SECRET_KEY": "${input:porkbun-secret-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.porkbun-mcp]
command = "npx"
args = ["-y", "porkbun-mcp@0.3.4"]
env = { "PORKBUN_API_KEY" = "<PORKBUN_API_KEY>", "PORKBUN_SECRET_KEY" = "<PORKBUN_SECRET_KEY>" }For AI agents
- Ask the user for: PORKBUN_API_KEY, PORKBUN_SECRET_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ping, pricing_get, domains_list, domains_get_nameservers, domains_update_nameservers, domains_get_url_forwards, domains_add_url_forward, domains_delete_url_forward, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json