Skip to main content
Glama

Huawei CCE MCP Server

0
1
README.md2.11 kB
# Available Huawei Cloud Tools ## Proprietary CCE APIs ### Cluster-related APIs - **list_clusters**: List all clusters in a Huawei CCE project. - **get_cluster_by_id**: Retrieve details of a specific cluster by its ID. ## Kubernetes-native APIs - **Namespace APIs**: - **GET list_namespaces**: List all namespaces. - **GET get_namespace_by_name**: Retrieve details of a specific namespace by its name. - **POST create_namespace**: Create a new namespace. - **DELETE delete_namespace**: Delete an existing namespace. - **Pod APIs**: - **GET list_pods**: List all pods. - **GET list_pods_by_namespace**: List all pods in a namespace. - **GET get_pod_by_name_and_namespace**: Retrieve details of a specific pod by its name and namespace. - **POST create_pod**: Create a new pod and namespace. - **DELETE delete_pod**: Delete an existing pod. ## Integration Instructions To use the Huawei Cloud tools, you must provide your Huawei Cloud CCE API authentication token as an environment variable: - `HUAWEI_CCE_AUTH_TOKEN`: Your Huawei Cloud CCE API authentication token (required) Example configuration for MCP server integration: ( logging is optional, no logging if LOG_FILE_PATH is not set ) - json with docker ```json { "mcpServers": { "try-cce": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "HUAWEI_CCE_AUTH_TOKEN", "-e", "LOG_FILE_PATH", "tehilathestudent/try-cce" ], "env": { "HUAWEI_CCE_AUTH_TOKEN": "<your huawei token>", "LOG_FILE_PATH": "" } } } } ``` - json with node ```json { "mcpServers": { "try-cce": { "command": "npx", "args": [ "-y", "@tehilathestudent/mcp-server-huawei-cce" ], "env": { "HUAWEI_CCE_AUTH_TOKEN": "<your huawei token>", "LOG_FILE_PATH": "" } } } } ``` ## example prompt - list all my namespaces from huawei cloud cce

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TehilaTheStudent/try-cce-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server