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 "Deploy 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-mcp Is 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.
36 tools across 8 categories. Built-in response caching, rate limit handling with exponential backoff, and actionable error messages. Tools that spend money or delete data require an explicit confirm: true argument.
Requirements
Node.js 22+
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 retries for rate-limited (429) requests, and for timed-out GET/PUT/DELETE requests |
| No |
| API base URL (tests point it at a fake server) |
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, charges the account, needs |
| Renew a domain (async, charges the account, needs |
| Toggle auto-renewal |
| Update nameservers (basic or custom) |
| Update domain contacts |
| Set WHOIS privacy level (needs |
| Lock/unlock transfers |
| Toggle contact form in WHOIS |
DNS (3 tools)
Tool | Description |
| List DNS records (A, AAAA, ALIAS, CAA, CNAME, HTTPS, MX, NS, PTR, SRV, SVCB, TLSA, TXT) |
| Add or update records (up to 500 per call, per-type fields) |
| Delete records by exact match (needs |
Contacts (4 tools)
Tool | Description |
| Create/update contact, returns contact ID |
| Read contact details by ID |
| Save TLD-specific contact attributes (.ca, .us) |
| Read contact attributes by ID |
Transfers (4 tools)
Tool | Description |
| Initiate inbound domain transfer (async, charges the account, needs |
| Check transfer status |
| Get EPP/auth code for outbound transfers (the code lands in the transcript) |
| Restore a deleted/expired domain (async, charges the account, needs |
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 (needs |
SellerHub (7 tools)
Tool | Description |
| List marketplace listings |
| Get listing details |
| List a domain for sale |
| Update listing (price, description) |
| Remove from SellerHub (needs |
| 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 (returned as an error).
Safety
Every tool carries MCP annotations (
readOnlyHint,destructiveHint,idempotentHint).ss_domain_register,ss_domain_renew,ss_domain_transfer,ss_domain_restore(spend money) andss_dns_delete,ss_personal_ns_delete,ss_sellerhub_delete(delete) requireconfirm: true.userConsentfor WHOIS privacy is a required parameter, never assumed.
Response Caching
GET responses are cached for 120 seconds by default (configurable via SPACESHIP_CACHE_TTL). Async operation and transfer status are never cached. Write operations invalidate the related domain, DNS, contact or SellerHub entries and the domain list. Set SPACESHIP_CACHE_TTL=0 to disable caching entirely.
Rate Limits and Timeouts
When Spaceship returns HTTP 429, the client retries with exponential backoff, respecting the Retry-After header (seconds or HTTP date, capped at 30 s) when present. Default: up to 3 retries. Timed-out GET, PUT and DELETE requests are retried too. A POST or PATCH (registration, renewal, transfer, restore, SellerHub) that times out or loses its connection is never retried: the tool returns an "outcome unknown" error so you can check with ss_async_status or ss_domain_info before trying again. Other HTTP errors are not retried.
Security
30-second timeout on all HTTP requests
Path parameters are URL-encoded; API paths containing
..or#are rejectedError responses truncated to 500 characters, with the API's per-field validation details
Context-aware recovery hints in error messages
All parameters validated with Zod schemas
No credentials stored on disk (env vars only)
Development
npm test # build + node:test suite against a fake Spaceship API
npm run check:contract # validate every tool's request and the fake API's responses against the Spaceship OpenAPI specLayout and design notes: ARCHITECTURE.md.
Tech Stack
TypeScript 7, ESM
@modelcontextprotocol/sdk(stdio transport)Zod (schema validation)
Native
fetchwithAbortSignal.timeout
API Reference
License
Available Tools
36 toolsss_async_statusA
Check the status of an async operation (registration, renewal, transfer, restore)
Inputs: operationId (required).
ss_contact_attr_getB
Read TLD-specific contact attributes by contact ID
Inputs: contactId (required).
ss_contact_attr_saveB
Save TLD-specific contact attributes (e.g. .ca requires language and CIRA category)
Inputs: type (required), agreementValue (required), language (required), registrantCiraCategory.
ss_contact_getB
Read contact details by contact ID
Inputs: contactId (required).
ss_contact_saveA
Create or update a contact and get a contact ID (used for domain registration/transfers)
Inputs: firstName (required), lastName (required), email (required), phone (required), +7 more.
ss_dns_alignmentA
Compare expected DNS records against actual records to detect missing or unexpected entries
Inputs: domain (required), expected (required).
ss_dns_deleteC
Delete DNS records from a domain
Inputs: domain (required), records (required).
ss_dns_recordsB
List DNS records for a domain (paginated)
Inputs: domain (required), take, skip.
ss_dns_saveB
Add or update DNS records for a domain (up to 500 records per call)
Inputs: domain (required), records (required), force.
ss_domain_auth_codeA
Get the EPP/auth code for a domain (needed for outbound transfers)
Inputs: domain (required).
ss_domain_autorenewB
Enable or disable auto-renewal for a domain
Inputs: domain (required), enabled (required).
ss_domain_checkB
Check if a single domain is available for registration
Inputs: domain (required).
ss_domain_contactsC
Update contacts for a domain
Inputs: domain (required), registrant (required), admin, tech, +1 more.
ss_domain_email_protectionA
Toggle email protection (contact form link in WHOIS) for a domain
Inputs: domain (required), contactForm (required).
ss_domain_infoB
Get detailed info for a specific domain
Inputs: domain (required).
ss_domain_nameserversC
Update nameservers for a domain
Inputs: domain (required), provider (required), hosts.
ss_domain_privacyB
Update WHOIS privacy preference for a domain
Inputs: domain (required), level (required).
ss_domain_registerA
Register a domain (async operation — use ss_async_status to track)
Inputs: domain (required), years (required), autoRenew (required), registrant (required), +4 more.
ss_domain_renewB
Renew a domain (async operation)
Inputs: domain (required), years (required), currentExpirationDate (required).
ss_domain_restoreA
Restore a deleted/expired domain (async operation)
Inputs: domain (required).
ss_domainsA
List all domains in your Spaceship account (paginated)
Inputs: take, skip.
ss_domains_checkA
Check availability for multiple domains at once (up to 20)
Inputs: domains (required).
ss_domain_transferB
Initiate a domain transfer into Spaceship (async operation)
Inputs: domain (required), autoRenew (required), registrant (required), admin (required), +4 more.
ss_domain_transfer_detailsB
Get the status of an ongoing domain transfer
Inputs: domain (required).
ss_domain_transfer_lockC
Lock or unlock domain transfers
Inputs: domain (required), locked (required).
ss_personal_ns_deleteB
Delete a personal nameserver from a domain
Inputs: domain (required), host (required).
ss_personal_ns_getA
Get IP addresses for a specific personal nameserver host
Inputs: domain (required), host (required).
ss_personal_ns_listA
List personal (vanity/glue) nameservers for a domain
Inputs: domain (required).
ss_personal_ns_updateA
Create or update a personal nameserver (glue record)
Inputs: domain (required), currentHost (required), host (required), ips (required).
ss_sellerhub_checkoutB
Create a Buy Now checkout link for a SellerHub domain
Inputs: domain (required), amount, currency.
ss_sellerhub_createC
List a domain for sale in SellerHub
Inputs: name (required), displayName, description, binPriceEnabled, +5 more.
ss_sellerhub_deleteC
Remove a domain from SellerHub
Inputs: domain (required).
ss_sellerhub_getA
Get details for a specific SellerHub listing
Inputs: domain (required).
ss_sellerhub_listB
List domains in SellerHub marketplace (paginated)
Inputs: take, skip.
ss_sellerhub_updateC
Update a SellerHub listing
Inputs: domain (required), displayName, description, binPriceEnabled, +5 more.
ss_sellerhub_verifyB
Get DNS verification records for SellerHub domain ownership
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Each tool has a distinct purpose, clearly separating domain registration, DNS management, contact operations, seller hub, and personal nameservers. No two tools have overlapping functionality.
All tools follow the 'ss_<resource>_<action>' pattern using snake_case, making it predictable and easy to infer purpose from the name.
At 36 tools, the set significantly exceeds the 25-tool threshold for 'too many', making it overwhelming for an agent to navigate efficiently despite covering many sub-domains.
The tool set covers the full domain lifecycle (check, register, renew, restore, transfer) along with DNS, contacts, privacy, nameservers, and seller hub capabilities, leaving no obvious gaps.
Related MCP Connectors
MCP server for DNSimple — domains, DNS zone records, availability, pricing and contacts.
Official Porkbun MCP server: domains, DNS, SSL, hosting and Cloudflare via the Porkbun API.
MCP server for interacting with the Supabase platform
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server for Dynadot domain registrar API3 — manage domains, DNS, contacts, transfers & more67107 npm2MIT
- AlicenseCqualityBmaintenanceMCP server for Dynadot API to manage domains, DNS, contacts, nameservers, folders, and aftermarket.1051MIT
- AlicenseAqualityCmaintenanceA community-built MCP server for the Spaceship API, enabling management of domains, DNS records, contacts, and marketplace listings through natural language.48162 npm13MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for the Spaceship API that enables AI-driven management of domains, DNS records, contacts, and marketplace listings.162 npm4MIT