namecheap-webui-mcp
Manages Namecheap domains and account settings through the web dashboard without requiring an API key or IP allowlist.
README
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 start
tools
| Tool | Purpose |
|---|---|
namecheap_webui_status |
Check if saved auth state is logged in |
namecheap_webui_login |
Username/password login + optional 2FA submit |
namecheap_webui_import_cookies |
Import a full logged-in cookie set |
namecheap_webui_query |
Open dashboard views and return text snapshot |
namecheap_dashboard_list_options |
List currently visible dashboard links |
namecheap_domains_list |
List domains from Domain List |
namecheap_domain_get_overview |
Read Domain Manage overview |
namecheap_domain_get_nameservers |
Read nameserver mode and custom nameservers |
namecheap_domain_set_nameservers |
Set Basic/Free/Premium/Custom nameservers |
namecheap_domain_get_features |
Read auto-renew/domain-lock/whois-privacy state |
namecheap_domain_set_feature |
Set one of those feature toggles |
namecheap_dns_get_records |
Read Advanced DNS host records |
namecheap_dns_set_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 .env
NAMECHEAP_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+password - if result is
two-factor-required, call again withtwoFactorCode - verify 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.