Skip to main content

Porkbun from the command line

Domains, DNS, SSL and hosting on Porkbun. GBrain Tools gives Porkbun, and every other application you connect, a command line for one price.

Get Tools, $19 a month

One price for one person: Porkbun and 102 more applications, from a terminal or any AI. Cancel any time.

Install the CLI, then connect Porkbun

Porkbun is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# Install the CLI
curl -sSL https://gbrainio.terminalwire.sh | bash

# Set the terminal up and connect it
gbrainio terminal connect

# What Porkbun is, and each of its commands once it is connected
gbrainio tool help porkbun

The installer is a shell script for macOS and Linux. Read it before you run it.

What GBrain can do with Porkbun

Porkbun is a domain registrar with DNS, SSL and hosting attached. Connected to a workspace, GBrain can answer “what does this domain’s DNS look like?”, add a record for a new service, or check what a name would cost before the team buys it.

Registering a domain or topping up credit charges the Porkbun account, so leave those tools at Read until the team wants them.

  • Check a domain's availability and price, then register or renew it
  • Read, add, update and delete DNS records
  • Set nameservers, forwarding and auto-renew
  • Fetch SSL certificate bundles
  • Deploy static or WordPress hosting

What a terminal may do with Porkbun, and what GBrain keeps

Off or On, for each terminal

Each terminal reaches Porkbun at the level set for it in the browser: Off, or On, which is every command Porkbun's server lists. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of Porkbun's commands stops at 1,000 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on Porkbun is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool porkbun reads it back.

From a terminal, Claude Code or Codex

Porkbun's own server lists its commands only to a terminal that has connected it, so they are not on this page. Once Porkbun is connected, gbrainio tool help porkbun says what each of them does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

From Porkbun

GBrain reaches Porkbun at its own server, mcp.porkbun.com. On Porkbun's own pages: its website, how the connection works, its terms of service and its privacy policy.

The GBrain Tools command line works with 102 more applications, each with a page like this one.

Every application's command line

Porkbun from a terminal, with GBrain Tools

Tools is $19 a month for one person. Get Tools, connect Porkbun in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.