GoDaddy API
Setup
CODEBLOCK0
Keys:
Shell scripts
- -
scripts/gd-domains.sh — list/get/availability, validate purchase, purchase, renew, transfer, update, update contacts, delete, privacy on/off, domain agreements get/accept - INLINECODE1 — get all/type/name, patch add, replace all/type/type+name, delete type+name
- INLINECODE2 — create/validate/get/actions/download/renew/reissue/revoke/verify domain control
- INLINECODE3 — get/update/delete shopper
- INLINECODE4 — list/get/cancel subscription
- INLINECODE5 — list legal agreements
- INLINECODE6 — list countries
- INLINECODE7 — list/get aftermarket listings
Destructive/financial actions prompt for confirmation.
MCP server
Path: INLINECODE8
CODEBLOCK1
Exposes MCP tools for all skill operations (domains, DNS, certs, shoppers, subscriptions, agreements, countries, aftermarket).
Example MCP config:
CODEBLOCK2
References
- -
references/endpoints.md — complete endpoint map - INLINECODE10 — auth/env setup
- INLINECODE11 — payload examples
- INLINECODE12 — troubleshooting
- INLINECODE13 — safe operation patterns
GoDaddy API
设置
bash
export GODADDYAPIBASE_URL=https://api.godaddy.com # 或 https://api.ote-godaddy.com
export GODADDYAPIKEY=your-key
export GODADDYAPISECRET=your-secret
密钥:
Shell 脚本
- - scripts/gd-domains.sh — 列出/获取/可用性、验证购买、购买、续费、转移、更新、更新联系人、删除、隐私开启/关闭、域名协议获取/接受
- scripts/gd-dns.sh — 获取全部/类型/名称、补丁添加、替换全部/类型/类型+名称、删除类型+名称
- scripts/gd-certs.sh — 创建/验证/获取/操作/下载/续费/重新签发/吊销/验证域名控制
- scripts/gd-shoppers.sh — 获取/更新/删除购物者
- scripts/gd-subscriptions.sh — 列出/获取/取消订阅
- scripts/gd-agreements.sh — 列出法律协议
- scripts/gd-countries.sh — 列出国家
- scripts/gd-aftermarket.sh — 列出/获取售后市场列表
破坏性/财务操作会提示确认。
MCP 服务器
路径:scripts/mcp-server/
bash
cd scripts/mcp-server
npm install
npm run build
node dist/index.js
为所有技能操作(域名、DNS、证书、购物者、订阅、协议、国家、售后市场)暴露 MCP 工具。
MCP 配置示例:
json
{
mcpServers: {
godaddy: {
command: node,
args: [path/to/mcp-server/dist/index.js],
env: {
GODADDYAPIBASE_URL: https://api.godaddy.com,
GODADDYAPIKEY: ,
GODADDYAPISECRET:
}
}
}
}
参考
- - references/endpoints.md — 完整端点映射
- references/auth-and-env.md — 认证/环境设置
- references/request-bodies.md — 请求体示例
- references/error-handling.md — 故障排除
- references/safety-playbook.md — 安全操作模式