Skip to content
VS Code

Porkbun for VS Code

com.foreverworks/porkbun

Register domains and manage DNS, hosting and mail at Porkbun, with every purchase confirmed first.

client:VS Code transport:stdio runtime:npm

Install Porkbun in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "porkbun-api-key-file",
      "description": "PORKBUN_API_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "porkbun-secret-api-key-file",
      "description": "PORKBUN_SECRET_API_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "porkbun-outbox-dir",
      "description": "PORKBUN_OUTBOX_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "porkbun-toolsets",
      "description": "PORKBUN_TOOLSETS",
      "password": true
    }
  ],
  "servers": {
    "porkbun": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-porkbun"
      ],
      "env": {
        "PORKBUN_API_KEY_FILE": "${input:porkbun-api-key-file}",
        "PORKBUN_SECRET_API_KEY_FILE": "${input:porkbun-secret-api-key-file}",
        "PORKBUN_OUTBOX_DIR": "${input:porkbun-outbox-dir}",
        "PORKBUN_TOOLSETS": "${input:porkbun-toolsets}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Porkbun in other clients