Skip to main content
Glama
@rezlazy/namesilo-mcp

@rezlazy/namesilo-mcp

by Rezlazy

@rezlazy/namesilo-mcp

用于 NameSilo Domain API 的 MCP 服务器。已发布为 @rezlazy/namesilo-mcp。

提供 67 个工具,涵盖注册、转移、DNS、联系人、域名服务器、隐私、转发、电子邮件、组合、账户资金、市场和拍卖。

所有 NameSilo 操作均为 HTTPS GET。此服务器使用您的 API 密钥进行身份验证,并返回 JSON reply 对象(成功代码为 300)。

要求

如果您的密钥受到限制,请将要调用 API 的 IP 加入白名单。

Related MCP server: Domain MCP

Cursor 配置

添加到 .cursor/mcp.json 或 Cursor MCP 设置中:

{
  "mcpServers": {
    "namesilo": {
      "command": "npx",
      "args": ["-y", "@rezlazy/namesilo-mcp"],
      "env": {
        "NAMESILO_API_KEY": "<your-api-key>"
      }
    }
  }
}

用于本地开发(本仓库中的 .cursor/mcp.json):

{
  "mcpServers": {
    "namesilo": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/dist/index.js"],
      "envFile": "${workspaceFolder}/.env"
    }
  }
}

在项目根目录中创建 .env:

NAMESILO_API_KEY=your_api_key

环境变量

变量

必填

描述

NAMESILO_API_KEY

是

来自 API Manager 的 API 密钥

NAMESILO_SANDBOX

否

设为 true 以使用 https://sandbox.namesilo.com(向 NameSilo 请求沙箱凭据)

NAMESILO_BATCH

否

设为 true 以将所有调用发送到 /apibatch。高批量任务必需;请参阅 批量策略

NAMESILO_API_URL

否

覆盖标准 API 基础地址

NAMESILO_BATCH_URL

否

覆盖批量 API 基础地址

registerDomainDrop 始终使用 /apibatch,即使未设置 NAMESILO_BATCH。

典型工作流程

  1. checkRegisterAvailability — 检查某个域名是否可以注册

  2. contactList / contactAdd — 获取 contact_id

  3. registerDomain — 消耗账户资金(或 payment_id)

  4. dnsListRecords 然后 dnsAddRecord / dnsUpdateRecord

  5. changeNameServers — 如果该域名不应使用 NameSilo DNS

涉及资金操作的工具:registerDomain、registerDomainDrop、renewDomain、transferDomain、addAccountFunds、bidAuction、buyNowAuction。

工具

域名

工具

描述

checkRegisterAvailability

检查域名是否可注册(最多 200 个)

registerDomain

注册域名

registerDomainDrop

抢注域名(/apibatch)

renewDomain

续费域名

listDomains

列出账户中的域名

getDomainInfo

域名状态、日期、锁、隐私、NS

addAutoRenewal / removeAutoRenewal

开启/关闭自动续费

domainLock / domainUnlock

转移锁

domainPush

将域名推送至另一个 NameSilo 账户

whoisInfo

WHOIS 查询

listExpiringDomains / countExpiringDomains

到期窗口

getPrices

TLD 价格列表

转移

工具

描述

checkTransferAvailability

这些域名是否可以转入?

transferDomain

开始域名转入

checkTransferStatus

转移状态

transferUpdateChangeEPPCode

设置/更改 EPP 代码

transferUpdateResendAdminEmail

重新发送管理员审批邮件

transferUpdateResubmitToRegistry

重新提交至注册局

retrieveAuthCode

通过邮件发送 EPP 代码(转出)

联系人

工具

描述

contactList

列出或获取联系人资料

contactAdd

创建资料(fn、ln、ad、cy、st、zp、ct、em、ph)

contactUpdate

更新资料

contactDelete

删除未使用的资料

contactDomainAssociate

将联系人关联到域名

DNS 与 DNSSEC

工具

描述

dnsListRecords

列出记录

dnsAddRecord

添加 A/AAAA/CNAME/MX/TXT/SRV/CAA/NS 记录

dnsUpdateRecord

按 rrid 更新

dnsDeleteRecord

按 rrid 删除

dnsSecListRecords

列出 DS 记录

dnsSecAddRecord / dnsSecDeleteRecord

管理 DS 记录

域名服务器

工具

描述

changeNameServers

为最多 200 个域名设置 ns1–ns13(或 nameservers[])

listRegisteredNameServers

胶水主机

addRegisteredNameServer

添加胶水主机

modifyRegisteredNameServer

更改胶水主机

deleteRegisteredNameServer

删除胶水主机

隐私、转发、电子邮件与组合

工具

描述

addPrivacy / removePrivacy

WHOIS 隐私

domainForward

转发域名

domainForwardSubDomain

转发子域名

domainForwardSubDomainDelete

移除子域名转发

listEmailForwards

列出转发

configureEmailForward

添加/更改转发

deleteEmailForward

删除转发

registrantVerificationStatus

ICANN 电子邮件验证状态

emailVerification

发送验证电子邮件

portfolioList / portfolioAdd / portfolioDelete

域名组合

portfolioDomainAssociate

将域名分配到域名组合

账户、市场和拍卖

工具

描述

getAccountBalance

账户资金

addAccountFunds

通过已保存的卡充值

listOrders / orderDetails

订单历史

marketplaceActiveSalesOverview

您的市场在售列表

marketplaceAddOrModifySale

创建/更新/取消出售

marketplaceLandingPageUpdate

待售落地页

listAuctions / viewAuction / viewAuctions

过期域名拍卖

viewAuctionHistory / watchAuction

历史记录和关注列表

bidAuction / buyNowAuction

出价或立即购买

开发

npm install
cp .env.example .env   # set NAMESILO_API_KEY
npm test
npm run typecheck
npm run build

联系人字段名称遵循 NameSilo API(fn、ln、ad……)。有关特定 TLD 的字段,请参阅 API 参考(.us 的 usnc/usap、.ca 的 CIRA 字段)。

发布

当创建 GitHub Release(v0.1.0……)时,GitHub Actions 会发布到 npm。仓库需要一个 NPM_TOKEN 机密(来自 npmjs.com 的自动化令牌)。

在 npm login 之后本地发布:

npm publish --access public

更新日志

请参阅 CHANGELOG.md。

许可证

MIT

Available Tools

67 tools
addAccountFundsB

Charge a verified card profile and add funds to the account [https://www.namesilo.com/api-reference]

Inputs: amount (required), payment_id (required).

addAutoRenewalB

Turn on auto-renewal for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

addPrivacyA

Enable free WHOIS privacy on a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

addRegisteredNameServerB

Register a glue nameserver host for a domain [https://www.namesilo.com/api-reference]

Inputs: ip1 (required), domain (required), new_host (required), ip2, +11 more.

bidAuctionA

Place a bid on an auction. Spends / commits funds. [https://www.namesilo.com/api-reference]

Inputs: bid (required), auctionId (required), proxyBid.

buyNowAuctionA

Buy an auction listing at the buy-now price. Spends funds. [https://www.namesilo.com/api-reference]

Inputs: auctionId (required).

changeNameServersB

Set nameservers for up to 200 domains. Provide ns1+ns2 (or nameservers[]). [https://www.namesilo.com/api-reference]

Inputs: domain (required), ns1, ns2, ns3, +11 more.

checkRegisterAvailabilityA

Check whether up to 200 domains can be registered right now [https://www.namesilo.com/api-reference]

Inputs: domains (required).

checkTransferAvailabilityA

Check whether up to 200 domains can be transferred into the account [https://www.namesilo.com/api-reference]

Inputs: domains (required).

checkTransferStatusA

Get status of an inbound transfer [https://www.namesilo.com/api-reference]

Inputs: domain (required).

configureEmailForwardB

Create or update an email forward (local part → destination addresses) [https://www.namesilo.com/api-reference]

Inputs: email (required), domain (required), forward1 (required), forward2, +3 more.

contactAddB

Create a contact profile. Returns contact_id. [https://www.namesilo.com/api-reference]

Inputs: ad (required), ct (required), cy (required), em (required), +14 more.

contactDeleteA

Delete a contact profile that is not in use [https://www.namesilo.com/api-reference]

Inputs: contact_id (required).

contactDomainAssociateB

Attach contact profiles to a domain (registrant / admin / billing / tech) [https://www.namesilo.com/api-reference]

Inputs: domain (required), billing, technical, contact_id, +2 more.

contactListA

List contact profiles, or fetch one by contact_id [https://www.namesilo.com/api-reference]

Inputs: contact_id.

contactUpdateC

Update an existing contact profile [https://www.namesilo.com/api-reference]

Inputs: ad (required), ct (required), cy (required), em (required), +15 more.

countExpiringDomainsA

Count domains in the account that expire within N days [https://www.namesilo.com/api-reference]

Inputs: daysCount (required).

deleteEmailForwardB

Inputs: email (required), domain (required).

deleteRegisteredNameServerB

Delete a registered glue nameserver [https://www.namesilo.com/api-reference]

Inputs: domain (required), current_host (required).

dnsAddRecordC

Add a DNS resource record [https://www.namesilo.com/api-reference]

Inputs: domain (required), rrhost (required), rrtype (required), rrvalue (required), +2 more.

dnsDeleteRecordA

Delete a DNS resource record [https://www.namesilo.com/api-reference]

Inputs: rrid (required), domain (required).

dnsListRecordsB

List DNS resource records for a domain (NameSilo DNS) [https://www.namesilo.com/api-reference]

Inputs: domain (required).

dnsSecAddRecordC

Add a DS (DNSSEC) record [https://www.namesilo.com/api-reference]

Inputs: alg (required), digest (required), domain (required), keyTag (required), +1 more.

dnsSecDeleteRecordB

Delete a DS (DNSSEC) record [https://www.namesilo.com/api-reference]

Inputs: alg (required), digest (required), domain (required), keyTag (required), +1 more.

dnsSecListRecordsA

List DS (DNSSEC) records for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

dnsUpdateRecordC

Update an existing DNS resource record [https://www.namesilo.com/api-reference]

Inputs: rrid (required), domain (required), rrhost (required), rrvalue (required), +2 more.

domainForwardC

Forward a domain to another URL [https://www.namesilo.com/api-reference]

Inputs: domain (required), method (required), address (required), protocol (required), +3 more.

domainForwardSubDomainC

Create or update a subdomain forward [https://www.namesilo.com/api-reference]

Inputs: domain (required), method (required), address (required), protocol (required), +4 more.

domainForwardSubDomainDeleteB

Delete a subdomain forward [https://www.namesilo.com/api-reference]

Inputs: domain (required), sub_domain (required).

domainLockA

Lock a domain to prevent unauthorized transfer [https://www.namesilo.com/api-reference]

Inputs: domain (required).

domainPushA

Push domains to another NameSilo account (recipient must exist) [https://www.namesilo.com/api-reference]

Inputs: domains (required), recipientLogin (required).

domainUnlockA

Unlock a domain so it can be transferred away [https://www.namesilo.com/api-reference]

Inputs: domain (required).

emailVerificationC

Send (or re-send) the ICANN registrant email verification message [https://www.namesilo.com/api-reference]

Inputs: email (required).

getAccountBalanceA

Get current NameSilo account funds balance [https://www.namesilo.com/api-reference]

Inputs: no named parameters.

getDomainInfoA

Get status, dates, lock, privacy, NS, and contacts for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

getPricesA

Return NameSilo registration / transfer / renew prices by TLD [https://www.namesilo.com/api-reference]

Inputs: retail_prices, registration_domains.

listAuctionsC

Search NameSilo expired-domain auctions [https://www.namesilo.com/api-reference]

Inputs: page, buyNow, typeId, orderBy, +8 more.

listDomainsA

List active domains in the account. Optionally filter by portfolio. [https://www.namesilo.com/api-reference]

Inputs: portfolio.

listEmailForwardsA

List email forwards configured on a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

listExpiringDomainsA

List domains in the account that expire within N days [https://www.namesilo.com/api-reference]

Inputs: daysCount (required), page, pageSize.

listOrdersB

List account order history [https://www.namesilo.com/api-reference]

Inputs: no named parameters.

listRegisteredNameServersC

List registered (glue) nameservers for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

marketplaceActiveSalesOverviewA

List your active NameSilo Marketplace listings [https://www.namesilo.com/api-reference]

Inputs: no named parameters.

marketplaceAddOrModifySaleB

Create, update, or cancel a Marketplace sale for a domain you own [https://www.namesilo.com/api-reference]

Inputs: action (required), domain (required), sale_type (required), buy_now, +14 more.

marketplaceLandingPageUpdateC

Update the Marketplace for-sale landing page for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required), mp_bgcolor, mp_message, mp_template, +6 more.

modifyRegisteredNameServerB

Change host name and/or glue IPs of a registered nameserver [https://www.namesilo.com/api-reference]

Inputs: ip1 (required), domain (required), new_host (required), current_host (required), +12 more.

orderDetailsB

Get line items for a single order [https://www.namesilo.com/api-reference]

Inputs: order_number (required).

portfolioAddC

Inputs: portfolio (required).

portfolioDeleteB

Inputs: portfolio (required).

portfolioDomainAssociateB

Assign up to 200 domains to a portfolio [https://www.namesilo.com/api-reference]

Inputs: domains (required), portfolio (required).

portfolioListA

List portfolios in the account [https://www.namesilo.com/api-reference]

Inputs: no named parameters.

registerDomainA

Register a domain. Spends account funds (or payment_id). Prefer an existing contact_id. [https://www.namesilo.com/api-reference]

Inputs: years (required), domain (required), ad, cp, +36 more.

registerDomainDropB

Register a dropping domain (drop-catch). Always sent to /apibatch. [https://www.namesilo.com/api-reference]

Inputs: years (required), domain (required), private, auto_renew.

registrantVerificationStatusA

List registrant email addresses and whether they are ICANN-verified [https://www.namesilo.com/api-reference]

Inputs: no named parameters.

removeAutoRenewalA

Turn off auto-renewal for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

removePrivacyA

Disable WHOIS privacy on a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

renewDomainA

Renew a domain you already own. Spends account funds. [https://www.namesilo.com/api-reference]

Inputs: years (required), domain (required), coupon, payment_id.

retrieveAuthCodeA

Email the EPP/auth code for a domain to the admin contact (needed to transfer away) [https://www.namesilo.com/api-reference]

Inputs: domain (required).

transferDomainA

Start an inbound domain transfer. Spends account funds. EPP/auth code usually required. [https://www.namesilo.com/api-reference]

Inputs: domain (required), ad, cp, ct, +22 more.

transferUpdateChangeEPPCodeA

Set or change the EPP/auth code on a pending transfer [https://www.namesilo.com/api-reference]

Inputs: auth (required), domain (required).

transferUpdateResendAdminEmailB

Re-send the administrative transfer approval email [https://www.namesilo.com/api-reference]

Inputs: domain (required).

transferUpdateResubmitToRegistryB

Re-submit a stalled inbound transfer to the registry [https://www.namesilo.com/api-reference]

Inputs: domain (required).

viewAuctionA

Get details for a single auction [https://www.namesilo.com/api-reference]

Inputs: auctionId (required).

viewAuctionHistoryA

Get bid history for an auction [https://www.namesilo.com/api-reference]

Inputs: auctionId (required).

viewAuctionsC

Get details for multiple auctions [https://www.namesilo.com/api-reference]

Inputs: auctionIds (required).

watchAuctionB

Watch or unwatch an auction [https://www.namesilo.com/api-reference]

Inputs: watch (required), auctionId (required).

whoisInfoC

Look up WHOIS data for a domain [https://www.namesilo.com/api-reference]

Inputs: domain (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 67 tools

    Disambiguation4/5

    Most tools target a distinct resource and action, with clear one-line descriptions. A few pairs like getDomainInfo/whoisInfo or viewAuction/viewAuctions could be confused, but the descriptions resolve the intended difference.

    Naming Consistency3/5

    Most names follow an action+object camelCase pattern, but there are notable inconsistencies: listDomains vs. contactList, dnsAddRecord vs. dnsListRecords, and object-first names like domainLock and emailVerification. The pattern is readable but not uniform.

    Tool Count1/5

    67 tools is an extreme count for an MCP server, even for a broad domain-management API. Many operations could be consolidated into parameterized commands to reduce agent selection overhead.

    Completeness5/5

    The tool surface covers the domain lifecycle comprehensively: registration, renewal, transfers, DNS, DNSSEC, contacts, WHOIS, privacy, forwarding, email forwarding, portfolios, auctions, marketplace, billing, and orders. There are no obvious dead ends for the stated domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables comprehensive domain and DNS management through the Porkbun API, including domain registration checks, DNS record operations, URL forwarding, DNSSEC configuration, and SSL certificate management. Provides 27 tools for complete domain administration through natural language interactions.
      2
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables natural language domain management through Dynadot, supporting domain registration, DNS configuration, transfers, WHOIS contacts, and bulk operations across 106 API actions.
      10
      28 npm
      13
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to perform comprehensive domain management tasks through the Name.com API, including registration, DNS management, and transfers. It dynamically generates tools from the OpenAPI specification to facilitate natural language interaction with all Name.com services.
      210 npm
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Official Porkbun MCP server, maintained by Porkbun. Check availability and pricing, register, renew and transfer domains, and manage DNS, nameservers, URL forwarding, glue, DNSSEC, DNS restore points, static hosting, webhooks and Cloudflare-connected domains. Hosted at mcp.porkbun.com/mcp with Porkbun sign-in (no API key), or run locally with npx @porkbunllc/mcp-server. Docs: porkbun.com/mcp
      164
      3,183 npm
      36
      MIT