Skip to main content
Glama

whmcs_renew_domain

Renew a domain registration in WHMCS by sending a renewal command to the registrar using the domain ID.

Instructions

Send domain renewal command to registrar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainidYesDomain ID

Implementation Reference

  • src/index.ts:624-638 (registration)
    Registration of the 'whmcs_renew_domain' MCP tool, including schema and handler wrapper that delegates to WhmcsApiClient.renewDomain
    'whmcs_renew_domain', { title: 'Renew Domain', description: 'Send domain renewal command to registrar', inputSchema: { domainid: z.number().describe('Domain ID'), }, }, async (params) => { const result = await whmcsClient.renewDomain(params); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; } );
  • The core handler function renewDomain in WhmcsApiClient class that makes the WHMCS API call to 'DomainRenew' with the provided domainid.
    async renewDomain(params: { domainid: number; }) { return this.call<WhmcsApiResponse>('DomainRenew', params); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scarecr0w12/whmcs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server