Skip to main content
Glama

dreamhost-mcp

MCP server for the DreamHost API. Currently exposes DNS management and API metacommands.

Authentication

DreamHost uses an API key (not OAuth). You generate it in the panel:

  1. Open DreamHost API Keys

  2. Add a comment so you can identify the key later

  3. Enable the commands you need (at minimum: dns-list_records, dns-add_record, dns-remove_record)

  4. Click Generate a new API Key now!

  5. Copy the key — it is shown once

Set it as an environment variable:

DREAMHOST_API_KEY=your_key_here

Optional:

DREAMHOST_ACCOUNT=123456   # account number from Manage Account page

Test without your own account

DreamHost provides a read-only demo key with list-only access:

6SHU5P2HLDAYECUM

Related MCP server: porkbun-mcp

Install

cd /home/chris/projects/dreamhost-mcp
npm install
npm run build

Cursor MCP config

This server runs in WSL. Copy cursor-mcp.example.json into your Cursor MCP settings (~/.cursor/mcp.json):

{
  "mcpServers": {
    "dreamhost-mcp": {
      "command": "wsl",
      "args": ["-e", "/home/chris/projects/dreamhost-mcp/scripts/cursor-mcp.sh"],
      "env": {
        "WSLENV": "DREAMHOST_API_KEY/u:DREAMHOST_ACCOUNT/u",
        "DREAMHOST_API_KEY": "your_key_here"
      }
    }
  }
}

Tools

Tool

DreamHost command

Description

dns_list_records

dns-list_records

List all DNS records

dns_add_record

dns-add_record

Add a DNS record

dns_remove_record

dns-remove_record

Remove a DNS record

api_list_accessible_commands

api-list_accessible_cmds

Commands your key can run

api_list_keys

api-list_keys

List API keys (needs * permission)

API scope note

DreamHost has removed most legacy API commands (mail, users, databases, etc.). As of 2026, only DNS and metacommands remain in their public API.

Available Tools

5 tools
api_list_accessible_commandsA

List API commands your current API key is allowed to run.

Inputs: no named parameters.

api_list_keysA

List all API keys on the account. Requires a key with full (*) permissions.

Inputs: no named parameters.

dns_add_recordB

Add a DNS record to a domain. Propagation can take several hours.

Inputs: type (required), value (required), record (required), comment, +1 more.

dns_list_recordsA

List all DNS records for domains on your DreamHost account.

Inputs: no named parameters.

dns_remove_recordA

Remove a DNS record. record, type, and value must match the existing record exactly.

Inputs: type (required), value (required), record (required), unique_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: API key management and DNS record management are separate groups with no overlap.

    Naming Consistency5/5

    All tools follow a consistent 'prefix_verb_noun' pattern using snake_case, such as api_list_keys and dns_add_record.

    Tool Count4/5

    5 tools is a reasonable number for a focused set covering API keys and DNS, though the broader DreamHost domain could justify a few more.

    Completeness3/5

    The set covers core operations but lacks DNS record update and API key creation/deletion, which are notable gaps for typical management tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers