@tencent-rtc/mcp 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -44,7 +44,7 @@ npx -y @tencent-rtc/mcp
44
44
  "mcpServers": {
45
45
  "tencent-rtc": {
46
46
  "command": "npx",
47
- "args": ["-y", "@tencent-rtc/mcp"],
47
+ "args": ["-y", "@tencent-rtc/mcp@latest"],
48
48
  "env": {
49
49
  "SDKAPPID": "YOUR_SDKAPPID",
50
50
  "SECRETKEY": "YOUR_SECRET_KEY"
@@ -55,11 +55,11 @@ npx -y @tencent-rtc/mcp
55
55
  ```
56
56
  When you save the file, a notification is displayed. In the prompt, click **Enable**.
57
57
 
58
- ![mcp-server-prompt](./mcp-server-prompt.png)
58
+ ![mcp-server-prompt](https://web.sdk.qcloud.com/im/assets/images/mcp-server-prompt-en.png)
59
59
 
60
60
  - Step3: Navigate to **Cursor Settings** (the gear icon in top right corner) -> **MCP**, and check if tencentcloud-sdk-mcp server is enabled.
61
61
 
62
- ![cursor-setting](cursor-setting.png)
62
+ ![cursor-setting](https://web.sdk.qcloud.com/im/assets/images/cursor-setting-en.png)
63
63
 
64
64
 
65
65
  Step4: Ask the AI agent to build your Tencentcloud sdk app for you by describing the functionality yourself or by using a sample prompt.
Binary file
@@ -141,7 +141,7 @@ function buildAgentMessage(status, fragments, confidence, references) {
141
141
  const citeTail = references?.length
142
142
  ? 'When answering, MUST append a **References** section listing only **https** URLs from `meta.references` (or each fragment\'s `doc_urls`). Do not invent links. Do **not** list local repo paths such as `knowledge/...` or `integration/...` — users cannot open those.'
143
143
  : 'If fragments include `doc_urls`, append a **References** section with those **https** URLs only. Do **not** cite `fragment.source` local paths. If no online URLs are available, omit the References section rather than listing local file paths.';
144
- const tail = `${citeTail} After synthesizing the answer, MUST call \`record_answer\` (same prompt + queryID from this response) BEFORE replying to the user; append the returned follow-up text. On user feedback MUST call \`record_feedback\`.`;
144
+ const tail = `${citeTail} Final answer drafted -> MUST call \`finalize_answer\` before replying. Explicit follow-up feedback -> call \`submit_feedback\`.`;
145
145
  if (status === 'needs_framework') {
146
146
  return '[Hard rule] This question depends on a specific platform but no framework was provided; cross-platform search is low-signal and disallowed. MUST call `present_framework_choice` (with product), wait for the user to pick android/ios/flutter/react/vue/uni-app, then call this tool again with **product + framework**. Do not search with an empty framework.';
147
147
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-rtc/mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "Tencent Cloud MCP Server for SDK",
5
5
  "type": "module",
6
6
  "main": "index.js",