MCP.so
Sign In

Alibaba Cloud FC MCP Server

@aliyun

About Alibaba Cloud FC MCP Server

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "alibabacloud-fc-mcp-server": {
      "command": "npx",
      "args": [
        "alibabacloud-fc-mcp-server"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "${your-access-key-id}",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "${your-access-key-secret}"
      }
    }
  }
}

Tools

12

将构建完成的匹配阿里云自定义运行时的工程,部署到函数计算。代码工程不需要手动打包,会自动处理。如果函数已存在,则尝试覆盖并更新目标函数。建议使用该方法前先确认函数是否存在

更新并部署custom runtime函数。如果需要修改代码,必须先完成构建。如果需要更新函数配置,需要提供更新的参数,未提供的参数将保持不变

获取创建的函数计算的函数信息

获取函数计算的函数列表,只返回函数名称与部分函数信息,不返回所有函数信息。如果需要获取所有函数信息,请使用get-function工具

删除函数计算的函数

查询函数计算的域名路由配置

更新函数计算的域名路由配置,修改域名路由配置

创建函数计算的域名路由配置,域名必须已经CNAME到函数计算的公网域名(格式为${uid}.${regionId}.fc.aliyuncs.com,例如14**49.cn-hangzhou.fc.aliyuncs.com)上,否则会创建失败。

删除函数计算的域名路由配置,CNAME记录不会被删除,需要手动删除CNAME记录

将函数的最新代码发布为新版本

获取函数计算的函数版本列表

删除函数计算的函数版本

Overview

What is Alibaba Cloud FC MCP Server?

Alibaba Cloud FC MCP Server integrates Alibaba Cloud Function Compute (FC) capabilities into MCP Client applications such as Cursor, Claude, and Cline. It is built on Serverless Devs and OpenAPI, and allows managing FC functions and custom runtimes through MCP tools.

How to use Alibaba Cloud FC MCP Server?

Install Node.js 18+, prepare Alibaba Cloud AccessKeyId and AccessKeySecret with required permissions. Start the server via npx -y alibabacloud-fc-mcp-server with environment variables set. Configure the MCP server in Cursor or Cline using the provided JSON configuration, then interact with the server through agent chat.

Key features of Alibaba Cloud FC MCP Server

  • Create and update custom runtime functions.
  • Retrieve and list function details.
  • Delete functions.
  • Manage custom domain configurations.
  • Get custom runtime prompts.
  • Supports stdio transport mode.

Use cases of Alibaba Cloud FC MCP Server

  • Deploy a project to Alibaba Cloud Function Compute directly from an MCP client.
  • Automate function lifecycle management in CI/CD pipelines.
  • Configure custom domains for serverless applications.
  • Query function metadata for monitoring or debugging.
  • Generate and deploy code projects with runtime constraints.

FAQ from Alibaba Cloud FC MCP Server

What prerequisites are needed?

Node.js version 18 or above, and Alibaba Cloud credentials with at least AliyunFCFullAccess and AliyunDevsFullAccess permissions.

How do I configure the server in Cursor or Cline?

Add the MCP server configuration to the tool’s config file, using the command npx -y alibabacloud-fc-mcp-server and setting ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET environment variables.

What tools are available?

The server provides tools for managing custom runtime functions (put, update, get, list, delete), custom domain configuration (create, update, delete, get), and a get-custom-runtime-prompt tool.

What runtime environments does Function Compute support?

Python 3.10, Node 20, OpenJDK 21, and Golang. Specific paths are added to PATH and JAVA_HOME for each runtime.

How can I deploy a project using this server?

Use the put-custom-runtime-function tool to package and deploy a project that meets custom runtime requirements. If the function already exists, it will attempt to overwrite and update. Use update-custom-runtime-function for partial updates.

Frequently asked questions

What prerequisites are needed?

Node.js version 18 or above, and Alibaba Cloud credentials with at least `AliyunFCFullAccess` and `AliyunDevsFullAccess` permissions.

How do I configure the server in Cursor or Cline?

Add the MCP server configuration to the tool’s config file, using the command `npx -y alibabacloud-fc-mcp-server` and setting `ALIBABA_CLOUD_ACCESS_KEY_ID` and `ALIBABA_CLOUD_ACCESS_KEY_SECRET` environment variables.

What tools are available?

The server provides tools for managing custom runtime functions (put, update, get, list, delete), custom domain configuration (create, update, delete, get), and a `get-custom-runtime-prompt` tool.

What runtime environments does Function Compute support?

Python 3.10, Node 20, OpenJDK 21, and Golang. Specific paths are added to `PATH` and `JAVA_HOME` for each runtime.

How can I deploy a project using this server?

Use the `put-custom-runtime-function` tool to package and deploy a project that meets custom runtime requirements. If the function already exists, it will attempt to overwrite and update. Use `update-custom-runtime-function` for partial updates.

Comments

More Other MCP servers