tencent cloud

Tencent Real-Time Communication

Release Notes and Announcements
Release Notes
Recent Product Announcement
TRTC Live (TUILiveKit) Product Launch Announcement
TRTC Conference Official Editions Launched
The commercial version of Conference is coming soon
Terms and Conditions Applicable to $9.9 Starter Package
Rules for the "First Subscription $100 Discount" Promotion
Announcement on the Start of Beta Testing for Multi-person Audio and Video Conference
TRTC Call Official Editions Launched
License Required for Video Playback in New Version of LiteAV SDK
TRTC to Offer Monthly Packages
Product Introduction
Overview
Concepts
Features
Strengths
Use Cases
Performance Statistics
Tencent RTC Quickplay: Experience Ultimate Real-Time Audio and Video Interaction!
Purchase Guide
Billing Overview
Free Minutes
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
FAQs
Refund Instructions
User Tutorial
Free Demo
Call
Overview
Activate the Service
Run Demo
Integration
Offline Call Push
Conversational Chat
On-Cloud Recording
AI Noise Reduction
UI Customization
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
Release Notes
FAQs
Conference
Overview(TUIRoomKit)
Activate the Service (TUIRoomKit)
Run Demo(TUIRoomKit)
Integration(TUIRoomKit)
Screen Sharing (TUIRoomKit)
Schedule a meeting (TUIRoomKit)
In-meeting Call (TUIRoomKit)
UI Customization(TUIRoomKit)
Virtual Background (TUIRoomKit)
Conference Control (TUIRoomKit)
Cloud Recording (TUIRoomKit)
AI Noise Reduction (TUIRoomKit)
In-Conference Chat (TUIRoomKit)
Robot Streaming (TUIRoomKit)
Enhanced Features (TUIRoomKit)
Client APIs (TUIRoomKit)
Server APIs (TUIRoomKit)
FAQs (TUIRoomKit)
Error Code (TUIRoomKit)
SDK Update Log (TUIRoomKit)
Live
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Run Demo
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDK Download
API Examples
Usage Guidelines
API Reference Manual
Advanced Features
AI Integration
Overview
Configure MCP Server
Install Skills
Integration Guide
FAQ
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
Console Guide
Application Management
Package Management
Usage Statistics
Monitoring Dashboard
Development Assistance
Solution
Real-Time Chorus
FAQs
Migration Guide
Billing
Features
UserSig
Firewall Restrictions
How to Downsize Installation Package
Android and iOS
Web
Flutter
Electron
TRTCCalling for Web
Audio and Video Quality
Others
Legacy Documentation
RTC RoomEngine SDK(Old)
Integrating TUIRoom (Web)
Integrating TUIRoom (Android)
Integrating TUIRoom (iOS)
Integrating TUIRoom (Flutter)
Integrating TUIRoom (Electron)
TUIRoom APIs
On-Cloud Recording and Playback (Old)
RTC Analytics Monthly Packages (Previous Version)
Protocols and Policies
Compliance
Security White Paper
Notes on Information Security
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC Policy
Privacy Policy
Data Processing And Security Agreement
Glossary

Use MCP Server for Migration

PDF
Focus Mode
Font Size
Last updated: 2026-03-26 18:03:54
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:



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback