Skip to main content
Glama

Сервер ESA MCP

MCP-сервер для удобного использования различных сервисов Alibaba Cloud ESA.


английский |中文

Установка

  1. Подайте заявку на AK и SK Alibaba Cloud на странице Accesskey

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

  1. Включить службу Edge Routine

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

  1. Настройте конфигурацию клиента с поддержкой MCP:

{
  "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

Демонстрационные видео

Клод Демо

1744168230082

1744168440370

Клайн Демо

1744168966418

Cline успешно настроен:

1744114625974

Клод успешно настроил:

1744165412296

Список инструментов

Сервер предоставляет следующие инструменты ESA, вызываемые по протоколу MCP:

Категория

Инструмент

Описание

Процедуры

routine_create

Создайте новую процедуру Edge Routine (ER) в своей учетной записи Alibaba Cloud.

рутина_удаления

Удалите существующую процедуру Edge Routine (ER) из вашей учетной записи Alibaba Cloud.

список_процедур

Перечислите все процедуры Edge (ER) в своей учетной записи Alibaba Cloud.

routine_get

Получите подробную информацию о процедуре Edge (ER).

Развертывания

routine_code_commit

Сохраните версию кода для будущих изменений или выпуска в рамках процедуры Edge (ER).

рутина_код_развертывания

Разверните выбранную версию кода в промежуточной или производственной среде.

развертывание_удаление

Удалить указанную версию кода, связанную с Edge Routine (ER).

Маршруты

route_create

Создайте новый маршрут, связанный с Edge Routine (ER).

обновление_маршрута

Измените конфигурацию существующего маршрута Edge Routine.

route_delete

Удалить указанный маршрут, связанный с пограничной процедурой (ER).

route_get

Получите подробную информацию о конкретном маршруте, связанном с Edge Routine (ER).

список_рутинных_маршрутов

Перечислите все маршруты, связанные с определенной пограничной процедурой (ER).

site_route_list

Перечислите все маршруты, связанные с определенным сайтом.

Записи

er_record_create

Создайте новую запись, связанную с Edge Routine (ER).

er_record_delete

Удалить указанную запись, связанную с процедурой Edge (ER).

er_record_list

Перечислите все записи, связанные с определенной процедурой Edge (ER).

Сайты

site_active_list

Перечислите все активные сайты, зарегистрированные в вашей учетной записи Alibaba Cloud.

site_match

Определите, какой сайт в аккаунте соответствует указанным входным критериям.

site_dns_cname_record_create

Создайте DNS-запись CNAME для указанного сайта.

site_dns_a_record_create

Создайте DNS-запись A для указанного сайта.

список_записей_сайта

Список записей DNS, связанных с определенным сайтом.

Примеры подсказок

  • Напишите игру 2048 и разверните ее в Edge Routine, а также отобразите URL-адрес доступа по умолчанию, предоставленный Edge Routine.

  • Удалить процедуры Edge, созданные после мая 2025 года.

  • Перечислите все процедуры Edge, которые есть в моей учетной записи.

  • Какой адрес доступа по умолчанию для моей процедуры Edge с именем «hello-world»?

  • Создайте запись CNAME для test.example.com со значением example2.com

  • Создайте запись A для test.example.com со значением 1.1.1.1

Лицензия

Массачусетский технологический институт

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