spaceship-mcp
Manage domains, DNS records, contacts, marketplace listings, and more through 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-mcplist my domains"
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
A community-built Model Context Protocol (MCP) server for the Spaceship API. Manage domains, DNS records, contacts, marketplace listings, and more — all through natural language via any MCP-compatible AI client.
Note: This is an unofficial, community-maintained project and is not affiliated with or endorsed by Spaceship.
Add To Your Editor
CLI one-liners — the fastest way to get started. Pick your tool:
Claude Code
claude mcp add --scope user spaceship-mcp \
--env SPACESHIP_API_KEY=your-key \
--env SPACESHIP_API_SECRET=your-secret \
-- npx -y spaceship-mcpCodex CLI (OpenAI)
codex mcp add spaceship-mcp \
--env SPACESHIP_API_KEY=your-key \
--env SPACESHIP_API_SECRET=your-secret \
-- npx -y spaceship-mcpGemini CLI (Google)
gemini mcp add spaceship-mcp -- npx -y spaceship-mcpSet environment variables SPACESHIP_API_KEY and SPACESHIP_API_SECRET separately via ~/.gemini/settings.json.
VS Code (Copilot)
Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) > MCP: Add Server > select Command (stdio).
Or add to .vscode/mcp.json in your project directory:
{
"servers": {
"spaceship-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "spaceship-mcp"],
"env": {
"SPACESHIP_API_KEY": "your-key",
"SPACESHIP_API_SECRET": "your-secret"
}
}
}
}Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"spaceship-mcp": {
"command": "npx",
"args": ["-y", "spaceship-mcp"],
"env": {
"SPACESHIP_API_KEY": "your-key",
"SPACESHIP_API_SECRET": "your-secret"
}
}
}
}Supported Clients
This MCP server works with any client that supports the Model Context Protocol, including:
Client | Easiest install |
One-liner: | |
Codex CLI (OpenAI) | One-liner: |
Gemini CLI (Google) | One-liner: |
VS Code (Copilot) | Command Palette: |
JSON config file | |
JSON config file | |
JSON config file | |
UI settings | |
JSON settings file |
Claude Desktop / Cowork
Cowork runs inside Claude Desktop and uses the same connected MCP servers and permissions. Configure once in Claude Desktop, then the server is available in Cowork.
Add the following to your Claude Desktop config file:
Platform | Config file |
macOS |
|
Windows |
|
{
"mcpServers": {
"spaceship-mcp": {
"command": "npx",
"args": ["-y", "spaceship-mcp"],
"env": {
"SPACESHIP_API_KEY": "your-key",
"SPACESHIP_API_SECRET": "your-secret"
}
}
}
}Windsurf / Cline / Zed
Windsurf — add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"spaceship-mcp": {
"command": "npx",
"args": ["-y", "spaceship-mcp"],
"env": {
"SPACESHIP_API_KEY": "your-key",
"SPACESHIP_API_SECRET": "your-secret"
}
}
}
}Cline — open Settings > MCP Servers > Edit, then add the same mcpServers block shown above.
Zed — add to your Zed settings (~/.zed/settings.json on macOS, ~/.config/zed/settings.json on Linux):
{
"context_servers": {
"spaceship-mcp": {
"command": "npx",
"args": ["-y", "spaceship-mcp"],
"env": {
"SPACESHIP_API_KEY": "your-key",
"SPACESHIP_API_SECRET": "your-secret"
}
}
}
}Docker
docker run -i --rm \
-e SPACESHIP_API_KEY=your-key \
-e SPACESHIP_API_SECRET=your-secret \
ghcr.io/bartwaardenburg/spaceship-mcpGeneric MCP Server Config
Use this as the baseline in any host:
Command:
npxArgs:
["-y", "spaceship-mcp"]Required env vars:
SPACESHIP_API_KEY,SPACESHIP_API_SECRETOptional env vars:
SPACESHIP_CACHE_TTL,SPACESHIP_MAX_RETRIES,SPACESHIP_TOOLSETS,SPACESHIP_DYNAMIC_TOOLS(see Configuration)
Host key mapping:
Host | Top-level key | Notes |
VS Code |
| Add |
Claude Desktop / Cursor / Windsurf / Cline |
| Same command/args/env block |
Zed |
| Same command/args/env block |
Codex CLI (TOML) |
| Uses TOML, shown below |
Codex CLI (TOML config alternative)
If you prefer editing ~/.codex/config.toml directly:
[mcp_servers.spaceship-mcp]
command = "npx"
args = ["-y", "spaceship-mcp"]
env = { "SPACESHIP_API_KEY" = "your-key", "SPACESHIP_API_SECRET" = "your-secret" }Other MCP Clients
For any MCP-compatible client, use this server configuration:
Command:
npxArgs:
["-y", "spaceship-mcp"]Environment variables:
SPACESHIP_API_KEYandSPACESHIP_API_SECRET
Claude Ecosystem Notes
Claude currently has multiple MCP-related concepts that are easy to mix up:
Local MCP servers (Claude Desktop): defined in
claude_desktop_config.jsonand started on your machine (docs).Cowork: reuses the MCP servers connected in Claude Desktop (docs).
Connectors: remote MCP integrations managed in Claude (docs).
Cowork plugins: Claude-specific workflow packaging (instructions + tools/data integrations) (docs). Useful in Claude, but not portable as a generic MCP server config for other agent clients.
Verified against vendor docs on 2026-03-05.
Terminology
What is portable across hosts:
MCP server runtime settings (
command,args,env)Transport model (
stdiocommand server)Tool names and tool schemas exposed by this server
What is host/vendor-specific (not portable as-is):
Host config key names (
servers,mcpServers,context_servers,mcp_servers)Host UX/workflows for adding servers (CLI commands, UI menus, settings paths)
Anthropic-specific concepts such as Claude Desktop local MCP servers, Claude Connectors via remote MCP, and Claude Code plugins used in Cowork workflows
Features
48 tools across 8 categories covering the full Spaceship API
13 DNS record types with dedicated, type-safe creation tools (A, AAAA, ALIAS, CAA, CNAME, HTTPS, MX, NS, PTR, SRV, SVCB, TLSA, TXT)
Complete domain lifecycle — register, renew, transfer, and restore domains
SellerHub integration — list domains for sale and generate checkout links
DNS alignment analysis — compare expected vs actual records to catch misconfigurations
WHOIS privacy and contact management with TLD-specific attribute support
Input and output validation via Zod schemas on every tool for safe, predictable operations
5 MCP Resources for passive context loading (domain list, domain details, DNS records, contacts, SellerHub)
9 MCP Prompts — 5 guided workflows and 4 with argument auto-complete
Resource subscriptions with polling-based change detection and automatic notifications
Response caching with configurable TTL and automatic invalidation on writes
Rate limit handling with exponential backoff and
Retry-Afterheader supportToolset filtering to expose only the tool categories you need
Dynamic tool loading mode for agents with constrained context windows
Actionable error messages with context-aware recovery suggestions
Docker support for containerized deployment
453 unit tests with near-complete coverage
Configuration
Required
Variable | Description |
| Your Spaceship API key |
| Your Spaceship API secret |
Generate your credentials in the Spaceship API Manager.
Optional
Variable | Description | Default |
| Response cache lifetime in seconds. Set to |
|
| Maximum retry attempts for rate-limited (429) requests with exponential backoff. |
|
| Comma-separated list of tool categories to enable (see Toolset Filtering). | All toolsets |
| Set to |
|
API Key Setup
Creating Your API Key
Log in to your Spaceship account
Navigate to API Manager (direct link)
Click New API key
Give the key a descriptive name (e.g. "MCP Server")
Select the scopes you need (see below)
Copy both the API key and API secret — the secret is only shown once
Available Scopes
Each scope controls access to a specific part of the Spaceship API. When creating your key, enable only the scopes you need.
Scope | Access |
| List domains, check availability, view domain details and settings |
| Modify domain settings (nameservers, auto-renew, contacts, privacy) |
| Register, renew, restore, and transfer domains (financial operations) |
| Transfer lock, auth codes, and transfer status |
| Read saved contact profiles and attributes |
| Create and update contact profiles and attributes |
| List DNS records for your domains |
| Create, update, and delete DNS records |
| View marketplace listings and verification records |
| List/delist domains for sale, update pricing, generate checkout links |
| Poll status of async operations (registration, renewal, transfer) |
Scopes Per Feature
The table below shows which scopes are required for each group of tools.
Feature | Tools | Required scopes |
DNS Records |
|
|
|
| |
Domain Info |
|
|
Domain Settings |
|
|
Domain Lifecycle |
|
|
Transfer |
|
|
Contacts |
|
|
|
| |
Personal NS |
|
|
|
| |
SellerHub |
|
|
|
| |
Async Operations |
|
|
Analysis |
|
|
Recommended Scope Presets
Full access — enable everything for unrestricted use:
domains:read domains:write domains:billing domains:transfer
contacts:read contacts:write
dnsrecords:read dnsrecords:write
sellerhub:read sellerhub:write
asyncoperations:readDNS management only — just read/write DNS records:
dnsrecords:read dnsrecords:writeRead-only — browse domains and records without making changes:
domains:read contacts:read dnsrecords:read sellerhub:read asyncoperations:readAvailable Tools
DNS Records
Tool | Description |
| List all DNS records for a domain with pagination |
| Save (upsert) DNS records — replaces records with the same name and type |
| Delete DNS records by name and type |
Type-Specific Record Creation
Each DNS record type has a dedicated tool with type-safe parameters and validation.
Tool | Description |
| Create an A record (IPv4 address) |
| Create an AAAA record (IPv6 address) |
| Create an ALIAS record (CNAME flattening at zone apex) |
| Create a CAA record (Certificate Authority Authorization) |
| Create a CNAME record (canonical name) |
| Create an HTTPS record (SVCB-compatible) |
| Create an MX record (mail exchange) |
| Create an NS record (nameserver delegation) |
| Create a PTR record (reverse DNS) |
| Create an SRV record (service locator) |
| Create an SVCB record (general service binding) |
| Create a TLSA record (DANE/TLS certificate association) |
| Create a TXT record (text data) |
Domain Management
Tool | Description |
| List all domains in the account with pagination |
| Get detailed domain information |
| Check availability for up to 20 domains at once |
| Update nameservers for a domain |
| Toggle auto-renewal for a domain |
| Toggle transfer lock for a domain |
| Get the transfer auth/EPP code |
Domain Lifecycle
Tool | Description |
| Register a new domain (financial operation, async) |
| Renew a domain registration (financial operation, async) |
| Restore a domain from redemption grace period (financial operation, async) |
| Transfer a domain to Spaceship (financial operation, async) |
| Check the status of a domain transfer |
| Poll the status of an async operation by its operation ID |
Contacts & Privacy
Tool | Description |
| Create or update a reusable contact profile |
| Retrieve a saved contact by ID |
| Save TLD-specific contact attributes (e.g. tax IDs) |
| Retrieve all stored contact attributes |
| Update domain contacts (registrant, admin, tech, billing) |
| Set WHOIS privacy level (high or public) |
| Toggle contact form display in WHOIS |
Personal Nameservers
Tool | Description |
| List vanity/glue nameservers for a domain |
| Get details of a personal nameserver by hostname |
| Create or update a personal nameserver (glue record) |
| Delete a personal nameserver |
SellerHub
Tool | Description |
| List domains for sale on the marketplace |
| List a domain for sale with pricing |
| Get listing details |
| Update listing display name, description, and pricing |
| Remove a listing from the marketplace |
| Generate a buy-now checkout link for a listing |
| Get DNS verification records for a listing |
Analysis
Tool | Description |
| Compare expected vs actual DNS records to detect missing or unexpected entries |
MCP Resources
Resources provide passive context that clients can load without calling tools.
Resource | URI | Description |
Domain List |
| All domains in the account |
Domain Details |
| Detailed info for a specific domain |
DNS Records |
| DNS records for a specific domain |
Domain Contacts |
| Contact assignments for a domain |
SellerHub Listings |
| All SellerHub marketplace listings |
Clients that support resource subscriptions will receive automatic notifications when data changes (polled every 30 seconds).
MCP Prompts
Prompts provide guided workflows that clients can present as slash commands or quick actions.
Guided Workflows
Prompt | Description |
| Register and configure a new domain (availability check, registration, DNS, privacy) |
| Health check for an existing domain (status, DNS, privacy, auto-renew, contacts) |
| Configure email DNS records for Google Workspace, Microsoft 365, Fastmail, or a custom provider |
| Step-by-step guide to migrate DNS records to Spaceship |
| List a domain on the SellerHub marketplace with pricing and checkout link |
Auto-Complete Prompts
These prompts support argument auto-complete for domain names and common values:
Prompt | Description |
| Look up domain details with domain name auto-complete |
| List DNS records with domain and record type auto-complete |
| Set WHOIS privacy with domain and level auto-complete |
| Update nameservers with domain and provider auto-complete |
Toolset Filtering
Reduce context window usage by enabling only the tool categories you need. Set the SPACESHIP_TOOLSETS environment variable to a comma-separated list:
SPACESHIP_TOOLSETS=dns,domainsToolset | Tools included |
| Domain management and lifecycle tools |
| DNS records, record creators, and analysis |
| Contact and privacy management |
| Privacy management (same tools as |
| Personal nameserver management |
| SellerHub marketplace tools |
| Domain availability checking |
When not set, all toolsets are enabled. Invalid names are ignored; if all names are invalid, all toolsets are enabled as a fallback.
Dynamic Tool Loading
For agents with constrained context windows, dynamic mode replaces all 48 tools with 3 lightweight meta-tools:
SPACESHIP_DYNAMIC_TOOLS=trueMeta-Tool | Description |
| Search available tools by keyword to discover what's available |
| Get full parameter schemas for one or more tools before executing |
| Execute any Spaceship tool by name with arguments |
Workflow:
search_tools({ query: "dns" })— discover relevant toolsdescribe_tools({ tools: ["create_a_record"] })— get the full parameter schemaexecute_tool({ tool: "create_a_record", arguments: { ... } })— execute
Resources, prompts, and completions remain available in dynamic mode.
Security Notes
Trust model: Any prompt or agent allowed to call this MCP server can execute Spaceship API actions with the configured credentials.
Least-privilege credentials: Use separate Spaceship API keys per environment/team/use case and enable only the scopes you need (see Available Scopes).
Write-action approvals: Enable host-side approvals for mutating tools (
register_domain,create_*,update_*,delete_*,save_*,set_*, and lifecycle operations).Team config governance: Keep shared MCP config in version control, require review for changes to command/args/env/toolset filtering, and keep secrets in a vault or host secret manager (not in plain-text repo files).
Example Usage
Once connected, you can interact with the Spaceship API using natural language:
"List all my domains"
"Check if example.com is available for registration"
"Create an A record for api.example.com pointing to 203.0.113.10"
"Set up MX records for example.com to use Google Workspace"
"Enable WHOIS privacy on example.com"
"Check if my DNS records for example.com match what I expect"
"List my domains for sale on SellerHub"
"Transfer example.com to Spaceship"
Community
Support: SUPPORT.md
Security reporting: SECURITY.md
Contributing guidelines: CONTRIBUTING.md
Bug reports and feature requests: Issues
Development
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Build for production
pnpm build
# Run tests
pnpm test
# Type check
pnpm typecheckProject Structure
src/
index.ts # Entry point (stdio transport)
server.ts # MCP server setup, toolset filtering, feature registration
spaceship-client.ts # Spaceship API HTTP client with caching and retry
cache.ts # TTL-based in-memory response cache
schemas.ts # Shared Zod validation schemas
output-schemas.ts # Zod output schemas for all 48 tools
types.ts # TypeScript interfaces
tool-result.ts # Error formatting with recovery suggestions
resources.ts # MCP Resources (5 resources)
resource-subscriptions.ts # Polling-based resource change notifications
prompts.ts # MCP Prompts (5 guided workflows)
completions.ts # MCP Prompts with argument auto-complete (4 prompts)
dynamic-tools.ts # Dynamic tool loading meta-tools
dns-utils.ts # DNS record formatting utilities
update-checker.ts # NPM update notifications
tools/
dns-records.ts # List, save, delete DNS records
dns-record-creators.ts # 13 type-specific DNS record creation tools
domain-management.ts # Domain listing, settings, nameservers
domain-lifecycle.ts # Registration, renewal, transfer, restore
contacts-privacy.ts # Contact profiles and WHOIS privacy
personal-nameservers.ts # Vanity/glue nameserver management
sellerhub.ts # Marketplace listing and checkout tools
analysis.ts # DNS alignment analysisRequirements
Node.js >= 20
A Spaceship account with API credentials
License
MIT - see LICENSE for details.
This server cannot be installed
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/BartWaardenburg/spaceship-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server