Get the FREE Ultimate OpenClaw Setup Guide →

alibabacloud-fc

MCP server from aliyun/alibabacloud-fc-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio aliyun-alibabacloud-fc-mcp-server npx -y alibabacloud-fc-mcp-server \
  --env ALIBABA_CLOUD_ACCESS_KEY_ID="" \
  --env ALIBABA_CLOUD_ACCESS_KEY_SECRET=""

How to use

This MCP server provides Alibaba Cloud Function Compute (FC) capabilities as an MCP service. It exposes a set of tools to manage and deploy code to FC, including creating and updating custom runtime functions, querying function details, listing functions, and configuring custom domains. The server is designed to be integrated with MCP Client agents like Cursor or Cline, allowing you to chat or drive deployment workflows directly from your agent environment. To run it, start the server via npm (recommended for MCP Server users) or from source, then configure your MCP client to point to the alibabacloud-fc-mcp-server entry and provide your Alibaba Cloud credentials through environment variables.

The available tools include:

  • put-custom-runtime-function: Package and deploy a project as a FC custom runtime function.
  • update-custom-runtime-function: Update an existing custom runtime function with new parameters.
  • get-function: Retrieve detailed information about a specific FC function.
  • list-functions: List all FC functions in a region (names and partial data).
  • delete-function: Remove a FC function.
  • get-custom-domain-config / update-custom-domain-config / create-custom-domain-config / delete-custom-domain-config: Manage custom domain routing for FC. Each of these tools is exposed via the MCP Server interface and can be invoked by your MCP Client (e.g., Cursor, Cline) once the server is running and properly configured with credentials.

How to install

Prerequisites:

  • Node.js 18+ and npm installed
  • Git installed

Step-by-step installation:

  1. Clone the repository:
git clone https://github.com/alibaba/alibabacloud-fc-mcp-server.git
  1. Change into the project directory:
cd alibabacloud-fc-mcp-server
  1. Install dependencies:
npm install
  1. Build the project (if you plan to run the built index):
npm run build
  1. Run in stdio mode (from built code):
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.js
  1. Alternatively, start directly in development mode (if applicable) using npm start or the run script defined in package.json. After starting, configure your MCP Client (Cursor or Cline) to connect to the server and provide credentials via environment variables as shown above.

Additional notes

Tips and notes:

  • Always provide Alibaba Cloud credentials via environment variables ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET. Use credentials with appropriate permissions (AdministratorAccess or at least AliyunFCFullAccess and related permissions).
  • The MCP server runs in a Debian-based runtime as described in the repository docs, with Node.js 18+ and necessary FC tooling available via the npm package.
  • When using Cursor or Cline, configure the server under the MCP-Servers configuration with the command (npx) and the package name, and include the required keys in env.
  • For production deployments, consider running the MCP server via a container (docker) or a persistent process manager to ensure uptime and automatic restarts.
  • If you modify environment variables or credential scopes, remember to re-authenticate or refresh tokens as needed.

Related MCP Servers

Sponsor this space

Reach thousands of developers