Skip to main content
Glama

ESA MCP Server

Ein MCP-Server zur bequemen Nutzung verschiedener Alibaba Cloud ESA-Dienste.


Englisch |中文

Installation

  1. Beantragen Sie AK und SK von Alibaba Cloud auf der Accesskey-Seite

https://ram.console.aliyun.com/profile/access-keys

  1. Edge Routine-Dienst aktivieren

https://esa.console.aliyun.com/edge/function/list

  1. Konfigurieren Sie in Ihrer MCP-fähigen Clientkonfiguration:

{
  "mcpServers": {
    "esa-mcp-server": {
      "command": "npx",
      "args": ["-y", "mcp-server-esa"],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "your AK",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your SK",
        "ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token optional, required when using STS Token (By default, no need to pass)"
      }
    }
  }
}

Related MCP server: MCP Server Demo

Demo-Videos

Claude Demo

1744168230082

1744168440370

Cline-Demo

1744168966418

Cline erfolgreich konfiguriert:

1744114625974

Claude erfolgreich konfiguriert:

1744165412296

Werkzeugliste

Der Server stellt die folgenden ESA-Tools bereit, die über das MCP-Protokoll aufgerufen werden können:

Kategorie

Werkzeug

Beschreibung

Routinen

routine_create

Erstellen Sie eine neue Edge Routine (ER) in Ihrem Alibaba Cloud-Konto.

routine_delete

Löschen Sie eine vorhandene Edge Routine (ER) aus Ihrem Alibaba Cloud-Konto.

Routineliste

Listen Sie alle Edge Routines (ERs) in Ihrem Alibaba Cloud-Konto auf.

routine_get

Holen Sie sich die Details einer Edge Routine (ER).

Bereitstellungen

Routinecode-Commit

Speichern Sie eine Codeversion für zukünftige Änderungen oder die Veröffentlichung innerhalb einer Edge Routine (ER).

Routinecode-Bereitstellung

Stellen Sie eine ausgewählte Codeversion in der Staging- oder Produktionsumgebung bereit.

Bereitstellung_löschen

Löschen Sie eine angegebene Codeversion, die einer Edge-Routine (ER) zugeordnet ist.

Routen

route_create

Erstellen Sie eine neue Route, die mit einer Edge Routine (ER) verknüpft ist.

Routenaktualisierung

Ändern Sie die Konfiguration einer vorhandenen Edge Routine-Route.

route_delete

Löschen Sie eine angegebene Route, die mit einer Edge-Routine (ER) verknüpft ist.

route_get

Erhalten Sie Details zu einer bestimmten Route, die mit einer Edge Routine (ER) verknüpft ist.

Routineroutenliste

Listet alle Routen auf, die mit einer bestimmten Edge Routine (ER) verknüpft sind.

Site-Routenliste

Listet alle Routen auf, die mit einer bestimmten Site verknüpft sind.

Aufzeichnungen

er_record_create

Erstellen Sie einen neuen Datensatz, der sich auf eine Edge-Routine (ER) bezieht.

er_record_delete

Löschen Sie einen angegebenen Datensatz, der einer Edge-Routine (ER) zugeordnet ist.

er_record_list

Listet alle Datensätze auf, die mit einer bestimmten Edge-Routine (ER) verknüpft sind.

Seiten

Site_Active_Liste

Listen Sie alle aktiven Sites auf, die in Ihrem Alibaba Cloud-Konto registriert sind.

Site-Übereinstimmung

Identifizieren Sie, welche Site im Konto den angegebenen Eingabekriterien entspricht.

site_dns_cname_record_create

Erstellen Sie einen CNAME-DNS-Eintrag für eine bestimmte Site.

site_dns_a_record_create

Erstellen Sie einen A-DNS-Eintrag für eine bestimmte Site.

Site-Datensatzliste

Listen Sie DNS-Einträge auf, die mit einer bestimmten Site verknüpft sind.

Beispiele für Eingabeaufforderungen

  • Schreiben Sie ein 2048-Spiel, stellen Sie es auf Edge Routine bereit und zeigen Sie die von Edge Routine bereitgestellte Standardzugriffs-URL an.

  • Löschen Sie Edge-Routinen, die nach Mai 2025 erstellt wurden.

  • Liste aller Edge-Routinen unter meinem Konto.

  • Was ist die Standardzugriffsadresse für meine Edge-Routine mit dem Namen „Hallo Welt“?

  • Erstellen Sie einen CNAME-Eintrag für test.example.com mit dem Wert example2.com

  • Erstellen Sie einen A-Eintrag für test.example.com mit dem Wert 1.1.1.1

Lizenz

MIT

Available Tools

42 tools
apply_certificateC

Applies for a free SSL certificate.

Inputs: siteId (required), domains (required), type (required).

create_siteA

Adds a website. Make sure that you have an available plan before you add a website. Make sure that your website domain name has an ICP filing if the location you want to specify covers the Chinese mainland.

Inputs: siteName (required), coverage (required), accessType (required), instanceId (required), +1 more.

create_site_a_or_aaaa_recordC

Creates a DNS record for a specific website. Only A/AAAA records are supported.

Inputs: siteId (required), recordName (required), data (required), proxied, +3 more.

create_site_cname_recordA

Creates a DNS record for a specific website. Only supports records with type=CNAME and sourceType=Domain.

Inputs: siteId (required), recordName (required), data (required), sourceType, +4 more.

create_site_mx_recordC

Creates a DNS record for a specific website. Only MX records are supported.

Inputs: siteId (required), recordName (required), data (required), bizName, +2 more.

create_site_ns_recordA

Creates a DNS record for a specific website. Only NS records are supported.

Inputs: siteId, recordName, ttl, data, +3 more.

create_site_txt_recordB

Creates a DNS record for a specific website. Only TXT records are supported.

Inputs: siteId (required), recordName (required), data (required), ttl, +1 more.

delete_certificateC

Deletes a certificate for a website.

Inputs: siteId (required), id (required).

delete_recordC

Deletes a DNS record of a website based on the specified RecordId.

Inputs: recordId (required).

deployment_deleteC

Delete a specified code version associated with an Edge Routine (ER).

Inputs: name (required), codeVersion (required).

er_record_createC

Create a new record associated with an Edge Routine (ER)

Inputs: name (required), siteId (required), recordName (required).

er_record_deleteC

Delete a specified record associated with an Edge Routine (ER).

Inputs: name (required), siteId (required), recordName (required), recordId.

er_record_listC

List all records associated with a specific Edge Routine (ER).

Inputs: Name (required), PageNumber, PageSize, SearchKeyWord.

get_certificateC

Retrieve the certificate, private key, and certificate information

Inputs: siteId (required), id (required).

get_certificate_quotaC

Query certificate quota and usage.

Inputs: siteId (required), type (required).

get_ipv6C

Queries the IPv6 configuration of a website.

Inputs: siteId (required).

get_managed_transformB

Query Managed Transform Configuration.

Inputs: siteId (required), siteVersion.

get_recordB

Queries the configuration of a single DNS record, such as the record value, priority, and origin authentication setting (exclusive to CNAME records).

Inputs: recordId (required).

get_site_pauseB

Queries the ESA proxy configuration of a website.

Inputs: siteId (required).

html_deployB

Quickly deploy an HTML page to ESA Edge Routine (ER) and return a default access URL to the user.

Inputs: name (required), html (required).

list_certificatesC

Lists certificates of a website.

Inputs: siteId (required), keyword, validOnly, pageNumber, +1 more.

list_recordsB

Queries a list of Domain Name System (DNS) records of a website, including the record value, priority, and authentication configurations. Supports filtering by specifying parameters such as RecordName and RecordMatchType.

Inputs: siteId (required), recordName, recordMatchType, pageNumber, +5 more.

list_sitesC

用于查询当前用户下的站点列表 ,包括站点的名称、状态、配置等信息。

Inputs: siteName, siteSearchType, pageNumber, pageSize, +8 more.

route_createC

Create a new route associated with an Edge Routine (ER).

Inputs: siteId (required), mode (required), rule (required), routineName (required), +5 more.

route_deleteC

Delete a specified route associated with an Edge Routine (ER).

Inputs: siteId (required), configId (required).

route_getB

Get details of a specific route associated with an Edge Routine (ER).

Inputs: siteId (required), configId (required).

route_updateC

Modify the configuration of an existing Edge Routine route.

Inputs: siteId (required), configId (required), routeName (required), routeEnable (required), +4 more.

routine_code_commitC

Save a code version for future modifications or release within an Edge Routine (ER).

Inputs: name (required), code (required), description.

routine_code_deployB

Deploy a selected code version to the staging or production environment. If version is not exist, should call routine_code_commit first

Inputs: name (required), codeVersion (required), env (required).

routine_createC

Create a new Edge Routine (ER) in your Alibaba Cloud account.

Inputs: name (required), description.

routine_deleteB

Delete an existing Edge Routine (ER) from your Alibaba Cloud account.

Inputs: name (required).

routine_getC

Get a the details of a Edge Routine (ER).

Inputs: name (required).

routine_listB

List all Edge Routines (ERs) in your Alibaba Cloud account.

Inputs: no named parameters.

routine_route_listC

List all routes associated with a specific Edge Routine (ER).

Inputs: routineName (required), routeName, pageNumber, pageSize.

set_certificateB

Configures whether to enable certificates and update certificate information for a website.

Inputs: siteId (required), type (required), name, casId, +4 more.

site_active_listB

List all active sites

Inputs: no named parameters.

site_matchC

Identify which site in the account matches the provided input criteria.

Inputs: recordName (required).

site_route_listC

List all routes associated with a specific site.

Inputs: siteId (required), routeName, pageNumber, pageSize.

update_ipv6C

Modifies the IPv6 configuration of a website.

Inputs: siteId (required), enable (required), region.

update_managed_transformC

Modifies the configuration of managed transforms for your website.

Inputs: siteId (required), addClientGeolocationHeader, siteVersion, addRealClientIpHeader, +1 more.

update_recordC

This operation allows you to update multiple types of DNS records, including but not limited to A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI. You can modify the record content by providing the necessary fields such as Value, Priority, and Flag. For origins added in CNAME records such as OSS and S3, the API enables you to configure authentication details to ensure secure access. Usage notes: The record value (Value) must match the record type. For example, the CNAME record should correspond to the target domain name. You must specify a priority (Priority) for some record types, such as MX and SRV. You must specify specific fields such as Flag and Tag for CAA records. When you update security records such as CERT and SSHFP, you must accurately set fields such as Type and Algorithm.If your origin type is OSS or S3, configure the authentication details in AuthConf based on the permissions.

Inputs: recordId (required), data (required), ttl, proxied, +6 more.

update_site_pauseB

Modifies the ESA proxy configuration of a website.

Inputs: siteId (required), paused (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 42 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap in DNS record creation tools (e.g., create_site_a_or_aaaa_record, create_site_cname_record, etc.), which could cause confusion as they all create DNS records but for different types. The descriptions help differentiate them, but the naming doesn't clearly indicate the record type in all cases.

    Naming Consistency3/5

    The naming is mixed with some consistency within groups (e.g., create_site_*_record for DNS, er_record_* for Edge Routine records), but there are deviations like html_deploy, site_active_list, and site_match that don't follow a clear pattern. Overall, it's readable but lacks a uniform convention across all tools.

    Tool Count2/5

    With 42 tools, the count is too high for the apparent scope of managing websites, DNS, certificates, and Edge Routines. This many tools can overwhelm agents and suggests fragmentation, such as separate tools for each DNS record type instead of a unified create_record with parameters.

    Completeness5/5

    The tool set provides comprehensive coverage for the domain, including site management (create, list, pause), DNS operations (create, get, list, update, delete for various record types), certificate handling (apply, get, set, delete, list), and Edge Routine lifecycle (create, get, list, delete, code commit/deploy, route management). No obvious gaps are present for core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers