Skip to main content
Glama
lanternrow

namecheap-api-mcp

by lanternrow

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NAMECHEAP_API_KEYYesAPI key from Profile → Tools → API Access. Secret.
NAMECHEAP_API_USERYesYour Namecheap account username (API user).
NAMECHEAP_USERNAMENoDefaults to NAMECHEAP_API_USER; differs only for reseller sub-users.
NAMECHEAP_CLIENT_IPYesThe whitelisted public IPv4 of this machine.
NAMECHEAP_ENVIRONMENTNo`production` (default) or `sandbox`.production

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connectionA

Verify the Namecheap API connection and credentials. Returns the account balance summary — a lightweight call that confirms the API user, key, and IP whitelist are all working.

list_domainsA

List domains in the account, with creation/expiry dates, lock status, auto-renew, and WhoisGuard status. Supports paging and search.

get_domain_infoA

Get detailed info for one domain: status, created/expiry dates, WhoisGuard, DNS provider, and modification rights.

check_domainsA

Check availability (and premium pricing) for one or more domains. Max 50 per call.

get_domain_contactsB

Get the Registrant, Tech, Admin, and AuxBilling contact details for a domain.

get_registrar_lockB

Get the registrar lock status for a domain.

get_dns_hostsB

Get all DNS host records (A, AAAA, CNAME, MX, TXT, URL, etc.) for a domain.

get_nameserversA

Get the nameservers associated with a domain, and whether it uses Namecheap's default DNS.

get_email_forwardingA

Get email forwarding settings (mailbox → forward-to) for a domain.

get_pricingA

Get Namecheap pricing for a product type (e.g. DOMAIN register/renew/transfer). Cache results — this is a heavy endpoint.

list_ssl_certificatesC

List SSL certificates in the account, with type, host name, status, and expiry.

set_dns_hostsA

Replace ALL DNS host records for a domain. WARNING: this is destructive — Namecheap deletes any record not included here, so you must pass the COMPLETE desired record set (call get_dns_hosts first, merge your changes, then send everything). Switches the domain to Namecheap DNS if needed.

set_default_dnsA

Switch a domain to Namecheap's default (BasicDNS) nameservers. Required for Namecheap host records, URL/email forwarding.

set_custom_nameserversA

Point a domain at custom nameservers. NOTE: Namecheap host records, URL/email forwarding stop working while custom nameservers are in use.

set_email_forwardingA

Set email forwarding rules for a domain. Replaces the full forwarding set (pass all rules you want to keep).

set_registrar_lockA

Lock or unlock a domain at the registrar (theft protection). Unlock before initiating an outbound transfer.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/lanternrow/namecheap-api-mcp'

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