Skip to main content

MCP Server for Tencent Cloud TKE

Project description

腾讯云 TKE MCP Server(中文版)

腾讯云容器服务(TKE) Model Context Protocol (MCP) 服务器,提供标准化的TKE集群管理接口。

功能特性

  • 集群生命周期管理:创建、删除

工具列表(Tools)

集群生命周期

工具名称 功能说明
CreateCluster 创建集群
DeleteCluster 删除集群
ModifyClusterAttribute 修改集群属性
DescribeClusters 查询集群列表

快速开始

1. 准备腾讯云凭证

  • 登录 腾讯云控制台,进入「访问管理」→「访问密钥」获取 SecretIdSecretKey

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文件

  1. 通过云API导出OpenAPI格式的json文件,放到openapi/目录下。
  2. 使用 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
  1. 为了让AI有更好的体验,适当的删除2018-05-25_DeleteCluster.yaml不需要的API参数,并补充必要的描述信息。
  2. 启动 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.3.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

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

mcp_server_tke-0.0.3-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_tke-0.0.3.tar.gz.

File metadata

  • Download URL: mcp_server_tke-0.0.3.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for mcp_server_tke-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3021c02f171e00a5dc0a17b85b617ccc6940eded5103c3ce3dc00f439768f1e9
MD5 e6696b2c51bdc040c4bf1153932db22b
BLAKE2b-256 569abf333c8be89aed97860050182d463393bbff94c99b0be5fc295574514319

See more details on using hashes here.

File details

Details for the file mcp_server_tke-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_tke-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c13d8b15e676ce72703f754b88c0e7d852a9012b65c211307839069d0ba16a4
MD5 1dbf4a0d8c027d4fd5044c7e56ec699e
BLAKE2b-256 c97bd8fea6c22938c988ec76a5e8451ab44561616af841a2b529277f0b8a2d23

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