Manage DNS records, domains, DNSSEC, SSL certificates via MCP
Porkbun MCP Server
Published by foreverworksRegister domains and manage DNS, hosting and mail at Porkbun, with every purchase confirmed first.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.5
- SOURCE CHECKED
- Dec 3, 2026
Quick answers
How do I add Porkbun MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'PORKBUN_API_KEY_FILE=<your-porkbun-api-key-file>' --env 'PORKBUN_SECRET_API_KEY_FILE=<your-porkbun-secret-api-key-file>' --transport stdio porkbun -- npx -y @foreverworks/mcp-porkbunReplace the <your-…> placeholder with your own PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"porkbun": {
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-porkbun"
],
"env": {
"PORKBUN_API_KEY_FILE": "<your-porkbun-api-key-file>",
"PORKBUN_SECRET_API_KEY_FILE": "<your-porkbun-secret-api-key-file>"
}
}
}
}Replace the <your-…> placeholder with your own PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE.
CodexCommand
Run this in your terminal:
codex mcp add porkbun --env 'PORKBUN_API_KEY_FILE=<your-porkbun-api-key-file>' --env 'PORKBUN_SECRET_API_KEY_FILE=<your-porkbun-secret-api-key-file>' -- npx -y @foreverworks/mcp-porkbunReplace the <your-…> placeholder with your own PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"porkbun": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-porkbun"
],
"env": {
"PORKBUN_API_KEY_FILE": "<your-porkbun-api-key-file>",
"PORKBUN_SECRET_API_KEY_FILE": "<your-porkbun-secret-api-key-file>"
}
}
}
}Replace the <your-…> placeholder with your own PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"porkbun": {
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-porkbun"
],
"env": {
"PORKBUN_API_KEY_FILE": "<your-porkbun-api-key-file>",
"PORKBUN_SECRET_API_KEY_FILE": "<your-porkbun-secret-api-key-file>"
}
}
}
}Replace the <your-…> placeholder with your own PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Porkbun MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Porkbun MCP Server need an API key?
To run it on your computer, set PORKBUN_API_KEY_FILE and PORKBUN_SECRET_API_KEY_FILE first, with values from the publisher.
Is Porkbun MCP Server official?
It's published by foreverworks. The Official MCP Registry accepts names under com.foreverworks only from someone who proved they control foreverworks.com. We last checked its listing on Dec 3, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @foreverworks/mcp-porkbun@0.1.5