## Porkbun integration

Porkbun is a domain registrar that also provides DNS, URL forwarding, and email hosting for the domains it manages.

Agen.co connects to Porkbun through Porkbun's own hosted MCP server as an **Official** connector. Each user signs in with their own Porkbun account and approves access. There is no OAuth client ID or secret to create, and nothing to register on the Porkbun side.

Prerequisites
- A Porkbun account for each person whose agents will use the connector.
- API access turned on for every domain the agents should manage, either per domain under **Domain Management** → **Details**, or for all domains from the Porkbun **API Access** page. The consent screen also offers a checkbox that opts all domains in. Domains without API access stay invisible to the connector.
- Prepaid account credit, if agents should register or renew domains. Porkbun's monthly API spending limit caps purchases and top-ups.


### Connect Porkbun in Agen.co

1. In the Agen.co portal, go to **Connectors** → **My connectors** and click **Add connector**.
2. In the **Select connector** drawer, search for `Porkbun` and select it. The **Add Porkbun** panel opens.
3. Fill in the field:


| Field | Required | Description |
|  --- | --- | --- |
| **Instance Slug** | Yes | Namespaces this instance — it prefixes each imported tool as `slug__tool`, so several instances of the same MCP can coexist. Prefilled with `porkbun`. Use lowercase kebab-case. You can change it later from the connector's settings. |


1. Click **Connect**. Porkbun opens in a new tab, and the panel shows **Waiting for authorization — complete it in the opened tab…**
2. Sign in to Porkbun and choose the access level for this connection: **Full access**, **Manage, but no purchases**, or **Read-only**. You can change it later in the connection's API key settings. Then approve access.
3. Back in Agen.co, the panel switches to **Select the tools to import from Porkbun.** Every tool is toggled on; turn off any you don't want to import, then click **Add**.


The connector is created and its tools imported only when you click **Add**. If you close the panel before that, nothing is saved, even if the Porkbun tab reported success.

### What it covers

Every call runs as the signed-in user, within the access level chosen on the consent screen:

| Area | What it covers |
|  --- | --- |
| **Domains** | Checking availability and price, listing and reading domains, registering, renewing, and changing auto-renew |
| **DNS** | Listing and editing DNS records and glue records, with a read-only preflight check before changes |
| **Forwarding and email** | URL forwards, and email hosting mailboxes |
| **Account credit** | Reading the balance and auto top-up settings, and topping up credit from the saved card |


Purchases spend real money
With **Full access**, agents can register and renew domains, create mailboxes, and top up account credit, which charges the saved payment method. Choose **Manage, but no purchases** or **Read-only** on the consent screen, or turn off those tools on the import screen, unless agents should spend. Write the policy for this connector with the purchase tools in mind.

Enabling the Porkbun connector isn't enough on its own. Tool calls remain denied until you create a [policy](/agen-for-work/policies/overview) that grants access to the specific tools you want to expose.

### Additional resources

- [Porkbun MCP server](https://porkbun.com/mcp)
- [Connect ChatGPT or Claude to Porkbun](https://porkbun.com/llms/guides/connect-chatgpt-or-claude)