Skip to main content

trtc migration assistant for international

Project description

TRTC Migration Assistant

mcpServer

TRTC Migration Assistant 是 TRTC云助手 团队为 腾讯云TRTC 打造的快速迁移MCP工具,可以在AI的帮助下快速将集成其他RTC厂商的业务代码迁移到腾讯云TRTC。

1. 功能

在支持MCP的AI工具中,选择或复制集成其他RTC厂商的业务代码,然后使用如下提示词提问

"xxxxxx" 这是xx友商的代码,帮我迁移到TRTC

该工具会解析源代码中对其他RTC厂商的接口调用,并提供迁移到TRTC对应的接口,文档和迁移指引,AI会根据这些信息进行准确的迁移,写出迁移后的代码。

2. 准备事项

2.1 AI工具

准备一个支持MCP的AI工具,例如CodeBuddy, Cursor, VSCode

2.2 访问密钥

该工具通过腾讯云的云API提供服务,云API通过签名机制保证数据传输的安全性,该方式需要您在腾讯云申请安全凭证,即SecretIDSecretKey

同时为了最小化该安全凭证的权限,推荐您在腾讯云控制台新建一个子用户,并只对该用户授予QcloudTrtccopilotFullAccess权限(该权限是用于访问TRTC云助手),并在密钥管理处获取上述子用户的SecretIDSecretKey用于访问该服务。

3. 安装使用

安装该MCP有2种方式,分别是本地配置和使用托管的在线服务

3.1 本地配置

该方式需要您本地电脑有安装Python的包管理工具uv

然后在AI工具的MCP页面做如下配置,在TENCENTCLOUD_SECRET_IDTENCENTCLOUD_SECRET_KEY处填入第2步获取的安全凭证(对应SecretIDSecretKey)。

{
  "mcpServers": {
    "trtc-migration-assistant": {
      "command": "uvx",
      "args": [
        "trtc-migration-assistant"
      ],
      "env": {
        "TENCENTCLOUD_SECRET_ID": "",
        "TENCENTCLOUD_SECRET_KEY": ""
      }
    }
  }
} 

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

trtc_migration_assistant_intl-0.2.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trtc_migration_assistant_intl-0.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file trtc_migration_assistant_intl-0.2.0.tar.gz.

File metadata

File hashes

Hashes for trtc_migration_assistant_intl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8752a8ac315b2f16238aa3346ecd73308ca7f241a46cbf67daa5309ef217601a
MD5 a36810567df54cdc45ff23f3506dc030
BLAKE2b-256 81374ef838f5862e898f6c33af41323f6b6c9f65baa89e9f8f265942303ce04f

See more details on using hashes here.

File details

Details for the file trtc_migration_assistant_intl-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trtc_migration_assistant_intl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63f6f0cfd3399be0bbfe45e7c014f896cd8da3fb6697824b187d2d6e47525f7e
MD5 4416b0493e6490bd47b66bfbc74a861a
BLAKE2b-256 970d46e6dd844d27b579d46ae1a09d1fe3d238cb65dfe4fae2be5b7faa05e3ad

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