MCP.so
ログイン

Porkbun MCP Server

@miraclebakelaser

Porkbun MCP Server について

MCP server implementation for managing domains, DNS, and SSL via the Porkbun API.

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

miraclebakelaser

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "porkbun-mcp-server": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

ツール

38

None

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.

概要

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.

コメント

「その他」の他のコンテンツ