SecretID and SecretKey for request signing. Follow these steps to obtain them:
QcloudTrtccopilotFullAccess permission (full read and write access to TRTC Copilot) to this sub-user.
SecretID and SecretKeySecretID and SecretKey of the aforementioned sub-user to access the MCP service.
SecretID and SecretKey are sensitive secret keys. Do not commit them to code repositories or share them through public channels. For local development, they can be temporarily stored in the MCP configuration for debugging purposes.SecretKey is disabled for all primary and sub-accounts. SecretKey can only be viewed during creation. Please save the SecretKey promptly.TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY in the snippets below with the credentials you obtained above..cursor/mcp.json file, update the configuration information of mcpServers into mcp.json, and save it.{"mcpServers": {"trtc-migration-assistant-intl": {"command": "uvx","args": ["trtc-migration-assistant-intl"],"env": {"TENCENTCLOUD_SECRET_ID": "<your-secret-id>","TENCENTCLOUD_SECRET_KEY": "<your-secret-key>"}}}}


mcpServers to the configuration file and save it.{"mcpServers": {"trtc-migration-assistant-intl": {"command": "uvx","args": ["trtc-migration-assistant-intl"],"env": {"TENCENTCLOUD_SECRET_ID": "<your-secret-id>","TENCENTCLOUD_SECRET_KEY": "<your-secret-key>"}}}}

settings.json and configure MCP.
mcpServers to the settings.json file and save it.{"mcpServers": {"trtc-migration-assistant-intl": {"command": "uvx","args": ["trtc-migration-assistant-intl"],"env": {"TENCENTCLOUD_SECRET_ID": "<your-secret-id>","TENCENTCLOUD_SECRET_KEY": "<your-secret-key>"}}}}

TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY with actual secret key information.claude mcp add trtc-migration-assistant-intl \\-e TENCENTCLOUD_SECRET_ID=<your-secret-id> \\-e TENCENTCLOUD_SECRET_KEY=<your-secret-key> \\-- uvx trtc-migration-assistant-intl
--scope project to write to the .mcp.json in the project root directory.claude mcp list to verify whether MCP is configured successfully. The appearance of trtc-migration-assistant-intl in the list indicates successful configuration.TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY with actual secret key information.codex mcp add trtc-migration-assistant-intl \\--env TENCENTCLOUD_SECRET_ID=<your-secret-id> \\--env TENCENTCLOUD_SECRET_KEY=<your-secret-key> \\-- uvx trtc-migration-assistant-intl
.codex/config.toml in the project root directory and write the configuration information for mcp_servers.[mcp_servers."trtc-migration-assistant-intl"]command = "uvx"args = ["trtc-migration-assistant-intl"][mcp_servers."trtc-migration-assistant-intl".env]TENCENTCLOUD_SECRET_ID = "<your-secret-id>"TENCENTCLOUD_SECRET_KEY = "<your-secret-key>"
codex mcp list to verify whether MCP is configured successfully. The appearance of trtc-migration-assistant-intl in the list indicates successful configuration.@ xxx (original code)This is the code integrated with the xxx service provider. Please help me migrate it to TRTC.

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