tencent cloud

Tencent Real-Time Communication

소식 및 공지 사항
제품 업데이트
Tencent Cloud 오디오/비디오 단말 SDK 재생 업그레이드 및 권한 부여 인증 추가
TRTC 월간 구독 패키지 출시 관련 안내
제품 소개
제품 개요
기본 개념
제품 기능
제품 장점
응용 시나리오
성능 데이터
구매 가이드
Billing Overview
무료 시간 안내
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
과금 FAQ
Refund Instructions
신규 사용자 가이드
Demo 체험
Call
개요(TUICallKit)
Activate the Service
Run Demo
빠른 통합(TUICallKit)
오프라인 푸시
Conversational Chat
온클라우드 녹화(TUICallKit)
AI Noise Reduction
UI 사용자 정의
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
릴리스 노트
FAQs
라이브 스트리밍
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
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 다운로드
API 코드 예시
Usage Guidelines
API 클라이언트 API
고급 기능
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
콘솔 가이드
애플리케이션 관리
사용량 통계
모니터링 대시보드
개발 보조
Solution
Real-Time Chorus
FAQs
과금 개요
기능 관련
UserSig 관련
방화벽 제한 처리
설치 패키지 용량 축소 관련 질문
Andriod 및 iOS 관련
Web 관련
Flutter 관련
Electron 관련
TRTCCalling Web 관련
멀티미디어 품질 관련
기타 질문
Protocols and Policies
컴플라이언스 인증
보안 백서
정보 보안에 관한 참고 사항
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약
용어집
문서Tencent Real-Time Communication

Configure MCP Server

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-23 21:34:49
Configure the Tencent RTC MCP server once — it works for all Chat platforms (React, Vue, Android, iOS, Flutter).

What the MCP server does

Fetches the latest TUIKit integration docs in a format AI can act on
Generates test userSig credentials from your SDK_APP_ID and SECRET_KEY
Exposes tools your AI can call directly in chat


Step 1: Get your credentials

1. Open the Tencent RTC Console
Log in to the TRTC console, create a new Chat application or select an existing one.
2. Copy SDKAppID and SDKSecretKey
From the application details page, copy both values. You'll paste them into the config below.

Caution:
SECRET_KEY is a sensitive credential. Never commit it to a repository or share it publicly. For local development it's safe to store in your MCP config file — but before going to production, move UserSig generation to your backend. See Generate UserSig on your server.

Step 2: Configure MCP Server

MCP config scoped to a project lives at .cursor/mcp.json inside your project directory. For a global config that applies to all projects, use ~/.cursor/mcp.json.
Cursor
Trae
CodeBuddy
Claude Code
Codex
1. Download Cursor (If already downloaded, skip this step).
2. Navigate to your project root.
3. Create or update .cursor/mcp.json with the following, and fill in your SDKAPPID and SECRETKEY, and save your changes:
{
"mcpServers": {
"tencent-rtc": {
"command": "npx",
"args": ["-y", "@tencent-rtc/mcp@latest"],
"env": {
"SDKAPPID": "YOUR_SDKAPPID",
"SECRETKEY": "YOUR_SECRET_KEY"
}
}
}
}
4. Go to Settings - Tools & MCP in Cursor to check if the MCP tool has been enabled successfully.

1. Download Trae(If already downloaded, skip this step).
2. Click Settings > MCP.

3. Click Add > Configure Manually, and then click Raw Config (JSON) to update the mcpServers section.

{
"mcpServers": {
"tencent-rtc": {
"command": "npx",
"args": ["-y", "@tencent-rtc/mcp@latest"],
"env": {
"SDKAPPID": "YOUR_SDKAPPID",
"SECRETKEY": "YOUR_SECRET_KEY"
}
}
}
}
4. Save your changes. Select the editor's default Builder with MCP or add MCP to your custom Builder.

1. Download CodeBuddy (If already downloaded, skip this step).
2. Go to Settings > Add MCP to open settings.json and configure MCP.

3. Update the mcpServers section and save the changes.
{
"mcpServers": {
"tencent-rtc": {
"command": "npx",
"args": ["-y", "@tencent-rtc/mcp@latest"],
"env": {
"SDKAPPID": "YOUR_SDKAPPID",
"SECRETKEY": "YOUR_SECRET_KEY"
}
}
}
}
4. Check whether the MCP tool is successfully loaded to tools.

1. Run this command to add the server with credentials in one step:
claude mcp add tencent-rtc -e SDKAPPID=YOUR_SDK_APP_ID -e SECRETKEY=YOUR_SECRET_KEY -- npx -y @tencent-rtc/mcp@latest
This writes to ~/.claude.json. For project-scoped config, add --scope project — it writes to .mcp.json at your project root.
2. Verify with claude mcp list to confirm tencent-rtc appears.
1. Run this command to add the server with credentials in one step:
codex mcp add tencent-rtc --env SDKAPPID=YOUR_SDK_APP_ID --env SECRETKEY=YOUR_SECRET_KEY -- npx -y @tencent-rtc/mcp@latest
This writes to ~/.codex/config.toml. For project-scoped config, create .codex/config.toml at your project root.
2. Verify with codex mcp list to confirm tencent-rtc appears.

Step 3: Verify the setup

Send this prompt in your AI chat to confirm the MCP server is working:
Use the tencent-rtc MCP tool to generate a userSig for test001
A successful response returns JSON with SDKAppID, userID, and userSig fields.
If the server shows as offline or tools don't load, see Troubleshooting.

Next steps

Now that the MCP server is running, you can either enhance AI accuracy or jump straight into integration.
Set up Skills to improve how the AI routes your requests — no need to mention specific tool names in every prompt(optional).
Go to the Integration Guide to start building with React, Vue, Android, iOS, or Flutter.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백