Browse Source

✨ feat: 更新MCP服务

Pchen. 1 month ago
parent
commit
16c7b6672d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apis/MCP/McpRPC.js

+ 2 - 2
apis/MCP/McpRPC.js

@@ -18,7 +18,7 @@ class McpRpc extends API {
 
 
             if (method === 'initialize') {
             if (method === 'initialize') {
                 result = {
                 result = {
-                    protocolVersion: "2026-03-25",
+                    protocolVersion: "1.0",
                     capabilities: { "tools": {} },
                     capabilities: { "tools": {} },
                     serverInfo: { name: "runforge-mcp", version: "1.0" }
                     serverInfo: { name: "runforge-mcp", version: "1.0" }
                 }
                 }
@@ -57,7 +57,7 @@ class McpRpc extends API {
                         },
                         },
                         {
                         {
                             "name": "set_notification",
                             "name": "set_notification",
-                            "description": "消息通知设置,参数:bot:智能机器人通知,email:邮件通知,none:关闭通知",
+                            "description": "消息通知设置,type参数:bot:智能机器人通知、email:邮件通知、none:关闭通知",
                             "inputSchema": {
                             "inputSchema": {
                                 "type": "object",
                                 "type": "object",
                                 "properties": {
                                 "properties": {