Skip to main content

A Model Context Protocol server providing tools for Huawei Cloud

Project description

mcp-server

GitHub License CI PRs Welcome Last Commit Language

简体中文

Huawei MCP Server is a Model Context Protocol server built on Huawei Cloud services, providing secure and controlled cloud access capabilities for large AI models. Through standardized MCP specifications, it enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting core services including ECS, OBS, GaussDB, and other widely-used cloud products.

Mcp-server catalog

Practical documents

Demo

Demo1

Cline uses Huawei Cloud EIP MCP Server to create and delete EIP instances.

Running Guide

1. Dependency Installation

Install the Python environment in advance. Since Python 3.4 and 2.7.9, pip has been installed with Python as a standard component.

  • Install uv (Recommended)
  • Install python version 3.10 or above

2. Environment variable settings

Prepare AK and SK and set them to environment variables

  • ak environment variable name: HUAWEI_ACCESS_KEY
  • sk environment variable name: HUAWEI_SECRET_KEY

img.png

3. Running method

Take running the mcp-server-ecs service as an example

Run with 'uv' (recommended)

# Enter the root path of the project
cd /path/to/you/mcp-server

# Start the service
uv run mcp-server-ecs

Execute uv run mcp-server-ecs -h to view the usage instructions, the configuration values of the config.yaml file in the sub-project can be overwritten by using the optional parameters in the command line

usage: mcp-server-ecs [-h] [-p PORT] [-t {http,sse,stdio}]

MCP Server

options:
  -h, --help            show this help message and exit
  -p, --port PORT       Port number
  -t, --transport {http,sse,stdio}
                        Transport of MCP Server

Run with python

img_1.png

# Enter the root path of the project
cd /path/to/you/mcp-server

# Install dependencies
pip install -e .

# Enter the specified service (mcp-server-ecs) path
cd huaweicloud_services_server/mcp_server_ecs/src/mcp_server_ecs

# Start the service
python run.py

MCP Marketplace Integration

  • Cline
  • Configure the mcp service to use http in cline. The json format is as follows
{
  "mcpServers": {
    "mcp_server_ecs": {
      "url": "http://localhost:8888/mcp",
      "disabled": false,
      "type": "streamableHttp",
      "autoApprove": []
    }
  }
}

Tools

Group Name Product Name Product Short
KooGallery Products and Orders Product&Order
Networking Elastic Load Balance ELB
Virtual Private Cloud VPC
Elastic IP EIP
NAT Gateway NAT
VPC Endpoint VPCEP
Cloud Connect CC
Enterprise Router ER
Global Accelerator GA
Direct Connect DC
Virtual Private Network VPN
Migration Server Migration Service SMS
Object Storage Migration Service OMS
CloudDataMigration CDM
Containers Cloud Container Engine CCE
SoftWare Repository for Container SWR
Application Service Mesh ASM
Application Orchestration Service AOS
Cloud Container Instance CCI
AI Optical Character Recognition OCR
Face Recognition Service FRS
ModelArts ModelArts
Image Image
ImageSearch ImageSearch
Moderation Moderation
Speech Interaction Service SIS
Graph Engine Service GES
Question Answering Bot CBS
Autonomous Driving Cloud Service Octopus
CodeArts Cloud Performance Test Service CPTS
ServiceStage ServiceStage
CodeCheck CodeCheck
CodeArts Req ProjectMan
CodeHub CodeHub
CloudBuild CloudBuild
CloudTest CloudTest
CodeArts Deploy CodeArtsDeploy
CodeArts Check CodeArtsCheck
CodeArts Pipeline CodeArtsPipeline
CodeArts Build CodeArtsBuild
CodeArts Artifact CodeArtsArtifact
Cloud Application Engine CAE
Business Applications ROMA ROMA
Domain Name Service DNS
HUAWEI CLOUD Meeting Meeting
Workspace Workspace
Operation Customer Operation Capabilities BSSINTL
Internet of Things IoT Device Access IoTDA
Global SIM Link GSL
IoT Device Access Management IoTDM
Middleware Distributed Cache Service DCS
Distributed Message Service for Kafka Kafka
Cloud Service Engines CSE
Distributed Message Service for RocketMQ RocketMQ
Distributed Message Service for RabbitMQ RabbitMQ
API Gateway APIG
Application Performance Management APM
MacroVerse aPaaS AppStage AppStage
Analytics MapReduce Service MRS
Data Warehouse Service DWS
Data Lake Insight DLI
DataArts Studio DataArtsStudio
Cloud Search Service CSS
Date Ingestion Service DIS
Media Services Media Processing Center MPC
Live Live
Video On Demand VOD
Huawei Cloud Real-Time Communication CloudRTC
Management & Governance Identity and Access Management IAM
Cloud Eye CES
Log Tank Service LTS
Resource Management Service RMS
Cloud Trace Service CTS
Tag Management Service TMS
Enterprise Project Management Service EPS
Simple Message Notification SMN
Application Operations Management AOM
Organizations Organizations
Resource Access Manager RAM
Config Config
Resource Formation Service RFS
IAMAccessAnalyzer IAMAccessAnalyzer
IAM Identity Center IdentityCenter
IAM Identity Center Store IdentityCenterStore
IAM Identity Center SCIM IdentityCenterSCIM
IAM Identity Center OIDC IdentityCenterOIDC
Security Token Service STS
Cloud Operations Center COC
Resource Governance Center RGC
Developer Tools APIExplorer APIExplorer
Storage Elastic Volume Service EVS
Cloud Backup and Recovery CBR
SFSTurbo SFSTurbo
Object Storage Service OBS
Databases Document Database Service DDS
Relational Database Service RDS
TaurusDB TaurusDB
GaussDB GaussDBforopenGauss
GeminiDB GeminiDB
Data Replication Service DRS
Database and Application Migration UGO UGO
Distributed Database Middleware DDM
Data Admin Service (DAS) DAS
Compute Elastic Cloud Server ECS
Auto Scaling AS
FunctionGraph FunctionGraph
Image Management Service IMS
Bare Metal Server BMS
Dedicated Host DeH
Content Delivery & Edge Computing Content Delivery NetWork CDN
Security & Compliance Host Security Service HSS
Data Encryption Workshop KPS KPS
Cloud Secret Management Service CSMS
Data Encryption Workshop KMS KMS
Cloud Certificate Manager Service CCM
SSL Certificate Manager SCM
Anti-DDoS Anti-DDoS
Database Security Service DBSS
Web Application Firewall WAF
Data Security Center DSC
Cloud Firewall CFW
Cloud Bastion Host CBH
Edge Security EdgeSec
SecMaster SecMaster
Advanced Anti-DDoS AAD

Contributing

We welcome contributions from the open-source community! If you'd like to contribute to this project, please refer to the contributing guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8d297fd858ab2cae46dc722beab69ab1576d4826206585072c5fc62f3a023b92
MD5 65be2ff106a931f5c0331d8e47ace1fb
BLAKE2b-256 22de850df2e2e417a29c664dc615cd12d46c97254887131a5d951d2da33ebc36

See more details on using hashes here.

File details

Details for the file iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_huaweiclouddeveloper_huaweicloud_mcp_server-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17815a88982ea4a7b1d194b54f1278dc934a5d20f2e6a7b9f221d6c8de2f7884
MD5 8aabacf2e9bda66bf2fcd6524311de67
BLAKE2b-256 c3b17e1f7af2b34f8d04f14feda932f31ceab71dfcb2c9055579b5b41bfb7529

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page