--- 测试开始于 2025-04-13T12:28:09.374Z --- [2025-04-13T12:28:09.376Z] 启动feishudocserver... [2025-04-13T12:28:09.378Z] 等待服务器启动... [2025-04-13T12:28:09.844Z] [SERVER STDERR] Feishu Document MCP Server running on stdio [2025-04-13T12:28:09.844Z] 服务器准备就绪,开始测试各种方法... [2025-04-13T12:28:10.846Z] 正在尝试找到正确的方法名称... [2025-04-13T12:28:10.848Z] 测试方法: "listTools" [2025-04-13T12:28:10.853Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547290849","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:10.855Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547290849", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:10.856Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:11.851Z] 测试方法: "list_tools" [2025-04-13T12:28:11.854Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547291853","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:11.856Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547291853", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:11.857Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:12.854Z] 测试方法: "get_tools" [2025-04-13T12:28:12.857Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547292855","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:12.857Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547292855", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:12.858Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:13.857Z] 测试方法: "tools" [2025-04-13T12:28:13.859Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547293858","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:13.859Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547293858", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:13.859Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:14.860Z] 测试方法: "ListTools" [2025-04-13T12:28:14.861Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547294861","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:14.862Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547294861", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:14.862Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:15.862Z] 测试方法: "getTools" [2025-04-13T12:28:15.864Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547295863","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:15.865Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547295863", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:15.866Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:16.864Z] 测试方法: "get-tools" [2025-04-13T12:28:16.867Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547296866","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:16.868Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547296866", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:16.868Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:17.868Z] 测试方法: "tool.list" [2025-04-13T12:28:17.870Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547297870","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:17.871Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547297870", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:17.872Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:18.870Z] 测试方法: "tools.list" [2025-04-13T12:28:18.873Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547298872","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:18.874Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547298872", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:18.875Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:19.874Z] 测试方法: "mcp.listTools" [2025-04-13T12:28:19.875Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547299875","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:19.875Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547299875", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:19.876Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:20.876Z] 测试方法: "mcp.list_tools" [2025-04-13T12:28:20.878Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547300878","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:20.879Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547300878", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:20.880Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:21.879Z] 测试方法: "initialize" [2025-04-13T12:28:21.883Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547301881","error":{"code":-32603,"message":"[\n {\n \"code\": \"invalid_type\",\n \"expected\": \"string\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"protocolVersion\"\n ],\n \"message\": \"Required\"\n },\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"capabilities\"\n ],\n \"message\": \"Required\"\n },\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"clientInfo\"\n ],\n \"message\": \"Required\"\n }\n]"}} [2025-04-13T12:28:21.884Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547301881", "error": { "code": -32603, "message": "[\n {\n \"code\": \"invalid_type\",\n \"expected\": \"string\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"protocolVersion\"\n ],\n \"message\": \"Required\"\n },\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"capabilities\"\n ],\n \"message\": \"Required\"\n },\n {\n \"code\": \"invalid_type\",\n \"expected\": \"object\",\n \"received\": \"undefined\",\n \"path\": [\n \"params\",\n \"clientInfo\"\n ],\n \"message\": \"Required\"\n }\n]" } } [2025-04-13T12:28:21.884Z] 收到错误响应: [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "params", "protocolVersion" ], "message": "Required" }, { "code": "invalid_type", "expected": "object", "received": "undefined", "path": [ "params", "capabilities" ], "message": "Required" }, { "code": "invalid_type", "expected": "object", "received": "undefined", "path": [ "params", "clientInfo" ], "message": "Required" } ] (-32603) [2025-04-13T12:28:22.882Z] 测试方法: "mcp.initialize" [2025-04-13T12:28:22.884Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547302884","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:22.885Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547302884", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:22.886Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:23.885Z] 所有方法都已测试,未找到可用方法 [2025-04-13T12:28:23.887Z] 尝试直接调用create_nice_feishu_doc... [2025-04-13T12:28:23.888Z] 尝试直接调用create_nice_feishu_doc工具... [2025-04-13T12:28:23.914Z] 测试工具调用方法: "callTool" [2025-04-13T12:28:23.915Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547303914","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:23.915Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547303914", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:23.915Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:24.916Z] 测试工具调用方法: "call_tool" [2025-04-13T12:28:24.918Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547304917","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:24.919Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547304917", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:24.919Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:25.918Z] 测试工具调用方法: "executeTools" [2025-04-13T12:28:25.921Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547305920","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:25.922Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547305920", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:25.923Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:26.921Z] 测试工具调用方法: "execute_tool" [2025-04-13T12:28:26.924Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547306923","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:26.925Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547306923", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:26.926Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:27.925Z] 测试工具调用方法: "tool.execute" [2025-04-13T12:28:27.928Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547307927","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:27.929Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547307927", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:27.929Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:28.928Z] 测试工具调用方法: "tool.call" [2025-04-13T12:28:28.930Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547308929","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:28.931Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547308929", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:28.932Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:29.931Z] 测试工具调用方法: "mcp.callTool" [2025-04-13T12:28:29.934Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547309933","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:29.934Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547309933", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:29.935Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:30.933Z] 测试工具调用方法: "mcp.call_tool" [2025-04-13T12:28:30.935Z] [SERVER STDOUT] {"jsonrpc":"2.0","id":"1744547310934","error":{"code":-32601,"message":"Method not found"}} [2025-04-13T12:28:30.935Z] [解析响应] { "jsonrpc": "2.0", "id": "1744547310934", "error": { "code": -32601, "message": "Method not found" } } [2025-04-13T12:28:30.936Z] 收到错误响应: Method not found (-32601) [2025-04-13T12:28:31.936Z] 所有工具调用方法都已测试,未找到可用方法 [2025-04-13T12:28:31.939Z] 测试结束