spaceship-mcp
Provides tools for managing domains (registration, renewal, DNS, WHOIS privacy, transfers), DNS records, contacts, personal nameservers, and SellerHub marketplace listings via the Spaceship API.
Click on "Install 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., "@spaceship-mcpIs example.com available to register?"
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.
Spaceship MCP Server
MCP server for Spaceship (by Namecheap) — domain registrar with DNS management, WHOIS privacy, domain transfers, and a built-in SellerHub marketplace. Manage everything from any MCP-compatible client.
35 tools across 9 categories. Built-in response caching, rate limit handling with exponential backoff, and actionable error messages.
Requirements
Node.js 20+
Spaceship API key and secret (API Manager)
Related MCP server: dynadot-mcp
Installation
git clone https://github.com/hlebtkachenko/spaceship-mcp.git
cd spaceship-mcp
npm ci
npm run buildDocker
docker build -t spaceship-mcp .
docker run -i --rm \
-e SPACESHIP_API_KEY=your-key \
-e SPACESHIP_API_SECRET=your-secret \
spaceship-mcpConfiguration
Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"spaceship": {
"command": "node",
"args": ["/path/to/spaceship-mcp/dist/index.js"],
"env": {
"SPACESHIP_API_KEY": "your-api-key",
"SPACESHIP_API_SECRET": "your-api-secret"
}
}
}
}Claude Desktop
claude_desktop_config.json (location)
{
"mcpServers": {
"spaceship": {
"command": "node",
"args": ["/path/to/spaceship-mcp/dist/index.js"],
"env": {
"SPACESHIP_API_KEY": "your-api-key",
"SPACESHIP_API_SECRET": "your-api-secret"
}
}
}
}Claude Code
.mcp.json in your project root, or ~/.claude.json globally:
{
"mcpServers": {
"spaceship": {
"command": "node",
"args": ["/path/to/spaceship-mcp/dist/index.js"],
"env": {
"SPACESHIP_API_KEY": "your-api-key",
"SPACESHIP_API_SECRET": "your-api-secret"
}
}
}
}Any MCP client (stdio)
The server uses stdio transport. Point your MCP client to:
node /path/to/spaceship-mcp/dist/index.jsWith SPACESHIP_API_KEY and SPACESHIP_API_SECRET environment variables set.
Environment Variables
Variable | Required | Default | Description |
| Yes | — | API key from API Manager |
| Yes | — | API secret from API Manager |
| No |
| Response cache lifetime in seconds (0 to disable) |
| No |
| Max retry attempts for rate-limited (429) and timeout requests |
Tools
Domains (12 tools)
Tool | Description |
| List all domains (paginated) |
| Get domain details (status, expiry, nameservers, privacy) |
| Check single domain availability |
| Bulk availability check (up to 20 domains) |
| Register a domain (async) |
| Renew a domain (async) |
| Toggle auto-renewal |
| Update nameservers (basic or custom) |
| Update domain contacts |
| Set WHOIS privacy level |
| Lock/unlock transfers |
| Toggle contact form in WHOIS |
DNS (3 tools)
Tool | Description |
| List DNS records (A, AAAA, CNAME, MX, TXT, SRV, etc.) |
| Add or update records (up to 500 per call) |
| Delete records by exact match |
Contacts (4 tools)
Tool | Description |
| Create/update contact, returns contact ID |
| Read contact details by ID |
| Save TLD-specific contact attributes (e.g. .ca) |
| Read contact attributes by ID |
Transfers (4 tools)
Tool | Description |
| Initiate inbound domain transfer (async) |
| Check transfer status |
| Get EPP/auth code for outbound transfers |
| Restore a deleted/expired domain (async) |
Personal Nameservers (4 tools)
Tool | Description |
| List vanity/glue nameservers for a domain |
| Get IPs for a specific nameserver host |
| Create or update a personal nameserver |
| Delete a personal nameserver |
SellerHub (7 tools)
Tool | Description |
| List marketplace listings |
| Get listing details |
| List a domain for sale |
| Update listing (price, description) |
| Remove from SellerHub |
| Create Buy Now checkout link |
| Get DNS verification records |
Analysis (1 tool)
Tool | Description |
| Compare expected vs actual DNS records to detect misconfigurations |
Async Operations (1 tool)
Tool | Description |
| Check status of registration, renewal, transfer, or restore |
Async Operations
Domain registration, renewal, transfer, and restoration are asynchronous. These tools return an asyncOperationId — use ss_async_status to poll for completion. Statuses: pending, success, failed.
Response Caching
GET responses are cached for 120 seconds by default (configurable via SPACESHIP_CACHE_TTL). Write operations automatically invalidate related cache entries. Set SPACESHIP_CACHE_TTL=0 to disable caching entirely.
Rate Limit Handling
When Spaceship returns HTTP 429, the client automatically retries with exponential backoff, respecting the Retry-After header when present. Default: up to 3 retries. Timeout errors are also retried.
Security
30-second timeout on all HTTP requests
Path injection prevention (rejects
..,#)Automatic retry with backoff for rate limits and timeouts
Error responses truncated to 500 characters
Context-aware recovery hints in error messages
JSON parsing wrapped in try/catch
All parameters validated with Zod schemas
No credentials stored on disk (env vars only)
Architecture
src/
index.ts Entry point, env validation, config
spaceship-client.ts API client (key + secret headers, retry, caching)
cache.ts TTL-based response cache with write invalidation
tools/
domains.ts Domain management + email protection (12 tools)
dns.ts DNS records (3 tools)
contacts.ts Contact management + TLD attributes (4 tools)
transfer.ts Transfers and restore (4 tools)
nameservers.ts Personal nameservers (4 tools)
sellerhub.ts Marketplace (7 tools)
analysis.ts DNS alignment check (1 tool)
async.ts Async operation polling (1 tool)Tech Stack
TypeScript, ESM
@modelcontextprotocol/sdk(stdio transport)Zod (schema validation)
Native
fetchwithAbortSignal.timeout
API Reference
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlebtkachenko/spaceship-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server