From namecheap-mcp
Guided first-run setup for the namecheap-mcp server — collect API credentials and write them to the global config.
How this command is triggered — by the user, by Claude, or both
Slash command
/namecheap-mcp:setupThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /namecheap-mcp:setup Walk the user through end-to-end setup so they can go from "plugin enabled" to "issuing Namecheap API calls from Claude Code" in one session. > Note: Claude Code's native "Authenticate" button in the `/mcp` dialog only works for HTTP/OAuth-transport MCP servers (MCP 2025-06-18). namecheap-mcp is stdio, so this command and the `setup` tool are the supported auth flows. If the user sees only `setup` and `auth_status` exposed in `/mcp`, the server is not yet authenticated — run this command. The `auth_status` tool produces a full diagnostic at any time. ## Pre-flight ...
Walk the user through end-to-end setup so they can go from "plugin enabled" to "issuing Namecheap API calls from Claude Code" in one session.
Note: Claude Code's native "Authenticate" button in the
/mcpdialog only works for HTTP/OAuth-transport MCP servers (MCP 2025-06-18). namecheap-mcp is stdio, so this command and thesetuptool are the supported auth flows. If the user sees onlysetupandauth_statusexposed in/mcp, the server is not yet authenticated — run this command. Theauth_statustool produces a full diagnostic at any time.
Confirm an existing config isn't already in place:
test -f "$HOME/.config/namecheap-mcp/.env" && echo "EXISTS" || echo "MISSING"
If EXISTS, ask the user whether to overwrite or keep the existing credentials before proceeding.
Namecheap requires the caller's public IP to be explicitly whitelisted in their dashboard. Get the current public IP so we can offer it as a default:
curl -fsSL https://api.ipify.org || curl -fsSL https://ifconfig.me
Explain they will need three values from https://ap.www.namecheap.com/settings/tools/apiaccess/:
| Field | Where to find it |
|---|---|
| API username | Usually the same as the Namecheap account username |
| API key | Click "Enable API" (first time) or "Edit" → copy the key |
| Whitelisted IP | The public IP of whichever machine will call the API |
Remind them that API access is gated by account age / balance / recent purchase history — if they've never used it, Namecheap may ask them to meet one of those conditions first.
Offer the user three setup styles and ask which they prefer:
Call the setup MCP tool. A form appears (public IP is auto-detected as a default). Submit promptly — the elicitation times out if left idle. If it times out, call setup again.
If the user has namecheap-mcp installed globally:
namecheap-mcp-setup
Interactive prompts (API key echo is suppressed). Writes to ~/.config/namecheap-mcp/.env with mode 0600.
Offer to write the config file directly once they paste the values:
mkdir -p "$HOME/.config/namecheap-mcp"
cat > "$HOME/.config/namecheap-mcp/.env" <<'EOF'
NAMECHEAP_API_USER=<their-username>
NAMECHEAP_API_KEY=<their-api-key>
NAMECHEAP_CLIENT_IP=<their-whitelisted-ip>
# Optional:
# NAMECHEAP_USERNAME=<if-different-from-api-user>
# NAMECHEAP_SANDBOX=true
EOF
chmod 600 "$HOME/.config/namecheap-mcp/.env"
Ask the user to reconnect the MCP server (/mcp → reconnect namecheap-mcp), then call a read-only tool to prove credentials work:
get_balances — returns account balancelist_domains — lists their portfolioIf either returns error 1011102, the NAMECHEAP_CLIENT_IP in the config does not match what Namecheap sees. Re-check the whitelisted IP in the dashboard against the current public IP.
process.env → ~/.config/namecheap-mcp/.env → ./.env (earlier wins). Env vars exported in the shell will override the config file.dist/index.js is launched via hooks/scripts/launch-mcp.sh, which prefers a globally installed namecheap-mcp binary if present. Users who previously ran npm install -g . will transparently use that one.npx claudepluginhub ringo380/robworks-claude-code-plugins --plugin namecheap-mcp/setupInitializes or resumes project setup via interactive Q&A, creating conductor/ artifacts for product definition, guidelines, tech stack, workflow, and style guides.
/setupWalks an enterprise admin through configuring the Claude Office add-in to call their own cloud (Vertex, Bedrock, Foundry, or gateway), producing a customized manifest.xml for M365 deployment.
/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupInteractive setup wizard that detects installed AI providers, configures authentication, and optimizes token usage. Auto-runs on first install and surfaces a status dashboard on manual invocation.