Scenario | Capability Description | Example |
Query | Query usage for UI components (e.g., ConversationList, MessageList). | “@tencent-rtc How do I render custom message cards in the Vue3 MessageList component?” |
| Query usage of SDK APIs without UI. | “@tencent-rtc How do I send voice messages using the Web Chat SDK integrated in H5?” |
| Query meanings of SDK and server-side error codes and recommended handling. | “@tencent-rtc Under what circumstances does the Web Chat SDK return error code 2025 during login?” |
| Query usage of server-side REST APIs (e.g., account import, server-side message sending). | “@tencent-rtc How do I send custom messages in a group using the REST API?” |
| Query webhook configuration and third-party webhook integration methods. | “@tencent-rtc What is the request body format for the State.StateChange callback in Chat webhook?” |
| Query package pricing, feature limits, multi-client login configuration, and intranet proxy. | “@tencent-rtc How do I implement intranet proxy with the Web Chat SDK?” |
| Query offline push integration methods, vendor configuration, and common considerations. | “@tencent-rtc How do I configure the iOS Push Certificate for offline push?” |
Integration | Detects Vue3/React frameworks in context and generates UIKit code. | “@tencent-rtc Help me integrate the full Chat UIKit functionality in a Vue3 project.” |
| Detects Android/iOS/Flutter platforms in context and generates UIKit code. | “@tencent-rtc Help me integrate the complete Chat UIKit functionality in a Flutter project.” |
Troubleshooting | Diagnoses issues encountered during UIKit or SDK integration based on error messages. | “@tencent-rtc After successfully adding the Android app to the project, Chat reports: Fail to create more groups. This sdkappid has reached group amount max limit.” |
Credential | Purpose | Where to Obtain |
SDKAppID | MCP environment variable, required for basic queries. | |
SecretKey | MCP environment variable, required for MCP to generate test userSig. | |
mcp.json file and configure the following:{"mcpServers": {"tencent-rtc": {"command": "npx","args": ["-y", "@tencent-rtc/mcp@latest"],"env": {"SDKAPPID": "YOUR_SDKAPPID","SECRETKEY": "YOUR_SECRET_KEY"}}}}
codex mcp add tencent-rtc \\--env SDKAPPID=YOUR_SDK_APP_ID --env SECRETKEY=YOUR_SECRET_KEY \\-- npx -y @tencent-rtc/mcp@latest
--scope project to write to the .mcp.json file in your project root directory.codex mcp list to verify MCP configuration. If tencent-rtc appears in the list, configuration is successful.claude mcp add tencent-rtc \\--env SDKAPPID=YOUR_SDK_APP_ID --env SECRETKEY=YOUR_SECRET_KEY \\-- npx -y @tencent-rtc/mcp@latest
--scope project to write to the .mcp.json file in your project root directory.claude mcp list to verify MCP configuration. If tencent-rtc appears in the list, configuration is successful.{"mcpServers": {"tencent-rtc": {"command": "npx","args": ["-y", "@tencent-rtc/mcp@latest"],"env": {"SDKAPPID": "YOUR_SDKAPPID","SECRETKEY": "YOUR_SECRET_KEY"}}}}
mcp.json file and configure as follows:{"mcpServers": {"tencent-rtc": {"command": "npx","args": ["-y", "@tencent-rtc/mcp@latest"],"env": {"SDKAPPID": "YOUR_SDKAPPID","SECRETKEY": "YOUR_SECRET_KEY"}}}}
mcp.json file and configure the following:{"mcpServers": {"tencent-rtc": {"command": "npx","args": ["-y", "@tencent-rtc/mcp@latest"],"env": {"SDKAPPID": "YOUR_SDKAPPID","SECRETKEY": "YOUR_SECRET_KEY"}}}}
tencent-rtc displayed as Connected (green) in your IDE’s MCP panel, the installation is complete.@tencent-rtc prefix to your query to skip generic intent search and directly access the latest official SDK and UI component capabilities for faster and more accurate responses.@tencent-rtc Help me find the official documentation for Chat group message callbacks.
Task: @tencent-rtc Integrate Chat UIKit to build a WeChat-like chat application (use full-featured mode and achieve minimum runnable)Execution Requirements:1. Auto-detect framework (React/Vue3/Flutter/Android/iOS).2. If unable to detect, call `present_framework_choice` for user selection.3. Invoke MCP tools by platform:- Web: `get_web_chat_uikit_integration`- Native: `get_native_chat_uikit_integration`4. Parameters:- `framework`: fill in according to actual framework- `integrationMode`: `full-featured`5. Call `get_usersig` to obtain credentials for 2 test userIDs, complete SDK initialization and login.6. Generate a complete chat entry (conversation list + chat window + contacts/profile center) and login page, allowing users to select test accounts for login, and automatically complete routing or page registration.7. Start the project and output: modified files, run commands, validation steps.Acceptance Checklist:- SDK initialized successfully- User login successful- Conversation list visible- Able to send and receive messagesCommon Troubleshooting:- Invalid userSig: re-call `get_usersig`- Login failed: check `SDKAPPID/SECRETKEY` environment variables- Messages not displayed: check conversation ID format (e.g., `C2Cuserxxx`)Constraints:- Do not use deprecated APIs- UserSig must be issued by server in production environment
rm -rf ~/.npm/_npx && npm cache verify
npx -y @tencent-rtc/mcp@latest
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback