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通过签名机制保证数据传输的安全性,该方式需要您在腾讯云申请安全凭证,即SecretID和SecretKey。

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

3. 安装使用

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

3.1 本地配置

该方式需要您本地电脑有安装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-intl 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trtc-migration-assistant-intl 0.3.0
File Size Uploaded Provenance Actions
trtc_migration_assistant_intl-0.3.0.tar.gz 4.6 kB Without provenance Details for trtc_migration_assistant_intl-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trtc-migration-assistant-intl 0.3.0
File Interpreter ABI Platform Actions
trtc_migration_assistant_intl-0.3.0-py3-none-any.whl Python 3 none any Details for trtc_migration_assistant_intl-0.3.0-py3-none-any.whl

Total release size: 9.8 kB

Release files / trtc_migration_assistant_intl-0.3.0.tar.gz

Download URL trtc_migration_assistant_intl-0.3.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
71864e98bf3a389544738bbfb5f66e78b77171e76a0cec07dab19a03fc9390da
BLAKE2b-256 checksum
How to use checksums
071cf316c0322bad79e629481735a84cb38e3065416acbb4251ca8340467e3fa
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_intl-0.3.0-py3-none-any.whl

Download URL trtc_migration_assistant_intl-0.3.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0999b0c29a8d5da93de7c4cb5c0a567778fb578a7246df3c2b993b929cdb5dd4
BLAKE2b-256 checksum
How to use checksums
bee5b9e55c0348e39e76dda72333cc9d5ebe11da333f51a98db2b56d0a781ded
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-intl 0.3.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.

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