• 서비스
  • 가격
  • 리소스
  • 기술지원
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

엠시피 마이그레이션

TRTC offers a dedicated MCP Server to streamline migration from Agora, Zego, or Twilio to TRTC, making the process faster and more efficient.

Preparation

Environment Setup

Use an AI tool that supports MCP, such as Cursor, Claude Code, Codex, VSCode, CodeBuddy, or similar.
Ensure Python is installed.
Install uv. uv is a Python dependency and environment management tool that quickly fetches and runs the components required by the MCP Server.

Access Credential Setup

MCP services are accessed via the TRTC Cloud API, which uses a signature mechanism to secure data transmission. You need to obtain security credentials (SecretID and SecretKey) from the console. Follow these steps:
1. Log in to the CAM Console
Open the CAM Console and create a new sub-user.

2. Set Sub-user Permissions
Assign the QcloudTrtccopilotFullAccess permission to the sub-user for full read/write access to TRTC Copilot.

3. Copy SecretID and SecretKey
Go to the API Key Management page to retrieve the SecretID and SecretKey for the sub-user. These credentials are required to access MCP services.

Caution:
SecretID and SecretKey are sensitive credentials. Never commit them to code repositories or share them in public channels. For local development, you may temporarily store them in the MCP configuration for debugging.
To minimize the risk of key exposure, the query function for SecretKey is disabled for all main and sub-accounts. You can only view the SecretKey at the time of creation, so make sure to save it immediately.

Configure MCP Server

On the MCP page of your AI tool, configure the server as shown below. Enter the credentials you obtained earlier (SecretID and SecretKey) in the TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY fields.
{
"mcpServers": {
"trtc-migration-assistant-intl": {
"command": "uvx",
"args": [
"trtc-migration-assistant-intl"
],
"env": {
"TENCENTCLOUD_SECRET_ID": "",
"TENCENTCLOUD_SECRET_KEY": ""
}
}
}
}

Use MCP for Migration

In an AI coding tool with MCP enabled, select the relevant code in your editor or paste the integration snippet from your existing RTC provider, then use the prompt below to request migration to TRTC.
Code input (selected or pasted):
Migrate the code from <CURRENT_RTC_VENDOR> to Tencent TRTC.
The following is an example of using the migration MCP server in CodeBuddy: