- ADD
- EDIT
- REMOVE
- MANUAL
Short answer
Can I manage Porkbun DNS records with my AI?
Yes. You can add, change, or remove A, MX, and TXT records by giving instructions to your agent. This setup lets you bypass the Porkbun dashboard entirely. Here is how it works.
The outcomes
What your AI handles
Your agent takes care of the technical record management.
ADD
New records added
The AI uses create_dns_record to insert new entries. You get your new A, MX, or TXT records live without manual entry.
EDIT
Records updated
The AI uses edit_dns_record to change existing values. This lets you point domains to new IPs or mail servers instantly.
REMOVE
Records deleted
The AI uses delete_dns_record to wipe out old or incorrect entries. You keep your DNS zone clean and accurate.
MANUAL
Human control
You stay in charge of the logic. The AI only executes the specific changes you authorize in chat.
The workflow
What your AI does when the request arrives.
Your agent translates your plain English into Porkbun API actions.
Fetch current records
The AI pulls your existing domain data to understand the current state of your DNS settings.
retrieve_dns_recordsCreate new entries
When you need a new record, the AI submits the specific type and value you requested.
create_dns_recordModify existing entries
The AI finds the record you want to change and applies the new configuration.
edit_dns_recordRemove old entries
The AI clears out the specific records you no longer need.
delete_dns_record
Try it
Copy these to start.
Use these prompts to interact with Porkbun.
Starting points
Swap out the domain names and record values for your own.
Porkbun Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_V2vgFNoGGDdybaSQMBwRpoEWa8c7ltqLS89OlXcF/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Porkbun capabilities are ready to use.
{
"mcpServers": {
"porkbun-mcp": {
"url": "https://edge.vinkius.com/vk_preview_V2vgFNoGGDdybaSQMBwRpoEWa8c7ltqLS89OlXcF/mcp"
}
}
}Show me all the DNS records for my domain example.com.
Add a new TXT record to example.com with the value 'v=spf1 include:_spf.google.com ~all'.
Change the A record for sub.example.com to point to 192.0.2.1.
Delete the MX record for mydomain.net.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Porkbun once, then ask.
Connect your account with one click. Your credentials stay encrypted on our side, and you can start managing records immediately.
Connect Porkbun to your AIFAQ
How this task behaves
- 01
Can the AI change my domain's expiration date?
No. The AI only manages DNS records. It cannot change domain registration, ownership, or renewal settings.
- 02
Will the AI delete my entire DNS zone?
No. The AI can only delete specific records that you explicitly tell it to remove.
- 03
Can I see my records before I change them?
Yes. You can ask your agent to list all current records for a domain before you make any edits.
- 04
Does this work with Cursor or VS Code?
Yes. This MCP works with any compatible client, including Cursor, VS Code, and Windsurf.
- 05
Do I need to log in to Porkbun every time?
No. Once you connect the MCP, your agent handles the communication through the secure connection.
More questions about Porkbun? The Connector page answers them. See everything the Porkbun Connector can do
Connect Porkbun to Claude, Cursor, ChatGPT & more
