MCP Server for Tencent Cloud TKE
Project description
腾讯云 TKE MCP Server(中文版)
腾讯云容器服务(TKE) Model Context Protocol (MCP) 服务器,提供标准化的TKE集群管理接口。
功能特性
- 集群生命周期管理:创建、删除
工具列表(Tools)
集群生命周期
| 工具名称 | 功能说明 |
|---|---|
CreateCluster |
创建集群 |
DeleteCluster |
删除集群 |
ModifyClusterAttribute |
修改集群属性 |
DescribeClusters |
查询集群列表 |
快速开始
1. 准备腾讯云凭证
- 登录 腾讯云控制台,进入「访问管理」→「访问密钥」获取
SecretId与SecretKey
2. 配置环境变量
export TENCENTCLOUD_SECRET_ID=你的SecretId
export TENCENTCLOUD_SECRET_KEY=你的SecretKey
3. Claude Desktop 配置
编辑 claude_desktop_config.json(Mac 默认路径 ~/Library/Application Support/Claude/claude_desktop_config.json),加入:
{
"mcpServers": {
"tencent-tke": {
"command": "uv",
"args": ["run", "mcp-server-tke"],
"env": {
"TENCENTCLOUD_SECRET_ID": "你的SecretId",
"TENCENTCLOUD_SECRET_KEY": "你的SecretKey",
}
}
}
}
4. 安装
pip install mcp-server-tke
5. 贡献
通过云API转化成MCP API文件
- 通过云API导出OpenAPI格式的json文件,放到
openapi/目录下。 - 使用
openapi-to-mcp-tools工具将OpenAPI json文件转换为MCP API yaml文件,放置在./mcpapi/目录下。
# 安装工具
go install github.com/higress-group/openapi-to-mcpserver/cmd/openapi-to-mcp@latest
# 转换示例
openapi-to-mcp --input openapi/tke_2018-05-25_DeleteCluster.json --output mcpapi/2018-05-25_DeleteCluster.yaml
- 为了让AI有更好的体验,适当的删除
2018-05-25_DeleteCluster.yaml不需要的API参数,并补充必要的描述信息。 - 启动
mcp-server-tke,程序自动加载文件,即可通过Claude调用新增的MCP工具。
许可证
MIT License,详见 LICENSE 文件。
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
mcp_server_tke-0.0.5.tar.gz
(53.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_tke-0.0.5.tar.gz.
File metadata
- Download URL: mcp_server_tke-0.0.5.tar.gz
- Upload date:
- Size: 53.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe1d7e6df3e2b4a82e3d3f3ffa72d9798eff46b70eff1130bcb6463d6a65745
|
|
| MD5 |
65ed1adc751fc70818723202bbfa9904
|
|
| BLAKE2b-256 |
9c266a20261bc33b9305e7cf1572e8f3d58e64d9f8c62d7e19ee1e52f39ebfa7
|
File details
Details for the file mcp_server_tke-0.0.5-py3-none-any.whl.
File metadata
- Download URL: mcp_server_tke-0.0.5-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69cff24489d6e1aa1a2764d589e31c54c5630595ff6ac709b3e9103b647cc94c
|
|
| MD5 |
154ab5655aad639611c1f3806ba4f590
|
|
| BLAKE2b-256 |
a7cb851b35ee81eea98aa5c4a6f4d1db0589a5187e6be47c1a0a724e183351e3
|