The 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.
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).
Prerequisites
- Install Node.js (version 18 or above is required).
- Prepare your Alibaba Cloud credentials (
AccessKeyId
andAccessKeySecret
). 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:
Using Cursor [Recommended]
- Click or edit the Cursor configuration file (doc), and add the following configuration:
- Create a new empty project and open it in Cursor. Chat with Cursor in agent mode. Input the
Prompts
below 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:
Method 2: Start from source code [Recommended for MCP Server developers]
- First, clone the project and build it:
- Then start the MCP server in
stdio
mode:
- Finally, 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
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 文件。
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.
Tools
A Model Context Protocol server that enables agent applications like Cursor and Cline to integrate with Alibaba Cloud Function Compute, allowing them to deploy and manage serverless functions through natural language interactions.
Related MCP Servers
- -security-license-qualityA 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.Last updated -1TypeScript
- AsecurityAlicenseAqualityA 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.Last updated -1698115TypeScriptApache 2.0
- -securityAlicense-qualityA Model Context Protocol server that connects AI assistants like Cline to Atlassian Jira and Confluence, enabling them to query data and perform actions through a standardized interface.Last updated -24420TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides enhanced real-time search capabilities by integrating with Alibaba Cloud IQS APIs to deliver clean, accurate results from multiple data sources.Last updated -21TypeScript