Skip to main content

腾讯云MCP服务器

通过自然语言与腾讯云服务交互的模型上下文协议(MCP)服务器。

✨ 特性

  • 开箱即用: 无需安装TCCLI,只需要腾讯云SDK
  • 轻量级: 直接调用SDK,性能优异
  • 易部署: 分发友好,部署简单
  • 安全: 支持环境变量配置密钥

🚀 快速开始

  1. 安装依赖:

    pip install -r requirements.txt
    
  2. 配置Claude Desktop:

    {
      "mcpServers": {
        "tencent-cloud": {
          "command": "python",
          "args": ["/path/to/main.py"],
          "env": {
            "TENCENTCLOUD_SECRET_ID": "your-secret-id",
            "TENCENTCLOUD_SECRET_KEY": "your-secret-key",
            "TENCENTCLOUD_REGION": "ap-guangzhou"
          }
        }
      }
    }
    
  3. 开始使用:

    你: 腾讯云有哪些可用地域?
    你: 帮我查看广州地区的云服务器
    你: 创建一个新的VPC网络
    

📁 项目结构

tccli-mcp/
├── main.py                      # 主入口文件
├── requirements.txt             # 依赖文件
├── src/                         # 源代码
│   ├── sdk_server.py           # MCP服务器实现
│   └── tencent_sdk_wrapper.py  # SDK包装器
├── config/                      # 配置文件
├── docs/                        # 文档
├── examples/                    # 使用示例
└── tests/                       # 测试文件

🎯 支持的服务

  • CVM: 云服务器管理
  • VPC: 私有网络管理
  • CBS: 云硬盘管理
  • CLS: 日志服务管理
  • CLB: 负载均衡管理
  • Monitor: 监控数据获取

🛠️ 可用工具

  1. tencent_call_api - 调用腾讯云API
  2. tencent_get_regions - 获取可用地域列表
  3. tencent_get_services - 获取支持的服务列表
  4. tencent_get_service_info - 获取服务详细信息
  5. tencent_get_action_info - 获取API操作详细信息

🌍 常用地域

  • ap-guangzhou: 华南地区(广州)
  • ap-shanghai: 华东地区(上海)
  • ap-beijing: 华北地区(北京)
  • ap-chengdu: 西南地区(成都)
  • ap-hongkong: 港澳台地区(香港)

📖 详细文档

🔒 安全建议

  1. 使用子用户密钥,避免使用主账户密钥
  2. 只授予必要的权限
  3. 定期轮换密钥
  4. 不要将密钥提交到版本控制系统

📝 许可证

MIT License


开始使用腾讯云MCP服务器,体验AI与云服务的无缝交互!🎉

Metadata

Release files for tcloud-mcp 1.0.1

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

Source distribution (sdist)

Source distribution for tcloud-mcp 1.0.1
File Size Uploaded Provenance
tcloud_mcp-1.0.1.tar.gz 17.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tcloud-mcp 1.0.1
File Interpreter ABI Platform
tcloud_mcp-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.9 kB

Release files / tcloud_mcp-1.0.1.tar.gz

Download URL tcloud_mcp-1.0.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
70b0744492cf1bc1d5a9801c628945691843dd11e3a13a0ff6f5b7df1254175f
BLAKE2b-256 checksum
How to use checksums
f6f88e6c84df80f01b842cff973a83e687477b74680c282c46d32fd1d5474eec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / tcloud_mcp-1.0.1-py3-none-any.whl

Download URL tcloud_mcp-1.0.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e880bddb7eb7f1e0737a9154abc2ad227a4cd5fdca53645efafb497192416714
BLAKE2b-256 checksum
How to use checksums
19f298c21b6515a5108b23f1cafd914aebfa36feb31366e5fb0cfb78f5a99038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for tcloud-mcp 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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