namecheap-webui-mcp
Manages Namecheap domains and account through the web dashboard, providing tools for login, domain listing, DNS records management, nameserver settings, and feature toggles.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@namecheap-webui-mcp list my domains"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
namecheap-webui-mcp
MCP server for managing Namecheap through the normal web dashboard (no Namecheap API key, no IP allowlist).
This server uses fresh Playwright sessions plus saved auth state (storage-state.json) so reads/writes survive between calls without relying on fragile persistent browser profiles.
quick start
npm install
npx playwright install chromium
npm run build
npm startRelated MCP server: mcp-namecheap
tools
Tool | Purpose |
| Check if saved auth state is logged in |
| Username/password login + optional 2FA submit |
| Import a full logged-in cookie set |
| Open dashboard views and return text snapshot |
| List currently visible dashboard links |
| List domains from Domain List |
| Read Domain Manage overview |
| Read nameserver mode and custom nameservers |
| Set Basic/Free/Premium/Custom nameservers |
| Read auto-renew/domain-lock/whois-privacy state |
| Set one of those feature toggles |
| Read Advanced DNS host records |
| Append/replace Advanced DNS host records |
supported dashboard views (namecheap_webui_query)
accountdomainsexpiringhostingprivate-emailssl-certificatesappsmy-offersprofilegrowth-toolsadvanced-dns(requiresdomainName)domain-manage(requiresdomainName)
env
Copy .env.example and adjust if needed:
cp .env.example .envNAMECHEAP_BASE_URL(defaulthttps://www.namecheap.com)NAMECHEAP_LOGIN_URL(defaulthttps://www.namecheap.com/myaccount/login/)NAMECHEAP_ACCOUNT_URL(defaulthttps://ap.www.namecheap.com/)NAMECHEAP_USER_DATA_DIR(default.namecheap-profile)NAMECHEAP_BROWSER_EXECUTABLE_PATH(optional, e.g./usr/bin/chromium-browser)NAMECHEAP_HEADLESS(defaulttrue)NAMECHEAP_SLOW_MO(default0)NAMECHEAP_NAVIGATION_TIMEOUT_MS(default30000)
login flow
call
namecheap_webui_loginwithusername+passwordif result is
two-factor-required, call again withtwoFactorCodeverify with
namecheap_webui_status
If direct login is blocked by anti-bot friction on your host, import a full logged-in cookie set with namecheap_webui_import_cookies.
recommended safety workflow
namecheap_webui_statusnamecheap_domain_get_overview/namecheap_domain_get_nameserversnamecheap_dns_get_recordsnamecheap_dns_set_records(preferappend)
For domain-level changes:
namecheap_domain_get_featuresnamecheap_domain_set_feature
mcp config example
{
"mcp": {
"namecheap-webui": {
"type": "local",
"enabled": true,
"command": ["node", "/absolute/path/namecheap-webui-mcp/dist/index.js"],
"environment": {
"NAMECHEAP_USER_DATA_DIR": "/absolute/path/namecheap-webui-mcp/.namecheap-profile",
"NAMECHEAP_HEADLESS": "true",
"NAMECHEAP_NAVIGATION_TIMEOUT_MS": "30000"
}
}
}
}limitations
Depends on live Namecheap markup and labels; selectors may need updates when UI changes
Bulk operations are still modeled as single-domain actions
Some accounts/domains may require extra verification dialogs before edits are allowed
Available Tools
13 toolsnamecheap_dashboard_list_optionsB
List clickable dashboard options currently visible in Namecheap.
Inputs: headed.
namecheap_dns_get_recordsA
Open a domain's Advanced DNS page and return the visible host records.
Inputs: domainName (required), headed.
namecheap_dns_set_recordsB
Append or replace host records in the Advanced DNS page for a domain.
Inputs: domainName (required), records (required), mode, headed.
namecheap_domain_get_featuresB
Read feature toggles on Domain Manage (auto-renew, domain-lock, whois-privacy).
Inputs: domainName (required), headed.
namecheap_domain_get_nameserversB
Read nameserver mode and custom nameserver values from Domain Manage.
Inputs: domainName (required), headed.
namecheap_domain_get_overviewC
Get overview details from a domain's Domain Manage page.
Inputs: domainName (required), headed.
namecheap_domain_set_featureB
Set a Domain Manage feature toggle (auto-renew, domain-lock, whois-privacy).
Inputs: domainName (required), feature (required), enabled (required), headed.
namecheap_domain_set_nameserversC
Set nameserver mode to Basic/Free/Premium/Custom and optionally update custom nameserver values.
Inputs: domainName (required), mode (required), nameservers, headed.
namecheap_domains_listB
List domains visible in the Namecheap Domain List page.
Inputs: headed.
namecheap_webui_import_cookiesB
Import cookies from an existing logged-in browser session into the saved Namecheap auth state.
Inputs: cookies, cookiesFilePath, headed.
namecheap_webui_loginA
Sign into Namecheap with username/password and optionally submit a 2FA code.
Inputs: username, password, twoFactorCode, headed, +1 more.
namecheap_webui_queryC
Open a Namecheap dashboard view and return a text snapshot.
Inputs: view (required), domainName, headed.
namecheap_webui_statusB
Check whether the saved Namecheap auth state is logged in.
Inputs: headed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct operation or resource (e.g., DNS records, domain features, nameservers, auth, generic query). No two tools have overlapping purposes; even the domain get/set tools are clearly separated by aspect.
Most tools follow a consistent `namecheap_{area}_{action}` pattern in snake_case. Minor inconsistency: `namecheap_domains_list` uses plural 'domains' while other domain tools use singular 'domain'. Otherwise, verb_noun structure is maintained.
13 tools is well-scoped for a Namecheap web UI automation server. It covers authentication, navigation, DNS management, and domain settings without being bloated or insufficient.
The set covers essential domain management operations (DNS get/set, feature toggles, nameservers, list, overview). Missing a dedicated DNS record delete tool (though replace is available) and batch domain operations, but core workflows are supported.
Maintenance
Related MCP Connectors
Search, register & manage Web2/Web3 domains, edit DNS records, and build & deploy AI websites.
Check domain availability, list domains and DNS zones, change DNS records in INWX.
Manage your Webshare proxies, usage, plans and billing. Sign in with OAuth, no API key.
Manage a Hostamir account: websites, WordPress, SSL, VPS, domains, DNS, invoices and tickets.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides integration with the Namecheap API for domain management operations, including domain listing, availability checks, and nameserver configuration. It allows users to interact with their Namecheap account through natural language commands in MCP-compatible clients.320 npm20MIT
- AlicenseAqualityDmaintenanceComprehensive MCP server for the Namecheap API, enabling domain management, DNS record control, nameserver settings, and domain registration from any MCP client.1020 npmMIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that wraps the Namecheap API, enabling AI assistants to manage domains, DNS records, SSL certificates, and account information.212 npm-
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Namecheap domains, DNS, contacts, registrar locks, and view SSL certificates and pricing through safe read and configuration tools.1661 npmMIT