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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_server_tat-0.1.3.tar.gz
  • Upload date:
  • Size: 4.6 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.3.tar.gz
Algorithm Hash digest
SHA256 a97086cef6af9d9f0a838b56eff12b88b4ef35f279140f04664a8ad302a9fa40
MD5 ec82ad888493851cb45b15d6234da81a
BLAKE2b-256 ecb96c1ea7ff42727fccfd3041c7d9f8b4e46a66b43a8d7fbd7a186e0b608c05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_server_tat-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7df0a6320038c9483022f80260d83cccacabb52059d40b6a8e6500f8388ae1d2
MD5 c3916e1c7eaad924a07ea516e06c2ad7
BLAKE2b-256 ba32bc49e6469271a0f30c821b2ada8cf57d833ab8ba8f306a58389eec1f8bd3

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