Alibaba Cloud FC MCP Server
OfficialThe Alibaba Cloud FC MCP Server enables integration of Alibaba Cloud Function Compute capabilities into MCP Client-supported agent applications like Cursor and Cline.
With this server, you can:
Deploy and Update Functions: Package, deploy, and modify custom runtime functions with options to update specific parameters or overwrite existing functions
Manage Functions: Retrieve detailed information, list functions with filtering options, and delete functions within specified regions
Handle Custom Domain Configurations: Query, create, update, and delete domain routing configurations (requires prior CNAME setup)
Version Control: Publish new versions of functions, list all versions, and delete specific versions
Integrate with Agent Applications: Configure and interact through popular agent applications for streamlined development and deployment
Enables deploying and managing serverless functions on Alibaba Cloud Function Compute (FC) service, including creating custom runtime functions, updating configurations, managing custom domain routes, and retrieving function information.
Integrates with Serverless Devs for deploying and managing serverless applications on Alibaba Cloud Function Compute.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Alibaba Cloud FC MCP Server deploy my 2048 game project to function compute"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Alibaba Cloud FC MCP Server
This project is the MCP Server for Alibaba Cloud Function Compute (FC) service, based on Serverless Devs and OpenAPI.
Usage Scenarios
Integrate Alibaba Cloud Function Compute capabilities into agent applications that support MCP Client (such as Cursor, Claude, Cline).
Related MCP server: DataWorks MCP Server
Prerequisites
Install Node.js (version 18 or above is required).
Prepare your Alibaba Cloud credentials (
AccessKeyIdandAccessKeySecret). The following permissions are recommended:AdministratorAccess(recommended for full functionality), or at minimum:AliyunFCFullAccess(required)AliyunDevsFullAccess(recommended)AliyunVPCFullAccess(recommended)AliyunLogFullAccess(recommended)AliyunEventBridgeFullAccess(optional)
Quick Start
Method 1: Start from npm package [Recommended for MCP Server users]
You can use the following command to start the MCP server in stdio mode:
ALIBABA_CLOUD_ACCESS_KEY_ID=${your-access-key-id} ALIBABA_CLOUD_ACCESS_KEY_SECRET=${your-access-key-secret} npx alibabacloud-fc-mcp-serverUsing Cursor [Recommended]
Click
or edit the Cursor configuration file (doc), and add the following configuration:
"alibabacloud-fc-mcp-server": {
"command": "npx",
"args": ["-y", "alibabacloud-fc-mcp-server"],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "${your-access-key-id}",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "${your-access-key-secret}"
}
}
Create a new empty project and open it in Cursor. Chat with Cursor in agent mode. Input the
Promptsbelow to guide the conversation.

Ask the Cursor agent to generate a 2048 game project, then ask the agent to deploy it to Alibaba Cloud Function Compute.

Wait for the agent to generate the project and deploy it to Alibaba Cloud Function Compute.

Using Cline
Edit the Cline configuration file (doc), and add the following configuration:
"alibabacloud-fc-mcp-server": {
"command": "npx",
"args": ["-y", "alibabacloud-fc-mcp-server"],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "${your-access-key-id}",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "${your-access-key-secret}"
}
}Method 2: Start from source code [Recommended for MCP Server developers]
First, clone the project and build it:
git clone https://github.com/alibaba/alibabacloud-fc-mcp-server.git
cd alibabacloud-fc-mcp-server
npm install
npm run buildThen start the MCP server in
stdiomode:
ALIBABA_CLOUD_ACCESS_KEY_ID=${your-access-key-id} ALIBABA_CLOUD_ACCESS_KEY_SECRET=${your-access-key-secret} node {absolute-path-to-project}/build/index.jsFinally, configure the MCP server in Cursor or Cline as in Method 1.
Components
Tools
put-custom-runtime-function: Package a project that meets Alibaba Cloud custom runtime requirements, create a function, and deploy the code to that function. If the function already exists, it will attempt to overwrite and update the target function. It is recommended to check if the function exists before using this method, and confirm updates if necessary.update-custom-runtime-function: Update a custom runtime function. Only the provided parameters will be updated; others remain unchanged.get-function: Retrieve detailed information about a specified function.list-functions: List all functions in the specified region, returning only function names and partial information. For full details, useget-function.delete-function: Delete a specified function.get-custom-domain-config: Query the custom domain route configuration.update-custom-domain-config: Update the custom domain route configuration.create-custom-domain-config: Create a custom domain route configuration. The domain must already be CNAMEed to the public Function Compute domain (format: ${uid}.${regionId}.fc.aliyuncs.com, e.g. 14**49.cn-hangzhou.fc.aliyuncs.com), otherwise it will fail to create.delete-custom-domain-config: Delete the custom domain route configuration.get-custom-runtime-prompt: Get the custom runtime prompt. Will be moved to Prompts in the future.
Prompts
# Role
You are a professional Alibaba Cloud Function Compute (FC) Copilot, focused on providing customers with advice on building and deploying code to Function Compute.
## Function Compute Build Constraints
- The project must be built before it can be deployed to Function Compute. For languages like Python, dependencies should be installed in ./python at the project root; for Node, dependencies should be installed in ./node_modules at the project root; for Java, use Maven or Gradle to package the project as a Jar with dependencies. This ensures runtime dependencies can be found.
- The project build must meet the Function Compute runtime constraints.
- You do not need to package the project; after building, you can directly use the MCP Server tools for deployment.
## Function Compute Runtime Constraints
- The user must expose a port to provide an HTTP service at runtime.
- The runtime environment is debian10, with Python 3.10, Node 20, and OpenJDK JRE 21 pre-installed.
- Function Compute provides specific runtime environments for Python, Node, Java, and Golang. Python 3.10 is installed at /opt/python3.10, and /opt/python3.10/bin as well as /code/python in the code package are added to the PATH environment variable by default. Node 20 is installed at /opt/nodejs20, and /opt/nodejs20/bin as well as /code/node_modules in the code package are added to the PATH by default. OpenJDK 21 is installed at /opt/java21, and /opt/java21/bin is added to the PATH by default, with JAVA_HOME set to /opt/java21. If you modify the PATH, you should include the above contents. Golang does not require a runtime environment.
## Skills
### Skill 1: Problem Decomposition and Analysis
- Able to deeply decompose user questions, clarify the core requirements and possible steps or commands involved.
- Provide clear task breakdown steps to ensure each step leads to the final solution.
- Organize answers in tabular form whenever possible.
### Skill 2: alibabacloud-fc-mcp-server MCP Tool Usage
- Proficient in using the alibabacloud-fc-mcp-server MCP tools to obtain function information or perform related operations.
- Task decomposition must be completed before tool invocation, ensuring the logic is clear and meets customer needs.
- Select the appropriate MCP module based on the user's specific problem, such as creating or updating custom runtime functions.
## Constraints
- **Task Decomposition First**: Detailed task breakdown steps must be provided first.
- **Clear Tool Dependency**: All operations requiring MCP tool invocation should be based on clear task requirements and logical reasoning.
- **Code Generation and Build**: Code must be built locally before being deployed and run on Function Compute. Code generation and build must meet the Function Compute build and runtime constraints.MCP MarketPlace Integration
This project is integrated into Alibaba Cloud MCP MarketPlace. You can access it via the following link:
License
This project is licensed under the MIT License. See the LICENSE file for details.
本项目基于 MIT License 开源。详情参见 LICENSE 文件。
Available Tools
12 toolscreate-custom-domain-configB
创建函数计算的域名路由配置,域名必须已经CNAME到函数计算的公网域名(格式为${uid}.${regionId}.fc.aliyuncs.com,例如14**49.cn-hangzhou.fc.aliyuncs.com)上,否则会创建失败。
Inputs: createCustomDomainConfig (required), region.
delete-custom-domain-configA
删除函数计算的域名路由配置,CNAME记录不会被删除,需要手动删除CNAME记录
Inputs: domain (required), region.
delete-functionC
删除函数计算的函数
Inputs: functionName (required), region.
delete-function-versionC
删除函数计算的函数版本
Inputs: functionName (required), versionId (required), region.
get-custom-domain-configC
查询函数计算的域名路由配置
Inputs: domain (required), region.
get-functionB
获取创建的函数计算的函数信息
Inputs: functionName (required), region.
list-functionsA
获取函数计算的函数列表,只返回函数名称与部分函数信息,不返回所有函数信息。如果需要获取所有函数信息,请使用get-function工具
Inputs: region, prefix, nextToken, limit, +2 more.
list-function-versionsC
获取函数计算的函数版本列表
Inputs: functionName (required), region, nextToken, direction, +1 more.
publish-function-versionC
将函数的最新代码发布为新版本
Inputs: functionName (required), description (required), region.
put-custom-runtime-functionB
将构建完成的匹配阿里云自定义运行时的工程,部署到函数计算。代码工程不需要手动打包,会自动处理。如果函数已存在,则尝试覆盖并更新目标函数。建议使用该方法前先确认函数是否存在
Inputs: location (required), functionName (required), customRuntimeConfig (required), diskSize (required), +14 more.
update-custom-domain-configC
更新函数计算的域名路由配置,修改域名路由配置
Inputs: domain (required), updateCustomDomainConfig (required), region.
update-custom-runtime-functionB
更新并部署custom runtime函数。如果需要修改代码,必须先完成构建。如果需要更新函数配置,需要提供更新的参数,未提供的参数将保持不变
Inputs: functionName (required), location, region, cpu, +14 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose with no ambiguity. Tools are organized around specific resources (custom-domain-config, function, function-version) and actions (create, delete, get, list, publish, put, update), ensuring agents can easily differentiate between them. For example, list-functions and get-function serve complementary but non-overlapping purposes as described.
Tool names follow a consistent verb-noun pattern throughout, using kebab-case (e.g., create-custom-domain-config, delete-function, get-function). This predictable naming scheme enhances readability and usability for agents, with no deviations or mixed conventions observed.
With 12 tools, the count is well-scoped for managing Alibaba Cloud Function Compute resources. It covers core operations like CRUD for functions, versions, and custom domains, plus publishing and updating, without being overly sparse or bloated. Each tool earns its place in the workflow.
The tool set provides complete CRUD/lifecycle coverage for the domain of Alibaba Cloud Function Compute. It includes creation, retrieval, listing, updating, and deletion for functions, versions, and custom domains, along with publishing and deployment tools, ensuring no obvious gaps for agent operations.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables large language models to upload files directly to Alibaba Cloud Object Storage Service (OSS), supporting multiple OSS configurations and specified upload directories.15 npm7MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables AI agents to interact with Alibaba Cloud DataWorks through standardized interfaces, allowing seamless management of DataWorks resources and operations via the DataWorks Open API.100151 npm58Apache 2.0

PolarDB-X MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI agents to interact with Alibaba Cloud PolarDB-X databases through SQL queries, database inspection, and schema exploration.4Apache 2.0- FlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that can be deployed locally via stdio or remotely via SSE/HTTP endpoints, supporting multiple MCP clients including VS Code, Cursor, Windsurf, and Claude Desktop.1-