Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-server-esa

MCP.Pizza Chef: aliyun

The mcp-server-esa is an MCP server that integrates various Alibaba Cloud Edge Service Architecture (ESA) services, enabling developers to leverage Alibaba's edge computing capabilities within MCP-enabled clients. It facilitates secure and convenient access to Alibaba Cloud's Edge Routine services by managing authentication and configuration, streamlining edge function deployment and execution in real-time AI workflows.

Use This MCP server To

Invoke Alibaba Cloud ESA edge functions from MCP clients Manage edge computing tasks within AI-enhanced workflows Securely authenticate with Alibaba Cloud using AK/SK credentials Integrate Alibaba Cloud edge services into multi-cloud MCP environments Deploy and test edge routines via MCP client configurations

README

ESA MCP Server

An MCP server to conveniently use various Alibaba Cloud ESA services.


English | 中文

Installation

  1. Apply for Alibaba Cloud's AK and SK on the Accesskey page

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

  1. Enable Edge Routine service

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

  1. Configure in your MCP-enabled client config:
{
  "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)"
      }
    }
  }
}

Demo Videos

Claude Demo

1744168230082

1744168440370

Cline Demo

1744168966418

Cline configured successfully:

1744114625974

Claude configured successfully:

1744165412296

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 to example2.com
  • Create a A record for test.example.com with the value set to 1.1.1.1

License

MIT

mcp-server-esa FAQ

How do I configure the mcp-server-esa with Alibaba Cloud credentials?
You must provide your Alibaba Cloud Access Key ID and Secret Key in the MCP client environment variables as shown in the installation instructions.
Is it necessary to enable the Edge Routine service on Alibaba Cloud before using this server?
Yes, enabling the Edge Routine service is required to use the ESA MCP server functionalities.
Can I use temporary security tokens with mcp-server-esa?
Yes, the server supports Alibaba Cloud Security Tokens (STS) for temporary credentials if needed.
What MCP clients are compatible with mcp-server-esa?
Any MCP-enabled client that supports server configuration can integrate with mcp-server-esa, including those using models like OpenAI, Claude, and Gemini.
Does mcp-server-esa support multi-language documentation?
Yes, documentation is available in both English and Chinese to assist diverse users.
How do I install mcp-server-esa?
Installation is done via npm using the command 'npx -y mcp-server-esa' as part of your MCP client configuration.
Can mcp-server-esa be used for real-time AI workflows?
Yes, it enables real-time interaction with Alibaba Cloud edge services within AI-enhanced workflows.
Are there demo resources available to understand mcp-server-esa usage?
Yes, demo videos showcasing integration with Claude and Cline are provided in the documentation.