Tencent cloud services
## Tencent Cloud MCP Server: Tencent CloudBase Integration The **Tencent Cloud MCP Server** integrates Tencent Cloud services into Google Antigravity, enabling developers to manage cloud resources and deploy applications on Tencent's cloud infrastructure. ### Why Tencent Cloud MCP? - **CloudBase** - Serverless cloud development platform - **CVM instances** - Virtual machine management - **COS storage** - Object storage service - **SCF functions** - Serverless cloud functions - **TDSQL databases** - Managed database services ### Key Features #### 1. Cloud Virtual Machine ```python # List instances instances = await mcp.call("tencent", "list_cvm", { "region": "ap-guangzhou" }) for instance in instances: print(f"{instance[\"InstanceId\"]}: {instance[\"InstanceState\"]}") # Create instance cvm = await mcp.call("tencent", "create_cvm", { "region": "ap-guangzhou", "instance_type": "S5.MEDIUM2", "image_id": "img-xxx" }) ``` #### 2. Object Storage (COS) ```python # Upload object await mcp.call("tencent", "cos_put_object", { "bucket": "my-bucket-xxx", "key": "path/to/file.txt", "body": "file content" }) # List objects objects = await mcp.call("tencent", "cos_list_objects", { "bucket": "my-bucket-xxx", "prefix": "path/" }) ``` #### 3. Serverless Cloud Functions ```python # Create function fn = await mcp.call("tencent", "create_scf", { "function_name": "my-function", "runtime": "Python3.6", "handler": "index.main_handler", "code": {"zip_file": "base64-encoded-zip"} }) # Invoke function result = await mcp.call("tencent", "invoke_scf", { "function_name": "my-function", "payload": {"key": "value"} }) ``` #### 4. CloudBase ```python # Deploy to CloudBase deployment = await mcp.call("tencent", "cloudbase_deploy", { "env_id": "my-env-xxx", "functions": ["handler"], "static": "./dist" }) # Get CloudBase info info = await mcp.call("tencent", "cloudbase_info", { "env_id": "my-env-xxx" }) ``` ### Configuration ```json { "mcpServers": { "tencent": { "command": "npx", "args": ["-y", "@anthropic/mcp-tencent-cloud"], "env": { "TENCENT_SECRET_ID": "your-secret-id", "TENCENT_SECRET_KEY": "your-secret-key" } } } } ``` ### Use Cases **China Cloud**: Deploy in Chinese regions. **WeChat Mini Programs**: Backend for mini programs. **Gaming**: Game server infrastructure. **Serverless Apps**: CloudBase serverless apps. The Tencent Cloud MCP Server enables Tencent Cloud integration.
{
"mcpServers": {
"tencent-cloud": {
"mcpServers": {
"tencent": {
"args": [
"-y",
"cloudbase-ai-toolkit"
],
"command": "npx"
}
}
}
}
}