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.4.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.4.tar.gz.
File metadata
- Download URL: mcp_server_tke-0.0.4.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 |
af90800d739e604d58890780c7f28b45ed291143795a3fa4883b75f8d76a46bb
|
|
| MD5 |
38345afaeb79daec186cf3960d13e296
|
|
| BLAKE2b-256 |
a55a60427a42a3675005bbca1d3352accfa2c0d48eabdeddeafd34caf70fc90b
|
File details
Details for the file mcp_server_tke-0.0.4-py3-none-any.whl.
File metadata
- Download URL: mcp_server_tke-0.0.4-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d1a94116e296ce2df0b3441628ebf3e534fa76834b6065e71089be45918407
|
|
| MD5 |
55befda4061a151c2682ef54f567cc93
|
|
| BLAKE2b-256 |
f43cd5d5961e8f80a1398e3807eba02381380cae03d04bf196f0932fe07c89bc
|