Porkbun MCP Server
@miraclebakelaser
About Porkbun MCP Server
MCP server implementation for managing domains, DNS, and SSL via the Porkbun API.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"porkbun-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}Tools
38None
Success message including the client's public IP address, or an error message.
`start` (optional number): Index to start retrieving domains from (default 0).
An array of domain objects with details like status, expiration date, etc.
`domain` (string): The domain name.
An array of DNS record objects.
`domain` (string): The domain name.
Success message with the new record ID.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
An object containing `certificatechain`, `privatekey`, and `publickey`.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
An array of name server hostnames.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
An array of URL forward record objects.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name to check.
An object detailing the domain's availability, pricing, and premium status.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
An array of matching DNS record objects.
`domain` (string): The domain name.
Success message.
`domain` (string): The domain name.
An object containing DNSSEC records, keyed by Key Tag.
`domain` (string): The domain name.
Success message.
Overview
What is Porkbun MCP Server?
A Model Context Protocol (MCP) server that provides tools to interact with the Porkbun API (v3). It allows MCP‑compatible clients, such as AI assistants and IDE extensions, to manage Porkbun domains, DNS records, SSL certificates, and more through a standardized interface.
How to use Porkbun MCP Server?
Install Node.js (v18+), clone the repository, run npm install, and configure your Porkbun API key and secret key via environment variables (PORKBUN_API_KEY, PORKBUN_SECRET_API_KEY) or a .env file. Build with npm run build, then start with npm start or node build/index.js. Optionally pass --dotenv-path for a custom .env location. For Claude Desktop, add a configuration entry pointing to build/index.js in claude_desktop_config.json.
Key features of Porkbun MCP Server
- Ping the Porkbun API to test authentication
- List all domains in the account
- Manage DNS records (create, edit, delete, retrieve)
- Retrieve SSL certificate bundles for a domain
- Update and query authoritative nameservers
- Add, list, and delete URL forwarding rules
Use cases of Porkbun MCP Server
- Automate DNS record changes across many domains
- Quickly check domain availability and pricing
- Retrieve SSL certificates programmatically
- Programmatically update nameservers for domain migration
FAQ from Porkbun MCP Server
What are the prerequisites?
Node.js v18 or later, npm, and a Porkbun API key and secret key (generate at your Porkbun account API page).
How do I provide API keys?
You can set system environment variables (PORKBUN_API_KEY, PORKBUN_SECRET_API_KEY), create a .env file in the project root, or specify a custom .env path with the --dotenv-path argument.
How do I run the server in development mode?
Use npm run dev. To pass arguments like --dotenv-path, run npm run dev -- --dotenv-path /path/to/your/.env.
What transport does the server use?
The server communicates over MCP stdio transport (standard input/output).
Is the server open source? What license?
Yes, it is licensed under the MIT License.
More Other MCP servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Awesome Mlops
visengerA curated list of references for MLOps
Servers
modelcontextprotocolModel Context Protocol Servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments