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]
- 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
License
This project is licensed under the MIT License. See the LICENSE file for details.
本项目基于 MIT License 开源。详情参见 LICENSE 文件。
This server cannot be installed
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.
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
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants like Claude to interact with Google Cloud Platform environments through natural language, allowing users to query and manage GCP resources during conversations.Last updated -910262TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.Last updated -162TypeScript
- -securityAlicense-qualityA Model Context Protocol server that integrates with Google Drive and Google Sheets, enabling users to create, read, update, and manage spreadsheets through natural language commands.Last updated -134PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.Last updated -TypeScript