Spaceship MCP Server
Provides tools for managing domains on Spaceship: listing domains and checking availability, reading and modifying DNS records (A, AAAA, CNAME, MX, TXT, NS, SRV), switching nameservers (e.g. to Cloudflare), and handling domain lifecycle tasks such as auto-renew, renewal, transfer locks, EPP auth codes, inbound transfers and transfer status. Also covers WHOIS privacy level, email protection, contact assignments, personal nameserver/glue records, and polling of asynchronous operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Spaceship MCP Server
An MCP (Model Context Protocol) server for managing domains, DNS records, and nameservers on Spaceship.com — directly from Claude, Cursor, or any MCP-compatible AI client.
Features
22 tools covering the full Spaceship API:
Category | Tools |
Domains | List domains, get domain details, check availability (single + bulk) |
DNS Records | Get, create/update, delete — supports A, AAAA, CNAME, MX, TXT, NS, SRV |
Nameservers | Get and update nameservers (switch to Cloudflare, etc.) |
Management | Auto-renew, transfer lock, transfer auth code, domain renewal |
Privacy | WHOIS privacy level, email protection/contact form |
Transfers | Initiate inbound transfers, check transfer status |
Contacts | Update domain contact assignments |
Personal NS | Manage glue records (personal nameservers) |
Async Ops | Check status of async operations |
Related MCP server: AgentDomain
Quick Start
1. Get your Spaceship API credentials
Go to your Spaceship account → API → Create a new API key. You'll get an API Key and API Secret.
2. Install
# Clone the repo
git clone https://github.com/YahIsKing/spaceship-mcp.git
cd spaceship-mcp
npm install3. Add to Claude Code
claude mcp add spaceship \
--scope user \
-e SPACESHIP_API_KEY=your_key_here \
-e SPACESHIP_API_SECRET=your_secret_here \
-- node /path/to/spaceship-mcp/index.jsThen restart Claude Code. The Spaceship tools will be available globally across all projects.
Alternative: Use a .env file
Copy .env.example to .env and fill in your credentials:
cp .env.example .envSPACESHIP_API_KEY=your_key_here
SPACESHIP_API_SECRET=your_secret_hereThen add to Claude without inline env vars:
claude mcp add spaceship --scope user -- node /path/to/spaceship-mcp/index.jsFor Cursor / VS Code
Add to your MCP settings (.cursor/mcp.json or VS Code MCP config):
{
"mcpServers": {
"spaceship": {
"command": "node",
"args": ["/path/to/spaceship-mcp/index.js"],
"env": {
"SPACESHIP_API_KEY": "your_key_here",
"SPACESHIP_API_SECRET": "your_secret_here"
}
}
}
}Usage Examples
Once connected, you can ask your AI assistant to:
"List all my domains"
"Get DNS records for example.com"
"Add a CNAME record for www pointing to my-app.vercel-dns.com"
"Switch example.com nameservers to Cloudflare"
"Check if coolstartup.com is available"
"Enable auto-renew on all my domains"
"Get the transfer auth code for example.com"
"Set WHOIS privacy to high on all domains"
Tools Reference
Domain Queries
Tool | Description |
| List all domains with pagination |
| Get full domain details (expiry, status, nameservers, contacts) |
| Check if a single domain is available |
| Check availability of multiple domains at once |
DNS Records
Tool | Description |
| Get all DNS records for a domain (full values, no truncation) |
| Add or update DNS records (handles type-specific field mapping) |
| Delete specific DNS records by type, name, and value |
Supported record types: A, AAAA, CNAME, MX, TXT, NS, SRV
The server automatically maps record values to the correct Spaceship API fields:
A/AAAA →
addressCNAME →
cnameMX →
exchange+preferenceTXT →
valueNS →
nsdnameSRV →
target+priority
Nameservers
Tool | Description |
| Get current nameservers for a domain |
| Update nameservers (e.g., point to Cloudflare) |
Domain Management
Tool | Description |
| Enable or disable auto-renewal |
| Renew a domain for additional years |
| Get the EPP authorization code for outbound transfers |
| Lock or unlock domain transfers |
| Initiate an inbound domain transfer to Spaceship |
| Check the status of an in-progress transfer |
Privacy & WHOIS
Tool | Description |
| Set WHOIS privacy level (high, low, off) |
| Toggle WHOIS contact form |
Contacts
Tool | Description |
| Update registrant, admin, tech, billing contacts |
Personal Nameservers (Glue Records)
Tool | Description |
| List personal nameserver records |
| Create or update a glue record |
| Delete a glue record |
Async Operations
Tool | Description |
| Check status of async operations (registration, transfer) |
API Notes
This server was built by reverse-engineering the Spaceship API, as their documentation has inaccuracies. Key findings:
DNS endpoint:
/v1/dns/records/{domain}(not/v1/domains/{domain}/dns/records)DNS DELETE: Expects a bare JSON array, not
{ items: [...] }DNS PUT: Expects
{ items: [...] }with type-specific value fieldsAuto-renew field:
isEnabled(notautoRenew)Transfer lock field:
isLocked(nottransferLock)Multi-availability field:
domains(notdomainNames)Nameservers: Included in domain detail response, no separate GET endpoint
Set nameservers: Requires
{ provider: "custom"|"basic", hosts: [...] }
Requirements
Node.js 18+
Spaceship API key and secret
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Register, transfer and manage domain names and DNS from your AI agent.
Custom domains for SaaS and AI agents: search, register, connect DNS, and issue HTTPS over MCP.
Domain search, registration, DNS, marketplace, and checkout with your AI agent.
Find, register, and manage domains from any AI chat or agent
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides integration with the Namecheap API for domain management operations, including domain listing, availability checks, and nameserver configuration. It allows users to interact with their Namecheap account through natural language commands in MCP-compatible clients.320MIT
- AlicenseAqualityDmaintenanceAgentDomain MCP allows AI agents to register, buy, and manage internet domains via the Model Context Protocol. Features include domain search, availability check, purchase, DNS record management, and wallet operations.1387 PyPI3MIT
- AlicenseAqualityBmaintenanceA community-built MCP server for the Spaceship API, enabling management of domains, DNS records, contacts, and marketplace listings through natural language.48674 npm13MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for the Spaceship API that enables AI-driven management of domains, DNS records, contacts, and marketplace listings.674 npm4MIT