The ESA MCP Server provides a convenient interface to manage Alibaba Cloud ESA services via the MCP protocol, primarily focusing on Edge Routines and related configurations.
Key capabilities include:
- Manage Edge Routines: Create, delete, list, and get details of Edge Routines
- Deploy Code: Commit and deploy code versions to staging or production environments, and delete deployments
- Manage Routes: Create, update, delete, and list routes associated with Edge Routines or sites
- Handle Records: Create, delete, and list records related to Edge Routines and sites
- Manage Sites: List active sites, match sites based on criteria, and create DNS records
- Canary Deployment: List available canary areas and deploy code with canary release options
ESA MCP Server
An MCP server to conveniently use various Alibaba Cloud ESA services.
Installation
- Apply for Alibaba Cloud's AK and SK on the Accesskey page
https://ram.console.aliyun.com/profile/access-keys
- Enable Edge Routine service
https://esa.console.aliyun.com/edge/function/list
- Configure in your MCP-enabled client config:
Demo Videos
Claude Demo
Cline Demo
Cline configured successfully:
Claude configured successfully:
Tools List
The server provides the following ESA tools callable via the MCP protocol:
Category | Tool | Description |
---|---|---|
Routines | routine_create | Create a new Edge Routine (ER) in your Alibaba Cloud account. |
routine_delete | Delete an existing Edge Routine (ER) from your Alibaba Cloud account. | |
routine_list | List all Edge Routines (ERs) in your Alibaba Cloud account. | |
routine_get | Get a the details of a Edge Routine (ER). | |
Deployments | routine_code_commit | Save a code version for future modifications or release within an Edge Routine (ER). |
routine_code_deploy | Deploy a selected code version to the staging or production environment. | |
deployment_delete | Delete a specified code version associated with an Edge Routine (ER). | |
Routes | route_create | Create a new route associated with an Edge Routine (ER). |
route_update | Modify the configuration of an existing Edge Routine route. | |
route_delete | Delete a specified route associated with an Edge Routine (ER). | |
route_get | Get details of a specific route associated with an Edge Routine (ER). | |
routine_route_list | List all routes associated with a specific Edge Routine (ER). | |
site_route_list | List all routes associated with a specific site. | |
Records | er_record_create | Create a new record related to an Edge Routine (ER). |
er_record_delete | Delete a specified record associated with an Edge Routine (ER). | |
er_record_list | List all records associated with a specific Edge Routine (ER). | |
Sites | site_active_list | List all active sites registered in your Alibaba Cloud account. |
site_match | Identify which site in the account matches the provided input criteria. | |
site_dns_cname_record_create | Create a CNAME DNS record for a specified site. | |
site_dns_a_record_create | Create an A DNS record for a specified site. | |
site_record_list | List DNS records associated with a specific site. |
Prompt Examples
- Write a 2048 game and deploy it on Edge Routine, and display the default access URL provided by the Edge Routine.
- Delete Edge routines created after May 2025.
- List all Edge routines are under my account.
- What is the default access address for my Edge Routine named "hello-world"?
- Create a CNAME record for
test.example.com
with the value set toexample2.com
- Create a A record for
test.example.com
with the value set to1.1.1.1
License
MIT
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An implementation of the Model Context Protocol server that enables AI models to communicate with Edge Security Acceleration (ESA) services, allowing models to manage routines, deployments, routes, records, and sites through standardized protocols.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.Last updated -462Python
- -security-license-qualityA proof of concept implementation of Model Context Protocol server running on Cloudflare's edge network with bearer token authentication, allowing deployed AI models to access tools via serverless architecture.Last updated -TypeScript
- -security-license-qualityA Model Context Protocol server that enables AI assistants like Claude to track events, page views, user signups, set user properties, and track revenue in Amplitude analytics.Last updated -JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that connects AI assistants like Claude to AWS security services, allowing them to autonomously query, inspect, and analyze AWS infrastructure for security issues and misconfigurations.Last updated -10045PythonApache 2.0