Skip to main content

腾讯云 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文件

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

Metadata

Release files for mcp-server-tke 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-tke 0.0.5
File Size Uploaded Provenance
mcp_server_tke-0.0.5.tar.gz 53.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-tke 0.0.5
File Interpreter ABI Platform
mcp_server_tke-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 73.8 kB

Release files / mcp_server_tke-0.0.5.tar.gz

Download URL mcp_server_tke-0.0.5.tar.gz
Size 53.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5fe1d7e6df3e2b4a82e3d3f3ffa72d9798eff46b70eff1130bcb6463d6a65745
BLAKE2b-256 checksum
How to use checksums
9c266a20261bc33b9305e7cf1572e8f3d58e64d9f8c62d7e19ee1e52f39ebfa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / mcp_server_tke-0.0.5-py3-none-any.whl

Download URL mcp_server_tke-0.0.5-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69cff24489d6e1aa1a2764d589e31c54c5630595ff6ac709b3e9103b647cc94c
BLAKE2b-256 checksum
How to use checksums
a7cb851b35ee81eea98aa5c4a6f4d1db0589a5187e6be47c1a0a724e183351e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for mcp-server-tke 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page