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. 安装使用

该方式需要您本地电脑有安装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-0.7.0.tar.gz (4.4 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-0.7.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file trtc_migration_assistant-0.7.0.tar.gz.

File metadata

File hashes

Hashes for trtc_migration_assistant-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3df2587fe5ed615cd9347ded72adcebdae29339d3814e85f3079424c5554b992
MD5 f0ee6aa1d6272cf626dfe46fa07e352c
BLAKE2b-256 6a005067917dcb0707b44f1803da5a757575094a0bb28b92b34c977b804a57ab

See more details on using hashes here.

File details

Details for the file trtc_migration_assistant-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trtc_migration_assistant-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22df1092f25120faa38636d04dfd18f033ef0c130604685f2df89716ef6d530c
MD5 0e959e6507f8c57aa613cfea7056c596
BLAKE2b-256 1e082aa27b368b0fd789fee21138770cb22dbac92459edbb289c32c6bff016c4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

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