Skip to main content

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": ""
      }
    }
  }
} 

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.3.0.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.

File details

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

File metadata

File hashes

Hashes for trtc_migration_assistant_intl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 71864e98bf3a389544738bbfb5f66e78b77171e76a0cec07dab19a03fc9390da
MD5 d2c2115ee036c3d57bca9ece40dfc6a2
BLAKE2b-256 071cf316c0322bad79e629481735a84cb38e3065416acbb4251ca8340467e3fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trtc_migration_assistant_intl-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0999b0c29a8d5da93de7c4cb5c0a567778fb578a7246df3c2b993b929cdb5dd4
MD5 4d6844cab3ba298c25994114764d84d7
BLAKE2b-256 bee5b9e55c0348e39e76dda72333cc9d5ebe11da333f51a98db2b56d0a781ded

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page