- Home
- MCP servers
- Huawei CCE
Huawei CCE
- javascript
1
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"tehilathestudent-try-cce-gitlab": {
"command": "npx",
"args": [
"-y",
"@tehilathestudent/mcp-server-huawei-cce"
],
"env": {
"HUAWEI_CCE_AUTH_TOKEN": "<your huawei token>"
}
}
}
}You can run an MCP server that talks to Huawei Cloud CCE APIs to manage clusters, namespaces, and pods from a single, automation-friendly interface. This MCP server lets you list, create, retrieve, and delete resources in your Huawei Cloud CCE project and Kubernetes environments, enabling streamlined workflows and tooling.
How to use
Use the MCP server with a compatible MCP client to perform common operations against Huawei Cloud CCE. You will authenticate with an API token provided by Huawei Cloud and then issue high-level actions like listing clusters, namespaces, and pods, or creating and deleting resources as needed. The server supports two primary startup methods: a local runtime via containerization or a lightweight, local execution via an MCP client.
How to install
Prerequisites you need before installing the MCP server are: a modern Node.js or Docker-enabled environment, depending on how you prefer to run the MCP server, and access to a Huawei Cloud CCE API authentication token.
Install and run using Docker (recommended for isolation and simplicity):
{
"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": ""
}
}
}
}
How to start using with npx (Node.js runtime)
If you prefer to run via npx, use the MCP server package directly. This executes without a local Docker container and relies on your Node.js/npm setup.
{
"mcpServers": {
"try-cce": {
"command": "npx",
"args": [
"-y",
"@tehilathestudent/mcp-server-huawei-cce"
],
"env": {
"HUAWEI_CCE_AUTH_TOKEN": "<your huawei token>",
"LOG_FILE_PATH": ""
}
}
}
}
Available tools
list_clusters
List all clusters in a Huawei CCE project.
get_cluster_by_id
Retrieve details of a specific cluster by its ID.
list_namespaces
List all namespaces.
get_namespace_by_name
Retrieve details of a specific namespace by its name.
create_namespace
Create a new namespace.
delete_namespace
Delete an existing namespace.
list_pods
List all pods.
list_pods_by_namespace
List all pods in a namespace.
get_pod_by_name_and_namespace
Retrieve details of a specific pod by its name and namespace.
create_pod
Create a new pod and namespace.
delete_pod
Delete an existing pod.