• Applicable Software: MokoGIT
  • Min Version Number: 02.09.00
  • Max Version Number: Not Applicable

The MokoConsulting DreamHost MCP server connects your AI assistant directly to the DreamHost API, so you can manage DNS records, domains, hosting accounts, MySQL databases, and email from a natural-language conversation. It runs locally over the Model Context Protocol (MCP), reads your DreamHost API key from a simple config file, and never requires exposing credentials to a third-party service. Whether you are adding an A record, auditing domain expiry dates, or listing hosting users, the server exposes focused, safe tools your agent can call on demand.

What it is

@mokoconsulting/mcp-mokodreamhost is a Model Context Protocol (MCP) server that wraps the DreamHost API. It lets any MCP-compatible AI client — such as Claude Code — read and manage DreamHost DNS records, hosted domains, domain registrations, hosting users, MySQL databases, and email addresses through a small set of purpose-built tools.

The server is written in TypeScript, communicates over stdio, and authenticates to DreamHost using a Web Panel API key that you control. It is part of the Moko Consulting infrastructure toolset and is licensed under GPL-3.0-or-later.

  • Package: @mokoconsulting/mcp-mokodreamhost
  • Version: 1.3.0
  • Binary: dreamhost-mcp
  • Requires: Node.js 20 or newer

Install (npm)

The package is published to public npm under the @mokoconsulting scope. Install it globally:

npm install -g @mokoconsulting/mcp-mokodreamhost

Or run it on demand without a global install using npx:

npx -y @mokoconsulting/mcp-mokodreamhost

Requires Node.js 20 or newer. Optionally, you can pull the package from the MokoGIT registry mirror by adding this scope-to-registry mapping to your .npmrc:

@mokoconsulting:registry=https://git.mokoconsulting.tech/api/packages/MokoConsulting/npm/

Configure

The server reads a DreamHost API key from ~/.dreamhost-mcp.json:

{
  "apiKey": "your-dreamhost-api-key"
}

Generate an API key at DreamHost Panel > Web Panel API. You can override the config file location with the DREAMHOST_MCP_CONFIG environment variable.

Register the server with your MCP client (for example, in .mcp.json):

{
  "mcpServers": {
    "dreamhost": {
      "command": "dreamhost-mcp",
      "env": {
        "DREAMHOST_MCP_CONFIG": "/path/to/config.json"
      }
    }
  }
}

The only environment variable the server reads is DREAMHOST_MCP_CONFIG (optional — it defaults to ~/.dreamhost-mcp.json). The env block above is optional and only needed if you keep your config somewhere other than the default path.

Tooling

The server exposes 13 tools across five areas:

  • DNS managementdreamhost_dns_list (list records, optional domain filter), dreamhost_dns_add (add A, AAAA, CNAME, MX, TXT, or SRV records), dreamhost_dns_remove (remove a record by exact match), and dreamhost_dns_check (check whether a record exists for a domain, with optional type filter).
  • Domainsdreamhost_domain_list (list all hosted domains) and dreamhost_domain_registrations (list registrations with expiry dates).
  • Hosting accountsdreamhost_user_list (list hosting users and accounts) and dreamhost_account_status (account status and usage).
  • Databasesdreamhost_mysql_list (list MySQL databases) and dreamhost_mysql_users (list database users).
  • Email & accountdreamhost_mail_list (list email addresses, optional domain filter), dreamhost_api_commands (list the API commands available to your key), and dreamhost_rewards_referrals (list referral rewards).

Get help

Need a hand? Open a support ticket with Moko Consulting or call (931) 279-6313, and our team will help you get set up.