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.4.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.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_server_tat-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1d97213c46709991384c2354d9d49f695bf4f5a65665e326a480972b5bb6d1fc
MD5 cddb28091fee0bedb842dbddcf6e5484
BLAKE2b-256 b2169557e5f8b3f8a5a8922a012a9e23dc033dbedab56ff07f4a1159104bbbb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_server_tat-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac78d9b9feafa1dde600561828cc7c0fc9705ef85cda6c3e1dc7b18cba017e16
MD5 ba1cbee9a9e219bdb1fa9bdb710258be
BLAKE2b-256 1a06ddcd0999db1e8350e66b0dfb2c08d98bc7e541aba01c0cf38569ea591b07

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