Back to MCP directory

mcp-server-tat

腾讯云 TAT(TencentCloud Automation Tools)MCP Server,用于在支持 MCP 的客户端中直接在腾讯云实例上执行命令。

article

README

Tencent Cloud TAT MCP Server

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

Features

  • Command Execution: Execute Shell/PowerShell commands on Tencent Cloud instances
  • Sync & Async Support: Both synchronous and asynchronous command execution
  • Cross-Platform: Supports both Linux and Windows instances
  • Task Management: Query command execution results and outputs

API List

🚀 Command Execution

| Tool Name | Description | |---|---| | SyncRunCommand | Synchronously execute commands on instances | | RunCommand | Asynchronously execute commands on instances |

📊 Task Management

| Tool Name | Description | |---|---| | QueryTask | Retrieve command execution results |

Configuration

Setting up Tencent Cloud Credentials

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

Environment Variables

Configure the following environment variables:

  • TENCENTCLOUD_SECRET_ID: Tencent Cloud SecretId
  • TENCENTCLOUD_SECRET_KEY: Tencent Cloud SecretKey
  • TENCENTCLOUD_REGION: 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.

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client