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
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 regionTaskId(string): Task ID returned by RunCommand (format: invt-xxxxxx)
Configuration
Setting up Tencent Cloud Credentials
- Obtain SecretId and SecretKey from Tencent Cloud Console
- Set your default region (optional)
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"tencent-tat": {
"command": "uv",
"args": [
"--directory",
"mcp-server-tat repo directory",
"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
Running the Server
export TENCENTCLOUD_SECRET_ID=your_id
export TENCENTCLOUD_SECRET_KEY=your_key
export TENCENTCLOUD_REGION=your_region
python -m 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_tat-0.1.2.tar.gz.
File metadata
- Download URL: mcp_server_tat-0.1.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc4d26ab32683428ba0764a1fbee1540ff8de5bab91f7bbd35bf32f0e47a2a18
|
|
| MD5 |
17ba9d455ca999e8ff9ad12c14fb11a6
|
|
| BLAKE2b-256 |
06aad93d3eea7ab6053b606bf73bcc4d16f3c04932410a56b70da6580d4c7ebd
|
File details
Details for the file mcp_server_tat-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mcp_server_tat-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce485ac1a84ccb307058ccec04f19c76de6fc11fe60d4627949a85741f2dbbdf
|
|
| MD5 |
5f2fce6b6d8e1dc695d6e86711b5e527
|
|
| BLAKE2b-256 |
b38786d78b66dec7967d5544a4313577e2f10302fd70073ab5e727e5f8cdad54
|