Skip to main content
Glama

websupport-mcp

Un servidor MCP (TypeScript, ESM, stdio) que envuelve la API REST de Websupport v1 + v2 — DNS, FTP, alojamiento, bases de datos, buzones, VPS y facturas — expuesta como herramientas MCP con autenticación firmada HMAC-SHA1.

Estado: en desarrollo. Las 50 herramientas están implementadas y el servidor funciona. Lo que queda es verificación contra una cuenta que posea recursos reales, empaquetado y publicación. Consulte IMPLEMENTATION_PLAN.md para ver el progreso.

Niveles de riesgo

Las herramientas se registran en tres niveles, y el nivel controla el registro — un despliegue de solo lectura nunca ve una herramienta de escritura en tools/list, por lo que no cuesta contexto de cliente y no ofrece ninguna opción.

Nivel

Activación

Control adicional por llamada

Actualmente

read

siempre activo

—

30 herramientas

write

WEBSUPPORT_ALLOW_WRITE=1

—

13 herramientas

destructive

WEBSUPPORT_ALLOW_DESTRUCTIVE=1

argumento confirm: true

7 herramientas

Una herramienta es destructive cuando destruye un estado que no se puede recrear fácilmente — no solo porque escribe. Un reinicio elegante de VPS es write; un ciclo de apagado forzado es destructive, porque puede corromper escrituras en curso. Tomar una instantánea es write; restaurarla es destructive, porque descarta todo lo posterior.

Las dos activaciones son independientes: WEBSUPPORT_ALLOW_DESTRUCTIVE=1 por sí solo no desbloquea las herramientas de escritura, y viceversa.

El argumento confirm: true, no la elicitación de MCP, es el límite de seguridad. La negociación del protocolo puede establecerse muy por debajo de la revisión que admite la elicitación — el SDK de este servidor actualmente llega como máximo a 2025-11-25 — y una barrera que desaparece con un cliente más antiguo no es una barrera.

Related MCP server: cpanel-mcp

Instalación

Aún no publicado. Para ejecutarlo desde una copia local:

npm install
npm run build

Luego apunte un cliente MCP a él:

Requiere Node >= 22.

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

Credenciales

Genere un par de acceso a la API Estándar en WebAdmin (Seguridad → Claves de API). Un par solo DynDNS autentica contra /nic/update y nada más.

Variable

Requerida

Por defecto

Notas

WEBSUPPORT_API_KEY

sí

—

El identificador del par.

WEBSUPPORT_API_SECRET

sí

—

El secreto del par. Se usa para firmar HMAC-SHA1; nunca se registra, nunca se devuelve en un error.

WEBSUPPORT_API_BASE_URL

no

https://rest.websupport.sk

Selección de mercado — ver más abajo.

WEBSUPPORT_ACCEPT_LANGUAGE

no

en_us

Uno de en_us, sk, cs_cz, hu.

WEBSUPPORT_ALLOW_WRITE

no

desactivado

Establezca a 1 para registrar herramientas de escritura.

WEBSUPPORT_ALLOW_DESTRUCTIVE

no

desactivado

Establezca a 1 para registrar herramientas destructivas.

Copie .env.example para el desarrollo local. .env está en gitignore.

Mercados

Websupport es una marca regional de team.blue/Loopia, por lo que el host de la API selecciona el mercado. La misma aplicación sirve a cada host — GET /v2/docs/openapi.json es idéntico byte a byte en todos ellos — por lo que cambiar de mercado es configuración, nunca un cambio de código.

Mercado

WEBSUPPORT_API_BASE_URL

Eslovaquia (por defecto)

https://rest.websupport.sk

Chequia

https://rest.websupport.cz

Hungría

https://rest.websupport.hu

Suecia

https://rest.websupport.se

Un host no reconocido advierte a stderr y se usa de todos modos, por lo que un mercado recién añadido funciona sin esperar a una versión.

Documentación

Documento

Qué contiene

docs/tools.md

Cada herramienta: nivel, método + ruta, requisito de confirmación. Generado desde el registro — nunca editado a mano.

docs/verification-matrix.md

Lo que realmente se ha probado sobre cada herramienta, y lo que no. Lea esto antes de confiar en cualquier herramienta en producción.

Alcance

Los endpoints de creación de pedidos y de pago de facturas/pedidos están deliberadamente fuera del alcance y se verifica su ausencia mediante pruebas. El CRUD de registros DNS v1 y el CRUD de cuentas FTP v1 están obsoletos en el proveedor y no se exponen — las herramientas v2 cubren ambos.

Desarrollo

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

Las suites de red están separadas deliberadamente: una caída de Websupport no debe hacer fallar la compilación.

Cadena de herramientas

Node >= 22, para ejecutar o compilar. Node 20 llegó al final de su vida útil el 2026-04-30 y no está soportado. CI cubre las dos líneas LTS activas, 22 y 24, y compila y prueba el paquete en cada una.

Compilar también requiere npm >= 11: npm 10 no puede resolver el árbol de dependencias del empaquetador y falla con un mensaje poco útil Cannot read properties of null (reading 'edgesOut'). Si le ocurre, actualice npm en lugar de depurar el repositorio.

Seguridad

Las credenciales que este servidor posee otorgan control total de una cuenta de Websupport — no existe un par de API de solo lectura. SECURITY.md cubre cómo se manejan, qué herramientas devuelven datos sensibles y cómo informar de una vulnerabilidad de forma privada.

Contribuciones

Consulte CONTRIBUTING.md. Tenga en cuenta dos límites impuestos por pruebas en lugar de revisión: no hay endpoints de pedidos o pagos, y cada herramienta destructiva debe declarar confirm: true.

Licencia

MIT — consulte LICENSE.

Available Tools

30 tools
ws_auth_checkVerify API credentialsA
Read-onlyIdempotent

Verify that the configured Websupport API key and secret authenticate successfully. Returns {verified: true} on success. Use this first when diagnosing 401 errors.

Inputs: no named parameters.

ws_db_getGet databaseA
Read-onlyIdempotent

Get one database by id, including its name, type and connection details.

Inputs: hostingId (required), databaseId (required), userId.

ws_db_listList databasesA
Read-onlyIdempotent

List the databases on a hosting service.

Inputs: hostingId (required), userId.

ws_db_statsDatabase statisticsB
Read-onlyIdempotent

Usage statistics for one database. kind selects the series: size (storage used) or cpu (query load).

Inputs: kind (required), hostingId (required), databaseId (required), userId.

ws_db_users_listList database usersB
Read-onlyIdempotent

List the database users on a hosting service.

Inputs: hostingId (required), userId.

ws_dns_record_listList DNS recordsA
Read-onlyIdempotent

List DNS records in a service zone, with paging and server-side filtering. Returns the API pagination envelope unflattened.

Inputs: service (required), page, sortBy, filters, +2 more.

ws_dns_zone_getGet DNS zoneA
Read-onlyIdempotent

Get the DNS zone attached to a service.

Inputs: service (required).

ws_ftp_account_getGet FTP accountA
Read-onlyIdempotent

Get one FTP account by id. The password is never returned.

Inputs: service (required), ftpAccount (required).

ws_ftp_account_listList FTP accountsA
Read-onlyIdempotent

List FTP accounts on a hosting service. Passwords are never returned — the API response schema has no password field.

Inputs: service (required), page, sortBy, descending, +1 more.

ws_hosting_getGet hosting serviceA
Read-onlyIdempotent

Get one hosting service by id or uuid, including its package, limits and current usage.

Inputs: hostingId (required), userId.

ws_hosting_listList hosting servicesA
Read-onlyIdempotent

List the hosting services on the account.

Inputs: page, userId, pagesize.

ws_hosting_statsHosting statisticsA
Read-onlyIdempotent

Usage statistics for a hosting service. kind selects the series: size (disk usage), domain (per-domain traffic), or ftp (FTP activity).

Inputs: kind (required), hostingId (required), userId.

ws_hosting_vhost_getGet virtual hostA
Read-onlyIdempotent

Get one virtual host by id, including its document root and domain configuration.

Inputs: vhostId (required), hostingId (required), userId.

ws_hosting_vhost_listList virtual hostsA
Read-onlyIdempotent

List the virtual hosts (domains) served by a hosting service.

Inputs: hostingId (required), userId.

ws_invoice_getGet invoiceA
Read-onlyIdempotent

Get one invoice by id, including line items, totals and payment status. Use ws_invoice_pdf for the document itself.

Inputs: invoiceId (required), userId.

ws_invoice_listList invoicesA
Read-onlyIdempotent

List the account's invoices with their amounts, dates and payment status. Paying an invoice is deliberately out of scope for this server.

Inputs: page, userId, pagesize.

ws_invoice_pdfGet invoice PDFA
Read-onlyIdempotent

Fetch an invoice as a PDF. base64 returns the document encoded for a caller that will decode and save it. binary reports the size and type only — raw PDF bytes are never inlined into a tool result, because they would flood the conversation without being usable.

Inputs: invoiceId (required), format, userId.

ws_mailbox_getGet mailboxA
Read-onlyIdempotent

Get one mailbox by id, including its address, quota and forwarding configuration.

Inputs: hostingId (required), mailboxId (required), userId.

ws_mailbox_listList mailboxesA
Read-onlyIdempotent

List the mailboxes on a hosting service.

Inputs: hostingId (required), userId.

ws_mail_statsMail statisticsA
Read-onlyIdempotent

Mail storage statistics for a hosting service. Supply domain to scope the figures to one domain; omit it for the whole service.

Inputs: hostingId (required), domain, userId.

ws_service_getGet serviceA
Read-onlyIdempotent

Get one service by id, including its type, status and expiry. Use ws_service_list first to find the id.

Inputs: serviceId (required), userId.

ws_service_listList servicesA
Read-onlyIdempotent

List the account's services (hosting, domains, VPS and so on). Returns the v1 envelope {items, pager}. Service ids from here are the candidates for the v2 tools' service argument.

Inputs: userId.

ws_user_getGet accountA
Read-onlyIdempotent

Get the account record: id, contact details, billing profiles, market and currency. SENSITIVE — the response includes the billing address, email address, phone number, and a verifyUrl containing a live account-verification key. Do not echo the full response to the user or store it; read the specific field needed.

Inputs: userId.

ws_vps_getGet VPSA
Read-onlyIdempotent

Get one VPS by id or name, including its specification, IP addresses and power state.

Inputs: vpsId (required), userId.

ws_vps_listList VPS instancesB
Read-onlyIdempotent

List the VPS instances on the account.

Inputs: page, userId, pagesize.

ws_vps_snapshot_listList VPS snapshotsA
Read-onlyIdempotent

List the snapshots taken of a VPS, with their names and creation times.

Inputs: vpsId (required), userId.

ws_vps_statsVPS statisticsA
Read-onlyIdempotent

Usage statistics for a VPS. kind selects the series: cpu (processor load) or traffic (network transfer).

Inputs: kind (required), vpsId (required), userId.

ws_vps_vncGet VPS console accessA
Read-onlyIdempotent

Get VNC console access details for a VPS. SENSITIVE — the response may carry a one-time console URL or session credential that grants direct machine access. Hand it to the user who asked for it and nothing else: do not log it, do not repeat it in a summary, and treat it as expiring.

Inputs: vpsId (required), userId.

ws_zone_getGet DNS zoneB
Read-onlyIdempotent

Get one DNS zone by domain name.

Inputs: domain (required), userId.

ws_zone_listList DNS zonesA
Read-onlyIdempotent

List the DNS zones on the account. For the records inside a zone use the v2 tool ws_dns_record_list — v1 record CRUD is deprecated and deliberately not exposed.

Inputs: page, userId, pagesize.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 30 tools

    Disambiguation5/5

    Each tool targets a distinct resource-action pair (e.g., list vs. get for hosting, databases, mailboxes, VPS, invoices). Even similar-sounding tools like ws_dns_zone_get and ws_zone_get differ by lookup key (service vs. domain), and ws_service_get vs. ws_hosting_get are clearly scoped by description.

    Naming Consistency5/5

    All tools follow the consistent ws_verb_noun snake_case pattern (e.g., ws_dns_record_list, ws_hosting_vhost_get, ws_vps_snapshot_list). No style mixing or vague verbs.

    Tool Count2/5

    With 30 tools, the surface is heavily over-populated for a typical MCP server. While the scope spans many resource types (DNS, FTP, hosting, DBs, mail, VPS, invoices), the count exceeds the 'heavy' 16-25 band and feels excessive even for a broad control-panel API.

    Completeness2/5

    The tool set is almost entirely read-only; there are no create, update, or delete operations for any resource (DNS records, FTP accounts, databases, mailboxes, VPS snapshots, etc.). The descriptions explicitly exclude actions like paying invoices and v1 record CRUD, leaving significant gaps for an expected management surface.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers