Skip to main content

mcp server for Tencent Cloud Automation Tools

Project description

Tencent Cloud TAT MCP Server

An MCP server implementation for executing commands on Tencent Cloud instances using the TencentCloud Automation Tools (TAT) API.

Features

  • RunCommand: Asynchronously execute Shell/PowerShell commands on Tencent Cloud instances
  • QueryTask: Retrieve command execution results and outputs
  • Supports both Linux and Windows: Automatically handles command encoding based on OS type

Tools

RunCommand

Sync Execute commands on Tencent Cloud instances.

Inputs:

  • Region (string): Tencent Cloud region (e.g. ap-beijing, ap-guangzhou)
  • InstanceId (string): Target cloud server instance ID (format: ins-xxxxxxxx or lhins-xxxxxxxx)
  • Command (string): Command to execute (will be automatically Base64 encoded)
  • SystemType (string, optional): OS type (Linux/Windows, default: Linux)

RunCommand

Async Execute commands on Tencent Cloud instances.

Inputs:

  • Region (string): Tencent Cloud region (e.g. ap-beijing, ap-guangzhou)
  • InstanceId (string): Target cloud server instance ID (format: ins-xxxxxxxx or lhins-xxxxxxxx)
  • Command (string): Command to execute (will be automatically Base64 encoded)
  • SystemType (string, optional): OS type (Linux/Windows, default: Linux)

QueryTask

Retrieve asynchronous command execution results.

Inputs:

  • Region (string): Tencent Cloud region
  • TaskId (string): Task ID returned by RunCommand (format: invt-xxxxxx)

Configuration

Setting up Tencent Cloud Credentials

  1. Obtain SecretId and SecretKey from Tencent Cloud Console
  2. Set your default region (optional)

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "tencent-tat": {
     "command": "uv",
    "args": [
      "run",
      "mcp-server-tat"]
      "env": {
        "TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
        "TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE",
        "TENCENTCLOUD_REGION": "YOUR_REGION_HERE"
      }
    }
  }
}

Installation

pip install mcp-server-tat

License

MIT License. See LICENSE for details.

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_tat-0.1.5.tar.gz (4.7 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_tat-0.1.5-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_tat-0.1.5.tar.gz.

File metadata

  • Download URL: mcp_server_tat-0.1.5.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mcp_server_tat-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6ede0482d7395d20a0af3f290141c551564586898c6aa1b15f1fe00c69a7a75f
MD5 08eb84d8785ebc0264490454415964b3
BLAKE2b-256 f1bf30cc2c2f2cd2001382b4a61bd9d7518d884afa0c604e7ef8788713b776ea

See more details on using hashes here.

File details

Details for the file mcp_server_tat-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mcp_server_tat-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mcp_server_tat-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0d20f09565718ff987f76202d59a7caf28659897c83e68aa782f983a3dbcae27
MD5 8cf2366ed75531ee0853a6021679b110
BLAKE2b-256 630417d1924a2607bcf55413a6b5efb45e586d9a193732b75b21223b6a0f5214

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