About namecheap-mcp
namecheap-mcp is an MCP server in the Browser category: namecheap MCP server in Rust with mail-safe DNS writes and guarded domain registration.
Install
git clone https://github.com/aarya-rapid/namecheap-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about namecheap-mcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Namecheap MCP – Domain Search Server
A Model Context Protocol (MCP) server that provides domain search, fuzzy domain suggestions, and availability lookup using Fastly Domain Research API, with Namecheap buy links for quick purchase.
This is designed to be consumed by MCP-compatible clients (e.g., Postman MCP, AI agents).
🚀 Features
- Fuzzy domain search from natural language queries
→"apple","cool ai studio","apple.com"etc. - Exact match detection
→apple.com,apple.io,apple.ai - Similar / brandable variations
→getapple.com,tryapple.io,applehq.ai, etc. - Live domain availability via Fastly Domain Research API
- Marks premium domains when detected
- Provides direct Namecheap buy link for every suggestion
- Fully async + fast response time
🧠 How it works (high-level)
| Layer | Purpose |
|---|---|
| Controllers | Expose MCP tools |
| Services | Fuzzy search logic, scoring, result merging |
| Repositories | Fastly Domain Research API integration |
| Models | Pydantic schemas for request/response |
| Server | Boots MCP server via Streamable HTTP transport |
Fastly API is used only to determine availability + premium status.
Prices are not included yet, but can be added later (Porkbun, Namecheap API, etc.).
📂 Project Structure
namecheap-mcp/
├─ src/
│ └─ namecheap_mcp/
│ ├─ server.py
│ ├─ config.py
│ ├─ controllers/
│ ├─ services/
│ ├─ repositories/
│ ├─ models/
├─ pyproject.toml
├─ .env.example
├─ README.md
🔧 Requirements
- Python 3.12+
uv(recommended) or Poetry- MCP-compatible client (Postman MCP recommended)
📥 Setup
1️⃣ Install dependencies
uv sync
2️⃣ Create .env file in the project root:
FASTLY_API_TOKEN=your_fastly_api_token_here
MCP_HOST=0.0.0.0
MCP_PORT=8000
.envmust NOT be committed. It is ignored via.gitignore.
3️⃣ Run the MCP server
uv run python -m namecheap_mcp.server
🧪 Testing With Postman MCP
- Open Postman → Connect to MCP
- Add connection:
http://localhost:8000
- Call the tool:
search_domains
Example request:
{
"query": "apple",
"tlds": [".com", ".io", ".ai"],
"max_results": 25,
"include_taken": true
}
Response includes:
exact_matchessimilar_matchesavailableandis_premiumfastly_status(raw API value)namecheap_buy_url
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.