Porkbun MCP Server

Porkbun MCP Server

porkbun-mcp-server•bymiraclebakelaser

An MCP server offering tools to manage Porkbun domains, DNS records, SSL certificates, nameservers, URL forwarding, and DNSSEC through the Porkbun API.

License: MIT License•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Lists domains in the Porkbun account with details such as status and expiration date.
  • •Retrieves, creates, edits, and deletes DNS records for a specified domain.
  • •Retrieves the SSL certificate bundle for a domain, including certificate chain, private key, and public key.
  • •Gets and updates authoritative nameservers and manages URL forwarding records.

BEST FOR

  • •Managing Porkbun DNS records from MCP-compatible AI assistants or IDE extensions.
  • •Checking domain availability, pricing, and premium status.
  • •Configuring DNSSEC records for a domain at the registry.

ABOUT PORKBUN-MCP-SERVER

Porkbun MCP Server is cataloged as an MCP server attributed to miraclebakelaser. An MCP server offering tools to manage Porkbun domains, DNS records, SSL certificates, nameservers, URL forwarding, and DNSSEC through the Porkbun API. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Porkbun MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transport does the server use?

The server communicates using the MCP stdio transport.

How are Porkbun API credentials provided?

Credentials can be supplied through system environment variables, a custom .env file via --dotenv-path, or a default .env file in the project root.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c8c69d0982d7 · 采集于 2026-11-13 10:06:22 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Porkbun MCP Server

MCP

A Model Context Protocol (MCP) server that provides tools to interact with the Porkbun API (v3).

This server allows MCP-compatible clients (like AI assistants, IDE extensions, etc.) to manage Porkbun domains, DNS records, SSL certificates, and more, through a standardized interface.

Tools

  1. ping_porkbun

    • Tests the Porkbun API connection and authentication.
    • Inputs: None
    • Returns: Success message including the client's public IP address, or an error message.
  2. list_domains

    • Retrieves a list of domains in the Porkbun account.
    • Inputs:
      • start (optional number): Index to start retrieving domains from (default 0).
      • includeLabels (optional enum: "yes"): Include domain labels.
    • Returns: An array of domain objects with details like status, expiration date, etc.
  3. get_dns_records

    • Retrieves all DNS records for a specified domain.
    • Inputs:
      • domain (string): The domain name.
    • Returns: An array of DNS record objects.
  4. create_dns_record

    • Adds a new DNS record to a specified domain.
    • Inputs:
      • domain (string): The domain name.
      • name (optional string): Subdomain (leave blank for root, * for wildcard).
      • type (string): Record type (A, CNAME, MX, TXT, NS, AAAA, SRV, TLSA, CAA, HTTPS, SVCB).
      • content (string): Record content/answer.
      • ttl (optional number): Time To Live in seconds (default 600, min 600).
      • prio (optional number): Priority (required for MX/SRV records).
    • Returns: Success message with the new record ID.
  5. edit_dns_record

    • Modifies an existing DNS record using its ID.
    • Inputs:
      • domain (string): The domain name.
      • record_id (string): The ID of the record to edit.
      • name (optional string): New subdomain.
      • type (string): New record type (A, CNAME, MX, etc.).
      • content (string): New record content/answer.
      • ttl (optional number): New TTL in seconds (default 600, min 600).
      • prio (optional number): New Priority (for MX/SRV records).
    • Returns: Success message.
  6. delete_dns_record

    • Removes a specific DNS record using its ID.
    • Inputs:
      • domain (string): The domain name.
      • record_id (string): The ID of the record to delete.
    • Returns: Success message.
  7. get_ssl_bundle

    • Retrieves the SSL certificate bundle for a specified domain.
    • Inputs:
      • domain (string): The domain name.
    • Returns: An object containing certificatechain, privatekey, and publickey.
  8. update_nameservers

    • Updates the nameservers for a specified domain.
    • Inputs:
      • domain (string): The domain name.
      • ns (array of strings): An array of name server hostnames.
    • Returns: Success message.
  9. get_nameservers

    • Gets the authoritative nameservers for a specified domain from the registry.
    • Inputs:
      • domain (string): The domain name.
    • Returns: An array of name server hostnames.
  10. add_url_forward

    • Adds URL forwarding for a domain or subdomain.
    • Inputs:
      • domain (string): The domain name.
      • subdomain (optional string): Subdomain to forward (leave blank for root).
      • location (string): URL to forward to.
      • type (enum: "temporary", "permanent"): Type of forward.
      • includePath (optional enum: "yes", "no"): Include URI path in redirection (default "no").
      • wildcard (optional enum: "yes", "no"): Also forward all subdomains (default "no").
    • Returns: Success message.
  11. get_url_forwarding

    • Gets URL forwarding records for a domain.
    • Inputs:
      • domain (string): The domain name.
    • Returns: An array of URL forward record objects.
  12. delete_url_forward

    • Deletes a URL forward record for a domain by its ID.
    • Inputs:
      • domain (string): The domain name.
      • forward_id (string): The ID of the URL forward record to delete.
    • Returns: Success message.
  13. check_domain

    • Checks the availability of a domain name.
    • Inputs:
      • domain (string): The domain name to check.
    • Returns: An object detailing the domain's availability, pricing, and premium status.
  14. edit_dns_record_by_name_type

    • Edits all DNS records matching a domain, subdomain (optional), and type.
    • Inputs:
      • domain (string): The domain name.
      • type (string): The type of records to edit.
      • name (optional string): The subdomain to edit (leave blank for root, * for wildcard).
      • content (string): The new answer content for the matching records.
      • ttl (optional number): The new TTL (default 600, min 600).
      • prio (optional number): The new priority (for MX/SRV records).
    • Returns: Success message.
  15. delete_dns_record_by_name_type

    • Deletes all DNS records matching a domain, subdomain (optional), and type.
    • Inputs:
      • domain (string): The domain name.
      • type (string): The type of records to delete.
      • name (optional string): The subdomain to delete (leave blank for root, * for wildcard).
    • Returns: Success message.
  16. retrieve_dns_record_by_name_type

    • Retrieves all DNS records matching a domain, subdomain (optional), and type.
    • Inputs:
      • domain (string): The domain name.
      • type (string): The type of records to retrieve.
      • name (optional string): The subdomain to retrieve (leave blank for root, * for wildcard).
    • Returns: An array of matching DNS record objects.
  17. create_dnssec_record

    • Creates a DNSSEC record at the registry for the domain.
    • Inputs:
      • domain (string): The domain name.
      • keyTag (string): Key Tag.
      • alg (string): DS Data Algorithm.
      • digestType (string): Digest Type.
      • digest (string): Digest.
      • maxSigLife (optional string): Max Sig Life.
      • keyDataFlags (optional string): Key Data Flags.
      • keyDataProtocol (optional string): Key Data Protocol.
      • keyDataAlgo (optional string): Key Data Algorithm.
      • keyDataPubKey (optional string): Key Data Public Key.
    • Returns: Success message.
  18. get_dnssec_records

    • Gets the DNSSEC records associated with the domain at the registry.
    • Inputs:
      • domain (string): The domain name.
    • Returns: An object containing DNSSEC records, keyed by Key Tag.
  19. delete_dnssec_record

    • Deletes a DNSSEC record associated with the domain at the registry by Key Tag.
    • Inputs:
      • domain (string): The domain name.
      • keyTag (string): The Key Tag of the DNSSEC record to delete.
    • Returns: Success message.

Prerequisites

  • Node.js (v18 or later recommended)
  • npm (usually included with Node.js)
  • Porkbun API Key and Secret Key (generate here)

Setup

  1. Clone the repository:

    git clone https://github.com/miraclebakelaser/porkbun-mcp-server.git
    cd porkbun-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Configure API Keys: You can provide your Porkbun API Key and Secret Key in multiple ways (highest precedence first):

    • System Environment Variables: Set PORKBUN_API_KEY and PORKBUN_SECRET_API_KEY in your system environment.
    • Custom .env File: Create a .env file at a custom location and specify its path using the --dotenv-path (or -p) command-line argument when running the server (see Running the Server section).
    • Default .env File: Create a file named .env in the project root directory (porkbun-mcp-server/.env) with the following content:
      PORKBUN_API_KEY=YOUR_API_KEY
      PORKBUN_SECRET_API_KEY=YOUR_SECRET_API_KEY
      

    Replace YOUR_API_KEY and YOUR_SECRET_API_KEY with your actual keys. Important: Add .env files to your .gitignore if you plan to commit this project to version control.

Building

Compile the TypeScript code to JavaScript:

npm run build

This will create the executable JavaScript file in the build/ directory.

Running the Server

You can run the compiled server directly using Node.js.

Standard Start: Uses the default .env location or system environment variables.

npm start
# or directly:
node build/index.js

Start with Custom .env Path: Use the --dotenv-path or -p argument to specify the location of your .env file:

node build/index.js --dotenv-path /path/to/your/.env
# or shorthand:
node build/index.js -p /path/to/your/.env

Development Mode: The dev script watches for changes and rebuilds/restarts automatically. To pass arguments like --dotenv-path to the underlying node command when using npm run dev, you typically need to use --:

# Development with default .env
npm run dev

# Development with custom .env path
npm run dev -- --dotenv-path /path/to/your/.env
# or
npm run dev -- -p /path/to/your/.env

The server communicates using the MCP stdio transport (standard input/output).

Usage with Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json (Create the file if it doesn't exist).

Important: Replace the placeholder paths below with the correct absolute paths on your specific system.

Make sure to use the absolute path to the build/index.js file in this project. You can also pass the --dotenv-path argument here if needed:

{
  "mcpServers": {
    "porkbun": {
      "command": "node",
      "args": [
        "/absolute/path/to/your/porkbun-mcp-server/build/index.js",
        // Optional: Add custom .env path if needed
        // "--dotenv-path",
        // "/absolute/path/to/your/.env"
      ]
      // Optional: If keys aren't in the environment where Claude runs the server
      // (and not using .env or --dotenv-path), you can add them here:
      // "env": {
      //   "PORKBUN_API_KEY": "YOUR_API_KEY",
      //   "PORKBUN_SECRET_API_KEY": "YOUR_SECRET_API_KEY"
      // }
    }
    // Add other servers here if needed
  }
}

Remember to replace /absolute/path/to/your/porkbun-mcp-server/build/index.js (and the optional .env path if used) with the correct absolute paths on your system. Save the configuration file and restart Claude Desktop.

The Porkbun tools should now be available within Claude.

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Porkbun MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/porkbun-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps