MCP.so
登录

Alibaba Cloud FC MCP Server

@aliyun

关于 Alibaba Cloud FC MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

aliyun

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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}"
      }
    }
  }
}

工具

10

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 a custom runtime function. Only the provided parameters will be updated; others remain unchanged.

Retrieve detailed information about a specified function.

List all functions in the specified region, returning only function names and partial information. For full details, use `get-function`.

Delete a specified function.

Query the custom domain route configuration.

Update the custom domain route configuration.

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 the custom domain route configuration.

Get the custom runtime prompt. Will be moved to Prompts in the future.

概览

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.

评论

其他 分类下的更多 MCP 服务器