# Namecheap MCP

> Namecheap MCP lets you manage your entire domain portfolio through natural conversation. Check if a domain name is available for registration, inspect WHOIS data, list all domains with expiration dates, or update complex DNS records using just your AI client.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** domain-registration, dns-management, ssl-certificates, nameservers, whois-lookup

## Description

Connect this MCP to your agent and take over the manual work of managing internet infrastructure. Instead of logging into multiple dashboards, you talk to your AI client—Claude, Cursor, or any MCP-compatible service—and tell it what you need done for your domains. You can check if a name is free before registering it; you'll also find tools to look up detailed domain info and view every SSL certificate attached to your accounts. If you need to update complex records like AAAA or TXT, the MCP handles that conversationally. Because Vinkius hosts this connection, you get immediate access to all Namecheap management functions without needing separate API calls or complex code blocks.

## Tools

### check_domain_availability
Checks if a specified domain name is available for registration and reports its premium status.

### get_dns_hosts
Retrieves all current DNS records, including the type, value, and Time-To-Live (TTL) for a given domain.

### get_dns_servers
Lists the specific nameservers currently handling query resolution for a domain.

### get_domain_info
Fetches detailed registration and WHOIS information about any specific domain name.

### get_domain_ns_info
Retrieves the nameserver details associated with a given domain.

### get_domains
Lists all domains you own, showing their IDs, creation dates, expiration status, and lock status.

### get_ssl_certs
Retrieves a list of your SSL certificates, including their type, activation status, and expiration date.

### get_ssl_info
Provides detailed information about a specific SSL certificate you own.

### get_balance
Returns your current available account balance in US dollars.

### set_dns_hosts
Updates all DNS records for a domain, requiring you to provide the full set of records you want to keep or change.

## Prompt Examples

**Prompt:** 
```
List all my domains.
```

**Response:** 
```
Found 5 domains: example.com (expires: 2026-05-15, unlocked), mywebsite.org (expires: 2025-12-01, locked), test-project.net (expires: 2027-03-20, unlocked), portfolio.dev (expires: 2025-09-10, unlocked), api-service.io (expires: 2026-01-28, unlocked).
```

**Prompt:** 
```
Show me the DNS records for example.com.
```

**Response:** 
```
DNS records for example.com: @ A → 93.184.216.34 (TTL: 300), www CNAME → @ (TTL: 1800), @ MX → mail.example.com (pref: 10), @ TXT → "v=spf1 include:_spf.google.com ~all" (TTL: 300), @ NS → dns1.registrar-servers.com.
```

**Prompt:** 
```
Is 'myawesomeapp.com' available?
```

**Response:** 
```
myawesomeapp.com is AVAILABLE for registration. Not a premium domain. Standard .com pricing applies.
```

## Capabilities

### Check domain availability
Determine if a specific domain name is open for registration and what the pricing will be.

### View all registered domains
Retrieve a complete list of your owned domains, including their expiration dates and current lock status.

### Manage DNS records
Update or set multiple record types (A, CNAME, MX, TXT) for any domain's settings.

### Inspect SSL certificates
Browse your attached security certificates to see their type and expiration date.

### Check account balance
Get an immediate read on the available funds in your Namecheap billing account.

## Use Cases

### A domain expires unexpectedly
The sysadmin needs to check if a critical subdomain is still active. Instead of going through the console, they ask their agent: 'Show me all domains and their expiration dates.' The agent runs `get_domains` and immediately flags the expiring account, allowing the admin to renew it before downtime hits.

### A site's DNS records are wrong
The developer moves a service but the website keeps showing an old connection. They ask their agent to 'Check the current DNS record types for example.com.' The agent runs `get_dns_hosts`, revealing outdated MX or A records that need fixing.

### Buying a new brand name
The marketing manager has an idea for a client's new product site. They prompt their AI client: 'Is myawesomeapp.com available?' The agent runs `check_domain_availability` and returns the status and pricing instantly, letting them move to registration.

### Updating mail records
The company changes its email provider and needs to update all MX records across 15 domains. They prompt their agent: 'Update the MX records for all my sites.' The agent handles the complex `set_dns_hosts` calls, ensuring all old records are correctly replaced.

## Benefits

- Keep track of everything in one place. Use the `get_domains` tool to list every domain you own, getting status updates on expiration dates and lock status immediately.
- Never lose connection details again. You can use the `get_dns_hosts` tool to view all record types—A, MX, CNAME—and verify exactly what your site is pointing to.
- Save time when checking new ideas. Use the `check_domain_availability` tool to instantly see if a desired name is free and get its standard pricing information.
- Maintain security without logging in. Check expiration dates for all SSL certificates using `get_ssl_certs`, ensuring your sites stay protected.
- Get quick financial status updates by running the `get_balance` tool, so you know exactly how much budget you have left before making any changes.

## How It Works

The bottom line is you get to manage your entire domain and DNS lifecycle without ever leaving your conversation window.

1. First, subscribe to this MCP and provide your unique Namecheap API Key and Username.
2. Next, prompt your AI client with a natural language request (e.g., 'What are my domains expiring soon?' or 'Update the MX records for example.com').
3. Finally, the MCP translates that conversational intent into precise actions, executing the necessary data reads or writes to Namecheap's system.

## Frequently Asked Questions

**How do I list all my domains using Namecheap MCP?**
You call the `get_domains` tool. This instantly provides a complete list of every domain under your account, showing key details like expiration dates and whether they are locked.

**Can Namecheap MCP help me update my DNS records?**
Yes, you use the `set_dns_hosts` tool. Just tell your agent what the new record types (A, TXT, MX) should be, and it handles replacing all existing data for that domain.

**What if I don't know which nameservers to use?**
You can run `get_dns_servers` to see exactly what authoritative servers are currently managing the queries for your specific domain. This is crucial before making any changes.

**Does Namecheap MCP check if domains are premium?**
Yes, the `check_domain_availability` tool tells you not only if a domain is free but also whether it qualifies as a premium domain, which affects pricing.

**How do I get my account balance with Namecheap MCP?**
Run the `get_balance` tool. This quickly retrieves your current available funds in USD without needing to log into the billing section separately.