TRTC Migration Assistant
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通过签名机制保证数据传输的安全性,该方式需要您在腾讯云申请安全凭证,即SecretID和SecretKey。
同时为了最小化该安全凭证的权限,推荐您在腾讯云控制台新建一个子用户,并只对该用户授予QcloudTrtccopilotFullAccess权限(该权限是用于访问TRTC云助手),并在密钥管理处获取上述子用户的SecretID和SecretKey用于访问该服务。
3. 安装使用
该方式需要您本地电脑有安装Python的包管理工具uv
然后在AI工具的MCP页面做如下配置,在TENCENTCLOUD_SECRET_ID和TENCENTCLOUD_SECRET_KEY处填入第2步获取的安全凭证(对应SecretID和SecretKey)。
{
"mcpServers": {
"trtc-migration-assistant": {
"command": "uvx",
"args": [
"trtc-migration-assistant"
],
"env": {
"TENCENTCLOUD_SECRET_ID": "",
"TENCENTCLOUD_SECRET_KEY": ""
}
}
}
}
Metadata
Release files for trtc-migration-assistant 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trtc_migration_assistant-0.7.0.tar.gz | 4.4 kB | Without provenance | Details for trtc_migration_assistant-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trtc_migration_assistant-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for trtc_migration_assistant-0.7.0-py3-none-any.whl |
Total release size: 9.4 kB
Release files / trtc_migration_assistant-0.7.0.tar.gz
| Download URL | trtc_migration_assistant-0.7.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3df2587fe5ed615cd9347ded72adcebdae29339d3814e85f3079424c5554b992
|
|
BLAKE2b-256 checksum How to use checksums |
6a005067917dcb0707b44f1803da5a757575094a0bb28b92b34c977b804a57ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / trtc_migration_assistant-0.7.0-py3-none-any.whl
| Download URL | trtc_migration_assistant-0.7.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22df1092f25120faa38636d04dfd18f033ef0c130604685f2df89716ef6d530c
|
|
BLAKE2b-256 checksum How to use checksums |
1e082aa27b368b0fd789fee21138770cb22dbac92459edbb289c32c6bff016c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Security for trtc-migration-assistant 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.