Liquid Web MCP
<p align="center">
<img src="assets/icon-256.png" width="112" alt="Liquid Web droplet mark">
</p>
<h1 align="center">Liquid Web MCP</h1>
<p align="center">
<a href="https://github.com/patrickking67/liquid-web-mcp/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/patrickking67/liquid-web-mcp/actions/workflows/ci.yml/badge.svg"></a>
<a href="LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-0a6c93"></a>
<img alt="Node 22 or later" src="https://img.shields.io/badge/node-%E2%89%A522-13212c">
<a href="https://modelcontextprotocol.io"><img alt="Model Context Protocol" src="https://img.shields.io/badge/MCP-server%20%2B%20apps-13212c"></a>
</p>
<p align="center">
Run a Liquid Web account from Claude, Codex or any MCP client.<br>
Domains, DNS, SSL, servers, billing and support. Reads are free; writes are previewed and approved.
</p>
<p align="center">
<a href="https://patrickking67.github.io/liquid-web-mcp/"><strong>Website</strong></a> ·
<a href="#install">Install</a> ·
<a href="docs/tools.md">106 tools</a> ·
<a href="#prompts">9 prompts</a> ·
<a href="#skills">17 skills</a> ·
MCPB for Claude Desktop · Claude Code plugin · Codex plugin
</p>
```bash
npx -y github:patrickking67/liquid-web-mcp
```
<p align="center">One command for any MCP client. Node 22 or later, no build. Setup per client: <a href="docs/clients.md">docs/clients.md</a>.</p>
---
## Install
Every option runs the same server. You need a Liquid Web API user and token first; see [Get an API token](#get-an-api-token). Writes stay off until you turn them on.
| Client | How |
|---|---|
| **Claude Desktop** | Download [liquid-web.mcpb](https://github.com/patrickking67/liquid-web-mcp/releases/latest/download/liquid-web.mcpb) from the [latest release](https://github.com/patrickking67/liquid-web-mcp/releases/latest) and open it. The token goes in the OS keychain, and the [interactive views](#interactive-views) render as pages. |
| **Claude Code** | `/plugin marketplace add patrickking67/liquid-web-mcp`, then `/plugin install liquid-web@liquid-web-mcp`. Adds the server, 17 skills and 9 prompts. |
| **Codex** | `codex mcp add liquid-web -- npx -y github:patrickking67/liquid-web-mcp`, then forward credentials with [codex.toml](examples/clients/codex.toml). Codex desktop plugin: [codex/README.md](codex/README.md). |
| **Cursor** | Copy [cursor.json](examples/clients/cursor.json) to `~/.cursor/mcp.json`. |
| **VS Code with Copilot** | Copy [vscode-mcp.json](examples/clients/vscode-mcp.json) to `.vscode/mcp.json`; VS Code asks for the token in a masked prompt. |
| **Copilot coding agent** | Paste [copilot-coding-agent.json](examples/clients/copilot-coding-agent.json) in Settings > Copilot > MCP servers (read tools only). |
| **Anything else** | Command `npx`, arguments `-y github:patrickking67/liquid-web-mcp`, environment `LW_API_USER` and `LW_API_TOKEN`. |
Details, secrets handling and permission rules per client: [docs/clients.md](docs/clients.md). To run without npx, clone the repo and start `node plugin/server.mjs`, the committed self-contained bundle.
### First run
Ask: **"Run lw_doctor."** It checks credentials, API reachability, clock skew and which methods your token may call, and says what to fix.
## Get an API token
1. Sign in to [portal.liquidweb.com](https://portal.liquidweb.com) as an account owner.
2. Go to **Account > Account management > Security > API Tokens** and create a token for a dedicated API user.
3. Give it the smallest role that works. Read-only work needs no purchase or owner rights.
4. Copy the token once. Store it in the MCPB or plugin settings, or your secret manager. Never in a repo.
5. Do not enable two-factor authentication on the API user: the API does not support it. Rotate the token every 90 days or less.
Details, roles and multi-account setups: [docs/auth.md](docs/auth.md).
## What it does
```mermaid
flowchart LR
subgraph Clients
CD[Claude Desktop<br>MCPB]
CC[Claude Code<br>plugin]
CX[Codex / Cursor /<br>VS Code]
end
subgraph Server["liquid-web MCP server (Node 22, stdio)"]
T[106 tools<br>read / write / destructive / secret]
G{Safety gates<br>settings + approval}
P[9 prompts<br>20 resources]
end
subgraph External
LW[(Liquid Web API<br>v1 / bleed / v2)]
DNS[(DNS over HTTPS<br>RDAP)]
ST[(status.liquidweb.com)]
end
CD & CC & CX -->|JSON-RPC over stdio| T
T --> G --> LW
T -->|audits, no credentials| DNS
T --> ST
```
| Area | Read | Change (gated) |
|---|---|---|
| Domains | list, details, availability, price, TLD rules, contacts, nameservers, transfers, portal steps, renewal forecast, registration and zone reconcile | register, renew, auto-renew, privacy, contacts, nameservers, child nameservers, transfer in, transfer out, send EPP code |
| DNS | zones, records, delegation, summary, history and compare, export (BIND, JSON, Cloudflare), reverse DNS | create, update and delete zones and records, bulk TTL, plan-and-apply bulk import, reverse DNS |
| Audits | registrar and nameservers (RDAP), any DNS record, SPF/DKIM/DMARC/MTA-STS/TLS-RPT/BIMI, Microsoft 365 records, verification TXT propagation | none: audits never change anything |
| Servers and assets | assets, servers, power state, plans, templates, regions, IPs, firewall, bandwidth, load, history, load balancers | rename, power, update, create, reimage, terminate, cancel |
| Account | users, roles, access review, invoices, payments, balance, SSL certificates and verification, support tickets and alerts, service status | SSL auto-renew and renew, open and reply to tickets |
| Interactive views | account overview, domain portfolio, DNS zone editor, servers, domain health (MCP Apps pages; plain JSON elsewhere) | buttons call the gated write tools above, with an in-page preview and Confirm |
| Escape hatches | `lw_raw_read` for any read method, `lw_api_path_details` to describe any method | `lw_raw_call`, destructive tier, with a hard blocklist |
Full list with titles, kinds and API methods: [docs/tools.md](docs/tools.md) (generated from the server).
### Interactive views
In hosts that render [MCP Apps](https://modelcontextprotocol.io/extensions/apps) (Claude Desktop, Claude.ai, ChatGPT and others), five read-only tools also show a page next to the answer:
| Tool | Page |
|---|---|
| `lw_account_view` | Balance, open tickets, domains expiring within 30 days, zones not delegated to Liquid Web, platform incidents, which gates are on |
| `lw_domains_view` | Every registration with expiry, auto-renew, privacy and renewal price; sort, filter, toggle auto-renew, open a domain's records |
| `lw_zone_view` | One zone: delegation, records by type, add, edit and delete records, BIND export |
| `lw_servers_view` | Servers and services with live power status, start and reboot |
| `lw_domain_health_view` | RDAP and DNS health for any domains at any registrar, findings ranked by severity |
A button never does more than the model could. It calls the same tool, the settings gate applies, and a change shows its before and after in the page until someone presses Confirm. Destructive actions are not offered as buttons. Hosts without MCP Apps get the same JSON as any other tool.
## Safety model
Writes are off until you turn them on, and even then nothing changes without a preview and an approval.
```mermaid
sequenceDiagram
autonumber
participant U as You
participant C as Claude
participant S as liquid-web server
participant L as Liquid Web API
C->>S: lw_record_update (no token)
S->>S: settings gate: LW_ALLOW_WRITES?
S->>L: read current record
S-->>C: preview (before / after)
alt client supports forms
S->>U: approval form
U-->>S: approve
else
S-->>C: confirm_token (HMAC, 5 min)
C->>U: shows the preview
U-->>C: "yes"
C->>S: same call + confirm_token
end
S->>L: write once, never retried
S-->>C: result + next step
```
| Tier | Examples | Needs |
|---|---|---|
| read | lists, details, audits | nothing |
| secret | root passwords, console addresses | `LW_ALLOW_SECRETS` |
| write | DNS records, renewals, power, tickets | `LW_ALLOW_WRITES` + approval |
| destructive | deletes, terminate, reimage, transfer out, raw calls | `LW_ALLOW_WRITES` + `LW_ALLOW_DESTRUCTIVE` + approval |
- A confirm token is bound to the tool, context and exact parameters. Change one value and it is refused.
- Costly actions warn in the preview that they charge the account. Domain register and renew show Liquid Web's price; transfer in shows the registration price as a reference; SSL renew and server create cannot show a price (check the portal).
- Confirm tokens for non-idempotent writes are single-use. When the client supports elicitation (and `LW_CONFIRM_MODE` is not `token`), approval goes through the form and a token is not accepted.
- `lw_raw_call` never runs authentication, API user or token creation, user create, update or delete, ACL or role changes, payments, payment method or billing address changes, purchases, signup, order or upgrade, SSH key changes, password reset, two-factor or card methods. `lw_raw_read` refuses payment, card and paymethod methods.
- Credentials are redacted from every result, error and log line. Logs go to stderr only.
- Annotations (`readOnlyHint`, `destructiveHint`) are set from the tier, never by hand, so ChatGPT, Codex and Claude ask for confirmation in the right places.
More: [docs/mcp-design.md](docs/mcp-design.md), [SECURITY.md](SECURITY.md).
## Prompts
| Prompt | Use it to |
|---|---|
| `onboard-client-domains` | Inventory and audit a new client's domains, then plan registrar, DNS host and billing |
| `plan-nameserver-cutover` | Move a domain's DNS to Cloudflare or elsewhere with validation and rollback |
| `transfer-domain-in` | Check eligibility, price and DNS continuity, then transfer in |
| `transfer-domain-out` | Protect DNS, then unlock and send the EPP code |
| `access-review` | Review API permissions, users and tokens against least privilege |
| `reconcile-renewals` | Compare domain expiry and auto-renew against your billing list |
| `microsoft-365-domain-setup` | Plan Microsoft 365 records in a Liquid Web zone with a before/after diff |
| `dns-audit` | Find delegation problems, mail auth gaps and stale records |
| `server-health-check` | Check power state and details of every server |
## Skills
Skills load on topic in Claude Code and the Codex plugin. Each one is plain Markdown under [skills/](skills/).
| Skill | Covers |
|---|---|
| [liquid-web-standard](skills/liquid-web-standard/SKILL.md) | The MSP standard: Liquid Web as registrar, DNS in a client-owned Cloudflare account, resold renewals |
| [client-domain-onboarding](skills/client-domain-onboarding/SKILL.md) | Bringing a new client's domains under the standard |
| [domain-audit](skills/domain-audit/SKILL.md) | Read-only audit across Liquid Web, RDAP, live DNS, Cloudflare and Microsoft 365 |
| [domain-transfers](skills/domain-transfers/SKILL.md) | Nameserver cutovers, incoming and outgoing transfers |
| [microsoft-365-domains](skills/microsoft-365-domains/SKILL.md) | Adding a custom domain to Microsoft 365 |
| [domain-verification](skills/domain-verification/SKILL.md) | Verification TXT and CNAME records for SSL, Google, Microsoft and SaaS vendors |
| [dns-best-practices](skills/dns-best-practices/SKILL.md) | TTLs, apex records, CNAME rules, email auth, change checklists |
| [cloudflare-dns-pairing](skills/cloudflare-dns-pairing/SKILL.md) | Keep Liquid Web as registrar, host DNS in Cloudflare |
| [delegated-access](skills/delegated-access/SKILL.md) | Who gets which access across Liquid Web, Cloudflare and other registrars |
| [resale-billing](skills/resale-billing/SKILL.md) | Reselling domains, SSL and hosting through a PSA |
| [msp-playbook](skills/msp-playbook/SKILL.md) | Account structure, registrant choice, partner and referral programs |
| [liquid-web-api](skills/liquid-web-api/SKILL.md) | API versions, request shape, auth, pagination and error quirks |
| [developer-tips](skills/developer-tips/SKILL.md) | Scripting, Terraform, SDKs and automation beyond this server |
| [lw-cli](skills/lw-cli/SKILL.md) | Installing and authenticating the official Liquid Web CLI |
| [mcp-safe-operations](skills/mcp-safe-operations/SKILL.md) | Operating this server safely: gates, tokens, refusals |
| [remote-deployment](skills/remote-deployment/SKILL.md) | Optional remote lanes (Cloudflare Workers, Azure Container Apps) |
| [interactive-views](skills/interactive-views/SKILL.md) | Which view to open for a question, and how view buttons stay gated |
## Configuration
Set these in the MCPB or plugin settings, your client's `env`, or a `.env` file you never commit. Full list with defaults: [.env.example](.env.example).
| Variable | Default | Purpose |
|---|---|---|
| `LW_API_USER`, `LW_API_TOKEN` | none | API user and token (preferred). `LW_API_PASS` only if you cannot use a token |
| `LW_CONFIG_FILE`, `LW_CONTEXT` | none | Several Liquid Web accounts as named contexts; every tool that calls the Liquid Web API takes `context` |
| `LW_ALLOW_WRITES` | false | Enable write tools |
| `LW_ALLOW_DESTRUCTIVE` | false | Also enable destructive tools |
| `LW_ALLOW_SECRETS` | false | Enable password and console tools |
| `LW_CONFIRM_MODE` | auto | `auto`, `token` or `elicit` |
| `LW_MAX_ITEMS` | 500 | Cap for auto-paginated lists |
| `LW_LOG_LEVEL` | info | stderr log level |
A contexts file names secrets by environment variable, never inline:
```json
{
"default": "msp",
"contexts": {
"msp": { "username": "api-msp", "token_env": "LW_TOKEN_MSP" },
"lab": { "username": "api-lab", "token_env": "LW_TOKEN_LAB" }
}
}
```
## Develop
```bash
npm ci
npm run check
```
`npm run check` runs lint, typecheck, tests, and confirms that the vendored MCP Apps runtime, the MCPB manifest, [docs/tools.md](docs/tools.md), the [API spec](docs/api-reference/openapi.json) and `plugin/server.mjs` match the source. After changing tools, run `npm run release:build` to regenerate them plus the `.mcpb` and Codex zip. `npm run views:preview` shows the interactive views in a browser against a mock API, and `npm run mcpb:test` runs the packed `.mcpb` the way Claude Desktop does. [evals/](evals/) holds ten multi-step evaluation questions against a deterministic mock account, re-verified on every test run. Workflow and rules: [CONTRIBUTING.md](CONTRIBUTING.md).
| Path | What |
|---|---|
| `src/core/` | Transport-free server: config, client, gates, tool definitions, prompts, resources |
| `src/core/tools/` | One file per area; `meta.ts` is the reference pattern, `views.ts` the interactive views |
| `src/core/apps/` | MCP Apps page shell and the vendored ext-apps runtime |
| `src/stdio.ts` | Local entry point (MCPB, plugin, every desktop client) |
| `src/http.ts`, `src/worker.ts` | Optional remote lanes, see [docs/deploy-cloudflare.md](docs/deploy-cloudflare.md) and [docs/deploy-azure.md](docs/deploy-azure.md) |
| `mcpb/` | MCPB manifest and icon |
| `.claude-plugin/`, `plugin/server.mjs` | Claude Code plugin |
| `codex/` | Codex plugin launcher and settings helper |
| `skills/` | Skills shared by the Claude and Codex plugins |
| `docs/` | Architecture, design rules, API reference and OpenAPI spec, rewritten Liquid Web docs. Index: [docs/README.md](docs/README.md) |
Architecture and data flow: [docs/architecture.md](docs/architecture.md). Contributor rules for AI agents: [CLAUDE.md](CLAUDE.md) and [AGENTS.md](AGENTS.md). Machine-readable summary: [llms.txt](llms.txt).
Live read-only tests against your own account: `LW_API_USER=... LW_API_TOKEN=... npm run test:live`. No test ever writes to a real account.
## Liquid Web documentation in this repo
[docs/api-reference/openapi.json](docs/api-reference/openapi.json) is an OpenAPI 3.1 description of 842 Liquid Web methods across v1, bleed and v2, generated from the reference and marked with the tools that call each method and what live calls returned ([guide](docs/api-reference/README.md)). [docs/liquid-web/](docs/liquid-web/) and [docs/api-reference/](docs/api-reference/) are rewritten, cross-checked notes on the Liquid Web API (v1, bleed, v2), domains and DNS, SSL, billing, roles, the Cloudflare integration, partner programs and support. Facts that could not be confirmed against a live Liquid Web page are marked **Unverified**. The same material is served to the model as `lw://docs/*` resources.
## License
MIT, see [LICENSE](LICENSE). By Patrick King ([@patrickking67](https://github.com/patrickking67)).
Not affiliated with or endorsed by Liquid Web, LLC. "Liquid Web" and the droplet mark are their trademarks, used only to identify the service this connects to.
TDQS
Scored across 106 tools
Most tools target distinct resources and actions, and descriptions explain differences such as lw_asset_list versus deprecated lw_server_list. However, with 106 tools there are many close boundaries: lw_raw_read versus dedicated reads, lw_zone_details versus lw_zone_delegation, lw_system_status versus lw_status_page, and the interactive *_view tools versus their underlying list/detail tools. An agent can usually choose correctly after reading, but selection is burdensome.
All tools use a clear lw_ prefix with snake_case and generally follow a resource_action pattern such as lw_record_create, lw_zone_delete and lw_domain_renew. There are minor deviations in compound names like lw_domain_nameservers_set, lw_zone_bulk_ttl and the *_view tools, but the convention remains predictable.
The server exposes 106 tools, which is far beyond a practical single tool surface even for a broad hosting platform. The domains covered are extensive, but the count creates real discoverability and selection costs, especially with overlapping raw, dedicated and interactive view tools.
Coverage is unusually broad: DNS zones and records, domain registration lifecycle, servers and assets, billing, SSL, support, users, monitoring and audit workflows are all represented. There are gaps such as read-only firewall and billing tools, no DNS record type change, and no direct child nameserver deletion, but lw_raw_call and documented workarounds mitigate many of them.