New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

websupport-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websupport-mcp

MCP server wrapping the Websupport REST API v1 + v2 — DNS, FTP, hosting, databases, mailboxes, VPS, invoices

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
28
-44%
Maintainers
1
Weekly downloads
 
Created
Source

websupport-mcp

An MCP server (TypeScript, ESM, stdio) wrapping the Websupport REST API v1 + v2 — DNS, FTP, hosting, databases, mailboxes, VPS and invoices — exposed as MCP tools with signed HMAC-SHA1 authentication.

Status: in development. All 50 tools are implemented and the server runs. What remains is verification against an account that owns real resources, packaging, and release. See IMPLEMENTATION_PLAN.md for progress.

Risk tiers

Tools are registered in three tiers, and the tier gates registration — a read-only deployment never sees a write tool in tools/list at all, so it costs no client context and offers no affordance.

TierOpt-inExtra per-call gateCurrently
readalways on—30 tools
writeWEBSUPPORT_ALLOW_WRITE=1—13 tools
destructiveWEBSUPPORT_ALLOW_DESTRUCTIVE=1confirm: true argument7 tools

A tool is destructive when it destroys state you cannot cheaply recreate — not merely because it writes. A graceful VPS reboot is write; a hard power-cycle is destructive, because it can corrupt in-flight writes. Taking a snapshot is write; restoring one is destructive, because it discards everything since.

The two opt-ins are independent: WEBSUPPORT_ALLOW_DESTRUCTIVE=1 alone does not unlock write tools, and vice versa.

The confirm: true argument, not MCP elicitation, is the safety boundary. Protocol negotiation may settle well below the revision that supports elicitation — this server's SDK currently tops out at 2025-11-25 — and a gate that disappears against an older client is not a gate.

Install

Not yet published. To run from a local checkout:

npm install
npm run build

Then point an MCP client at it:

Requires Node >= 22.

{
  "mcpServers": {
    "websupport": {
      "command": "node",
      "args": ["/absolute/path/to/websupport-mcp/dist/index.js"],
      "env": {
        "WEBSUPPORT_API_KEY": "…",
        "WEBSUPPORT_API_SECRET": "…"
      }
    }
  }
}

Credentials

Generate a Standard API access pair in WebAdmin (Security → API keys). A DynDNS-only pair authenticates against /nic/update and nothing else.

VariableRequiredDefaultNotes
WEBSUPPORT_API_KEYyes—The pair's identifier.
WEBSUPPORT_API_SECRETyes—The pair's secret. Used for HMAC-SHA1 signing; never logged, never returned in an error.
WEBSUPPORT_API_BASE_URLnohttps://rest.websupport.skMarket selection — see below.
WEBSUPPORT_ACCEPT_LANGUAGEnoen_usOne of en_us, sk, cs_cz, hu.
WEBSUPPORT_ALLOW_WRITEnooffSet to 1 to register write tools.
WEBSUPPORT_ALLOW_DESTRUCTIVEnooffSet to 1 to register destructive tools.

Copy .env.example for local development. .env is gitignored.

Markets

Websupport is a regional team.blue/Loopia brand, so the API host selects the market. The same application serves every host — GET /v2/docs/openapi.json is byte-identical across all of them — so switching markets is configuration, never a code change.

MarketWEBSUPPORT_API_BASE_URL
Slovakia (default)https://rest.websupport.sk
Czechiahttps://rest.websupport.cz
Hungaryhttps://rest.websupport.hu
Swedenhttps://rest.websupport.se

An unrecognised host warns to stderr and is used anyway, so a newly added market works without waiting for a release.

Documentation

DocumentWhat it holds
docs/tools.mdEvery tool: tier, method + path, confirm requirement. Generated from the registry — never hand-edited.
docs/verification-matrix.mdWhat has actually been proven about each tool, and what has not. Read this before trusting any tool in production.
docs/system-architecture.mdThe request path, the signing contract and its three counter-intuitive rules, and how the tier model works.
docs/codebase-summary.mdModule map — what lives where and why.
examples/mcp-config/Ready-to-edit client configurations for each tier combination.

Scope

Order creation and invoice/order payment endpoints are deliberately out of scope and are asserted absent by test. v1 DNS-record CRUD and v1 FTP-account CRUD are deprecated upstream and are not exposed — the v2 tools cover both.

Development

npm test              # offline suite
npm run test:network  # live, unauthenticated probes (market hosts + OpenAPI drift)
npm run typecheck
npm run lint
npm run build

Network suites are separated deliberately: a Websupport outage must not fail the build.

Toolchain

Node >= 22, to run or to build. Node 20 reached end of life on 2026-04-30 and is not supported. CI covers the two live LTS lines, 22 and 24, and builds and smoke-tests the bundle on each.

Building also needs npm >= 11: npm 10 cannot resolve the bundler's dependency tree and fails with an unhelpful Cannot read properties of null (reading 'edgesOut'). If you hit that, upgrade npm rather than debugging the repository.

Security

The credentials this server holds grant full control of a Websupport account — there is no read-only API pair. SECURITY.md covers how they are handled, which tools return sensitive data, and how to report a vulnerability privately.

Contributing

See CONTRIBUTING.md. Note two boundaries enforced by test rather than review: no order or payment endpoints, and every destructive tool must declare confirm: true.

Licence

MIT — see LICENSE.

Keywords

mcp

FAQs

Package last updated on 25 Aug 2026

Related posts