mcp-probe-kit 1.10.0 → 1.10.1

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.
Files changed (2) hide show
  1. package/build/index.js +120 -40
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -25,7 +25,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
25
25
  name: "detect_shell",
26
26
  description: "🎯 支持自然语言输入!可直接说'检测环境'。检测 AI 应用环境指纹,识别是否为套壳产品;返回 JSON 检测报告;仅基于环境指纹判断,不做法律/归因结论",
27
27
  inputSchema: {
28
- type: "string",
28
+ type: "object",
29
+ properties: {},
30
+ additionalProperties: true,
29
31
  description: "💡 支持多种输入格式:\n1) 自然语言:'检测环境' 或 '检测是否为套壳'\n2) JSON字符串:'{\"nonce\":\"...\", \"skip_network\":true}'\n3) 空字符串:使用默认配置",
30
32
  },
31
33
  },
@@ -33,7 +35,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
33
35
  name: "init_setting",
34
36
  description: "🎯 支持自然语言输入!可直接说'初始化 Cursor 配置'。初始化 Cursor IDE 配置,写入推荐的 AI 设置到 .cursor/settings.json",
35
37
  inputSchema: {
36
- type: "string",
38
+ type: "object",
39
+ properties: {},
40
+ additionalProperties: true,
37
41
  description: "💡 支持多种输入格式:\n1) 自然语言:'初始化配置' 或 '初始化 Cursor 配置'\n2) JSON字符串:'{\"project_path\":\"/path/to/project\"}'\n3) 空字符串:使用当前工作区路径",
38
42
  },
39
43
  },
@@ -41,7 +45,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
41
45
  name: "init_project",
42
46
  description: "🎯 支持自然语言输入!可直接说'创建新项目'或描述项目需求。创建新项目结构和任务分解,按 Spec-Driven Development 方式生成需求/设计/任务文档",
43
47
  inputSchema: {
44
- type: "string",
48
+ type: "object",
49
+ properties: {},
50
+ additionalProperties: true,
45
51
  description: "💡 支持多种输入格式:\n1) 自然语言:'创建一个电商网站项目' 或 '创建博客系统'\n2) 项目需求描述:详细的功能需求文档\n3) JSON字符串:'{\"input\":\"项目需求\", \"project_name\":\"my-project\"}'",
46
52
  },
47
53
  },
@@ -49,7 +55,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
49
55
  name: "gencommit",
50
56
  description: "🎯 支持自然语言输入!可直接说'帮我生成commit消息'或'修复了登录bug'。分析代码变更生成 Git commit 消息,支持 Conventional Commits 和 emoji;输出文本,不执行提交",
51
57
  inputSchema: {
52
- type: "string",
58
+ type: "object",
59
+ properties: {},
60
+ additionalProperties: true,
53
61
  description: "💡 支持多种输入格式:\n1) 自然语言:'帮我生成commit消息' 或 '修复了登录bug'\n2) git diff 输出:直接粘贴 git diff 结果\n3) JSON字符串:'{\"changes\":\"修复bug\", \"type\":\"fixed\"}'\n4) 空字符串:将自动获取 git diff",
54
62
  },
55
63
  },
@@ -57,7 +65,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
57
65
  name: "debug",
58
66
  description: "🎯 支持自然语言输入!可直接粘贴错误信息如'TypeError: Cannot read property name of undefined'。分析错误信息和堆栈,定位问题根因,输出调试策略和解决方案;仅分析定位,不修复代码",
59
67
  inputSchema: {
60
- type: "string",
68
+ type: "object",
69
+ properties: {},
70
+ additionalProperties: true,
61
71
  description: "💡 支持多种输入格式:\n1) 直接粘贴错误信息:'TypeError: Cannot read property...'\n2) 完整错误+堆栈:包含错误消息和堆栈跟踪\n3) JSON字符串:'{\"error\":\"错误信息\", \"context\":\"相关代码\"}'",
62
72
  },
63
73
  },
@@ -65,7 +75,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
65
75
  name: "genapi",
66
76
  description: "🎯 支持自然语言输入!可直接粘贴 API 代码。生成 API 文档(Markdown/OpenAPI/JSDoc),包含参数说明与示例;基于现有接口定义/路由/注释推断;输出文本,不修改业务代码",
67
77
  inputSchema: {
68
- type: "string",
78
+ type: "object",
79
+ properties: {},
80
+ additionalProperties: true,
69
81
  description: "💡 支持多种输入格式:\n1) 直接粘贴 API 代码:路由定义、Controller 或接口函数\n2) 自然语言:'生成 API 文档'\n3) JSON字符串:'{\"code\":\"API代码\", \"format\":\"openapi\"}'",
70
82
  },
71
83
  },
@@ -73,7 +85,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
73
85
  name: "code_review",
74
86
  description: "🎯 支持自然语言输入!可直接粘贴代码如'请审查这段代码:function login() {...}'。审查代码质量、安全性、性能,输出结构化问题清单(severity/category/file/line/suggestion);仅分析,不自动修改代码",
75
87
  inputSchema: {
76
- type: "string",
88
+ type: "object",
89
+ properties: {},
90
+ additionalProperties: true,
77
91
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function login() {...}'\n2) 带说明:'请审查这段代码:...'\n3) git diff 输出\n4) JSON字符串:'{\"code\":\"代码\", \"focus\":\"security\"}'",
78
92
  },
79
93
  },
@@ -81,7 +95,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
81
95
  name: "gentest",
82
96
  description: "🎯 支持自然语言输入!可直接粘贴需要测试的代码。生成单元测试代码(Jest/Vitest/Mocha),包含边界用例和 mock;默认跟随项目现有测试框架与语言;输出代码,不运行测试",
83
97
  inputSchema: {
84
- type: "string",
98
+ type: "object",
99
+ properties: {},
100
+ additionalProperties: true,
85
101
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function add(a, b) {...}'\n2) 自然语言:'生成测试代码'\n3) JSON字符串:'{\"code\":\"函数代码\", \"framework\":\"jest\"}'",
86
102
  },
87
103
  },
@@ -89,7 +105,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
89
105
  name: "genpr",
90
106
  description: "🎯 支持自然语言输入!可直接说'生成PR描述'或粘贴 commit 历史。生成 Pull Request 描述,包含变更摘要、影响范围、测试说明;输出文本,不创建 PR",
91
107
  inputSchema: {
92
- type: "string",
108
+ type: "object",
109
+ properties: {},
110
+ additionalProperties: true,
93
111
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成PR描述' 或 '生成发布说明'\n2) 粘贴 commit 历史:git log 输出\n3) JSON字符串:'{\"branch\":\"feature/xxx\", \"commits\":\"...\"}'",
94
112
  },
95
113
  },
@@ -97,7 +115,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
97
115
  name: "check_deps",
98
116
  description: "🎯 支持自然语言输入!可直接说'检查依赖'。检查依赖健康度(版本过期/安全漏洞/体积),输出升级建议(含潜在 breaking 风险);仅分析,不自动升级",
99
117
  inputSchema: {
100
- type: "string",
118
+ type: "object",
119
+ properties: {},
120
+ additionalProperties: true,
101
121
  description: "💡 支持多种输入格式:\n1) 自然语言:'检查依赖' 或 '检查依赖健康度'\n2) 空字符串:自动检查当前项目依赖",
102
122
  },
103
123
  },
@@ -105,7 +125,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
105
125
  name: "gendoc",
106
126
  description: "🎯 支持自然语言输入!可直接粘贴需要注释的代码。生成代码注释(JSDoc/TSDoc/Javadoc),补全参数/返回值/异常/示例;输出代码,不改变逻辑",
107
127
  inputSchema: {
108
- type: "string",
128
+ type: "object",
129
+ properties: {},
130
+ additionalProperties: true,
109
131
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function calculate() {...}'\n2) 自然语言:'生成代码注释'\n3) JSON字符串:'{\"code\":\"代码\", \"style\":\"jsdoc\", \"lang\":\"zh\"}'",
110
132
  },
111
133
  },
@@ -113,7 +135,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
113
135
  name: "genchangelog",
114
136
  description: "🎯 支持自然语言输入!可直接说'生成 v1.2.0 的 changelog'。根据 commit 历史生成 CHANGELOG,按 feat/fix/breaking 分类;输出文本,不打 tag",
115
137
  inputSchema: {
116
- type: "string",
138
+ type: "object",
139
+ properties: {},
140
+ additionalProperties: true,
117
141
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成 v1.2.0 的 changelog' 或 '生成变更日志'\n2) 版本号:'v1.2.0'\n3) JSON字符串:'{\"version\":\"v1.2.0\", \"from\":\"v1.0.0\"}'",
118
142
  },
119
143
  },
@@ -121,7 +145,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
121
145
  name: "refactor",
122
146
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'帮我重构这段代码'。分析代码结构提供重构建议,输出重构步骤和风险评估;仅建议,不自动重构",
123
147
  inputSchema: {
124
- type: "string",
148
+ type: "object",
149
+ properties: {},
150
+ additionalProperties: true,
125
151
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function process() {...}'\n2) 带说明:'帮我重构这段代码:...'\n3) JSON字符串:'{\"code\":\"代码\", \"goal\":\"improve_readability\"}'",
126
152
  },
127
153
  },
@@ -129,7 +155,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
129
155
  name: "perf",
130
156
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'分析性能问题'。分析性能瓶颈(算法/内存/数据库/React渲染),输出结构化瓶颈清单(evidence/fix/impact);如需全面审查请用 start_review",
131
157
  inputSchema: {
132
- type: "string",
158
+ type: "object",
159
+ properties: {},
160
+ additionalProperties: true,
133
161
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'for(let i=0; i<n; i++) {...}'\n2) 带说明:'分析这段代码的性能问题:...'\n3) JSON字符串:'{\"code\":\"代码\", \"type\":\"algorithm\"}'",
134
162
  },
135
163
  },
@@ -137,7 +165,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
137
165
  name: "fix",
138
166
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'修复这段代码的问题'。自动修复可机械化问题(Lint/TS/格式化/导入/未使用变量),输出补丁(unified diff);不做业务逻辑改动",
139
167
  inputSchema: {
140
- type: "string",
168
+ type: "object",
169
+ properties: {},
170
+ additionalProperties: true,
141
171
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'const x = 1'\n2) 带说明:'修复这段代码的问题:...'\n3) JSON字符串:'{\"code\":\"代码\", \"type\":\"lint\"}'",
142
172
  },
143
173
  },
@@ -145,7 +175,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
145
175
  name: "gensql",
146
176
  description: "🎯 完全支持自然语言输入!可直接说'查询所有活跃用户的姓名和邮箱'。根据自然语言生成 SQL 语句(PostgreSQL/MySQL/SQLite);输出文本,不执行查询",
147
177
  inputSchema: {
148
- type: "string",
178
+ type: "object",
179
+ properties: {},
180
+ additionalProperties: true,
149
181
  description: "💡 支持多种输入格式:\n1) 自然语言:'查询所有活跃用户的姓名和邮箱'\n2) 查询需求:'从 users 表查询 name 和 email,条件是 status=active'\n3) JSON字符串:'{\"description\":\"查询需求\", \"dialect\":\"postgres\"}'",
150
182
  },
151
183
  },
@@ -153,7 +185,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
153
185
  name: "resolve_conflict",
154
186
  description: "🎯 支持自然语言输入!可直接粘贴冲突内容。分析 Git 合并冲突,理解双方意图,输出补丁(unified diff);需人工确认后应用",
155
187
  inputSchema: {
156
- type: "string",
188
+ type: "object",
189
+ properties: {},
190
+ additionalProperties: true,
157
191
  description: "💡 支持多种输入格式:\n1) 直接粘贴冲突内容:包含 <<<<<<< ======= >>>>>>> 标记的文件\n2) git diff 输出\n3) JSON字符串:'{\"conflicts\":\"冲突内容\"}'",
158
192
  },
159
193
  },
@@ -161,7 +195,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
161
195
  name: "genui",
162
196
  description: "🎯 支持自然语言输入!可直接说'生成一个登录表单组件'。生成 UI 组件代码(React/Vue/HTML),包含 Props 和样式;默认跟随项目现有前端栈与组件风格;输出代码",
163
197
  inputSchema: {
164
- type: "string",
198
+ type: "object",
199
+ properties: {},
200
+ additionalProperties: true,
165
201
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成一个登录表单组件' 或 '创建用户卡片组件'\n2) 详细描述:包含交互行为、状态、样式要求\n3) JSON字符串:'{\"description\":\"组件描述\", \"framework\":\"react\"}'",
166
202
  },
167
203
  },
@@ -169,7 +205,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
169
205
  name: "explain",
170
206
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'解释这段代码'。解释代码逻辑和实现原理,包含执行流程、关键概念;输出文本,不修改代码",
171
207
  inputSchema: {
172
- type: "string",
208
+ type: "object",
209
+ properties: {},
210
+ additionalProperties: true,
173
211
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function fibonacci(n) {...}'\n2) 带说明:'解释这段代码:...'\n3) JSON字符串:'{\"code\":\"代码\", \"context\":\"业务背景\"}'",
174
212
  },
175
213
  },
@@ -177,7 +215,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
177
215
  name: "convert",
178
216
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'转换为TypeScript'。转换代码格式或框架(JS→TS/Class→Hooks/Vue2→Vue3),保持逻辑不变;输出代码",
179
217
  inputSchema: {
180
- type: "string",
218
+ type: "object",
219
+ properties: {},
220
+ additionalProperties: true,
181
221
  description: "💡 支持多种输入格式:\n1) 带说明:'转换为TypeScript:const x = 1'\n2) 直接粘贴代码(会自动识别转换方向)\n3) JSON字符串:'{\"code\":\"代码\", \"from\":\"js\", \"to\":\"ts\"}'",
182
222
  },
183
223
  },
@@ -185,7 +225,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
185
225
  name: "css_order",
186
226
  description: "🎯 支持自然语言输入!可直接粘贴CSS代码。重排 CSS 属性顺序,按布局→盒模型→视觉→其他规则整理;输出文本",
187
227
  inputSchema: {
188
- type: "string",
228
+ type: "object",
229
+ properties: {},
230
+ additionalProperties: true,
189
231
  description: "💡 支持多种输入格式:\n1) 直接粘贴CSS代码:'.button { color: red; ... }'\n2) 自然语言:'整理CSS属性顺序'\n3) 空字符串:处理当前文件的CSS",
190
232
  },
191
233
  },
@@ -193,7 +235,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
193
235
  name: "genreadme",
194
236
  description: "🎯 支持自然语言输入!可直接说'生成README'或粘贴项目信息。生成 README(介绍/安装/使用/脚本/FAQ);输出文本;如需 OpenAPI 请用 genapi 或 start_doc",
195
237
  inputSchema: {
196
- type: "string",
238
+ type: "object",
239
+ properties: {},
240
+ additionalProperties: true,
197
241
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成README' 或 '生成项目文档'\n2) 粘贴项目信息或代码\n3) JSON字符串:'{\"project_info\":\"项目信息\", \"style\":\"detailed\"}'",
198
242
  },
199
243
  },
@@ -201,7 +245,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
201
245
  name: "split",
202
246
  description: "🎯 支持自然语言输入!可直接粘贴大文件内容并说'拆分这个文件'。拆分大文件为小模块,按类型/功能/组件策略拆分;尽量保持对外导出与行为不变;输出代码",
203
247
  inputSchema: {
204
- type: "string",
248
+ type: "object",
249
+ properties: {},
250
+ additionalProperties: true,
205
251
  description: "💡 支持多种输入格式:\n1) 直接粘贴文件内容:完整的代码文件\n2) 带说明:'拆分这个文件:...'\n3) JSON字符串:'{\"file\":\"文件内容\", \"strategy\":\"auto\"}'",
206
252
  },
207
253
  },
@@ -209,7 +255,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
209
255
  name: "analyze_project",
210
256
  description: "🎯 支持自然语言输入!可直接说'分析项目'。分析项目结构、技术栈、架构模式,输出项目全景报告;如需生成上下文文档请用 init_project_context",
211
257
  inputSchema: {
212
- type: "string",
258
+ type: "object",
259
+ properties: {},
260
+ additionalProperties: true,
213
261
  description: "💡 支持多种输入格式:\n1) 自然语言:'分析项目' 或 '分析项目结构'\n2) 项目路径:'/path/to/project'\n3) JSON字符串:'{\"project_path\":\"路径\", \"max_depth\":5}'",
214
262
  },
215
263
  },
@@ -217,7 +265,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
217
265
  name: "init_project_context",
218
266
  description: "🎯 支持自然语言输入!可直接说'生成项目上下文文档'。生成项目上下文文档(技术栈/架构/编码规范),供后续开发参考;如需分析项目请先用 analyze_project",
219
267
  inputSchema: {
220
- type: "string",
268
+ type: "object",
269
+ properties: {},
270
+ additionalProperties: true,
221
271
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成项目上下文文档' 或 '生成开发文档'\n2) 文档目录:'docs'\n3) JSON字符串:'{\"docs_dir\":\"docs\"}'",
222
272
  },
223
273
  },
@@ -225,7 +275,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
225
275
  name: "add_feature",
226
276
  description: "🎯 支持自然语言输入!可直接说'添加用户认证功能'。生成新功能规格文档(需求/设计/任务清单),基于项目上下文;如需完整流程请用 start_feature",
227
277
  inputSchema: {
228
- type: "string",
278
+ type: "object",
279
+ properties: {},
280
+ additionalProperties: true,
229
281
  description: "💡 支持多种输入格式:\n1) 自然语言:'添加用户认证功能' 或 '实现支付功能'\n2) 功能描述:详细的功能需求说明\n3) JSON字符串:'{\"feature_name\":\"user-auth\", \"description\":\"功能描述\"}'",
230
282
  },
231
283
  },
@@ -233,7 +285,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
233
285
  name: "security_scan",
234
286
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'扫描安全问题'。专项安全漏洞扫描(注入/认证/加密/敏感数据),输出结构化风险清单(severity/type/location/fix);如需全面审查请用 start_review",
235
287
  inputSchema: {
236
- type: "string",
288
+ type: "object",
289
+ properties: {},
290
+ additionalProperties: true,
237
291
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function login(username, password) {...}'\n2) 带说明:'扫描这段代码的安全问题:...'\n3) JSON字符串:'{\"code\":\"代码\", \"scan_type\":\"injection\"}'",
238
292
  },
239
293
  },
@@ -241,7 +295,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
241
295
  name: "fix_bug",
242
296
  description: "🎯 支持自然语言输入!可直接粘贴错误信息并说'帮我修复这个bug'。指导 Bug 修复流程,输出根因分析+修复方案+验证步骤;不保证自动修改代码,如要自动改可配合 fix",
243
297
  inputSchema: {
244
- type: "string",
298
+ type: "object",
299
+ properties: {},
300
+ additionalProperties: true,
245
301
  description: "💡 支持多种输入格式:\n1) 直接粘贴错误信息:'Error: Cannot find module...'\n2) 带说明:'帮我修复这个bug:...'\n3) JSON字符串:'{\"error_message\":\"错误\", \"stack_trace\":\"堆栈\"}'",
246
302
  },
247
303
  },
@@ -249,7 +305,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
249
305
  name: "estimate",
250
306
  description: "🎯 支持自然语言输入!可直接说'估算开发工作量'或描述任务。估算开发工作量,输出故事点、时间范围(乐观/正常/悲观)、风险点;仅估算,不生成代码",
251
307
  inputSchema: {
252
- type: "string",
308
+ type: "object",
309
+ properties: {},
310
+ additionalProperties: true,
253
311
  description: "💡 支持多种输入格式:\n1) 自然语言:'估算开发工作量' 或 '评估这个任务需要多久'\n2) 任务描述:详细的功能需求和技术要求\n3) JSON字符串:'{\"task_description\":\"任务\", \"team_size\":3}'",
254
312
  },
255
313
  },
@@ -257,7 +315,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
257
315
  name: "gen_mock",
258
316
  description: "🎯 支持自然语言输入!可直接粘贴类型定义或说'生成用户数据'。根据 TypeScript 类型或 JSON Schema 生成 Mock 数据;输出文本,不写入数据库",
259
317
  inputSchema: {
260
- type: "string",
318
+ type: "object",
319
+ properties: {},
320
+ additionalProperties: true,
261
321
  description: "💡 支持多种输入格式:\n1) 直接粘贴类型定义:'interface User { name: string; ... }'\n2) 自然语言:'生成10条用户数据'\n3) JSON字符串:'{\"schema\":\"类型定义\", \"count\":10}'",
262
322
  },
263
323
  },
@@ -265,7 +325,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
265
325
  name: "design2code",
266
326
  description: "🎯 支持自然语言输入!可直接粘贴设计稿URL或描述。设计稿转代码(图片URL/描述/HTML→Vue/React),1:1 还原布局和样式;默认输出与项目一致的框架与样式方案;输出代码",
267
327
  inputSchema: {
268
- type: "string",
328
+ type: "object",
329
+ properties: {},
330
+ additionalProperties: true,
269
331
  description: "💡 支持多种输入格式:\n1) 设计稿图片 URL:'https://example.com/design.png'\n2) 设计稿描述:'一个包含标题、输入框和按钮的登录页面'\n3) HTML 源码或 base64 图片\n4) JSON字符串:'{\"input\":\"URL或描述\", \"framework\":\"vue\"}'",
270
332
  },
271
333
  },
@@ -274,7 +336,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
274
336
  name: "start_feature",
275
337
  description: "🎯 支持自然语言输入!可直接说'开发用户认证功能'。新功能开发编排:检查上下文→生成规格→估算工作量;若只需规格文档请用 add_feature",
276
338
  inputSchema: {
277
- type: "string",
339
+ type: "object",
340
+ properties: {},
341
+ additionalProperties: true,
278
342
  description: "💡 支持多种输入格式:\n1) 自然语言:'开发用户认证功能' 或 '实现支付模块'\n2) 功能描述:详细的功能需求\n3) JSON字符串:'{\"feature_name\":\"user-auth\", \"description\":\"功能描述\"}'",
279
343
  },
280
344
  },
@@ -282,7 +346,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
282
346
  name: "start_bugfix",
283
347
  description: "🎯 支持自然语言输入!可直接粘贴错误信息。Bug 修复编排:检查上下文→分析定位→修复方案→生成测试;若只需定位与调试策略请用 debug;若只需修复流程指导请用 fix_bug",
284
348
  inputSchema: {
285
- type: "string",
349
+ type: "object",
350
+ properties: {},
351
+ additionalProperties: true,
286
352
  description: "💡 支持多种输入格式:\n1) 直接粘贴错误信息:'Error: Cannot find module...'\n2) 带说明:'修复这个bug:...'\n3) JSON字符串:'{\"error_message\":\"错误\", \"stack_trace\":\"堆栈\"}'",
287
353
  },
288
354
  },
@@ -290,7 +356,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
290
356
  name: "start_review",
291
357
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'全面审查这段代码'。代码全面体检:代码审查+安全扫描+性能分析,输出综合报告;若只需单项请用对应工具",
292
358
  inputSchema: {
293
- type: "string",
359
+ type: "object",
360
+ properties: {},
361
+ additionalProperties: true,
294
362
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function process() {...}'\n2) 带说明:'全面审查这段代码:...'\n3) JSON字符串:'{\"code\":\"代码\", \"language\":\"typescript\"}'",
295
363
  },
296
364
  },
@@ -298,7 +366,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
298
366
  name: "start_release",
299
367
  description: "🎯 支持自然语言输入!可直接说'准备发布 v1.2.0'。发布准备编排:生成 Changelog→生成 PR 描述;若只需单项请用 genchangelog 或 genpr",
300
368
  inputSchema: {
301
- type: "string",
369
+ type: "object",
370
+ properties: {},
371
+ additionalProperties: true,
302
372
  description: "💡 支持多种输入格式:\n1) 自然语言:'准备发布 v1.2.0' 或 '生成发布文档'\n2) 版本号:'v1.2.0'\n3) JSON字符串:'{\"version\":\"v1.2.0\", \"from_tag\":\"v1.0.0\"}'",
303
373
  },
304
374
  },
@@ -306,7 +376,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
306
376
  name: "start_refactor",
307
377
  description: "🎯 支持自然语言输入!可直接粘贴代码并说'重构这段代码'。代码重构编排:审查现状→重构建议→生成测试;若只需建议请用 refactor",
308
378
  inputSchema: {
309
- type: "string",
379
+ type: "object",
380
+ properties: {},
381
+ additionalProperties: true,
310
382
  description: "💡 支持多种输入格式:\n1) 直接粘贴代码:'function calculate() {...}'\n2) 带说明:'重构这段代码:...'\n3) JSON字符串:'{\"code\":\"代码\", \"goal\":\"reduce_complexity\"}'",
311
383
  },
312
384
  },
@@ -314,7 +386,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
314
386
  name: "start_onboard",
315
387
  description: "🎯 支持自然语言输入!可直接说'快速上手这个项目'。快速上手编排:分析项目→生成上下文文档;若只需分析请用 analyze_project",
316
388
  inputSchema: {
317
- type: "string",
389
+ type: "object",
390
+ properties: {},
391
+ additionalProperties: true,
318
392
  description: "💡 支持多种输入格式:\n1) 自然语言:'快速上手这个项目' 或 '生成项目文档'\n2) 项目路径:'/path/to/project'\n3) JSON字符串:'{\"project_path\":\"路径\", \"docs_dir\":\"docs\"}'",
319
393
  },
320
394
  },
@@ -322,7 +396,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
322
396
  name: "start_api",
323
397
  description: "🎯 支持自然语言输入!可直接粘贴 API 代码。API 开发编排:生成文档→生成 Mock→生成测试;若只需单项请用对应生成工具",
324
398
  inputSchema: {
325
- type: "string",
399
+ type: "object",
400
+ properties: {},
401
+ additionalProperties: true,
326
402
  description: "💡 支持多种输入格式:\n1) 直接粘贴 API 代码:'app.get(\"/users\", ...) {...}'\n2) 自然语言:'生成 API 文档和测试'\n3) JSON字符串:'{\"code\":\"API代码\", \"format\":\"openapi\"}'",
327
403
  },
328
404
  },
@@ -330,7 +406,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
330
406
  name: "start_doc",
331
407
  description: "🎯 支持自然语言输入!可直接粘贴代码或说'补全文档'。文档补全编排:注释→README→API 文档;若只需单项文档请用对应生成工具",
332
408
  inputSchema: {
333
- type: "string",
409
+ type: "object",
410
+ properties: {},
411
+ additionalProperties: true,
334
412
  description: "💡 支持多种输入格式:\n1) 自然语言:'补全文档' 或 '生成完整文档'\n2) 直接粘贴代码\n3) JSON字符串:'{\"code\":\"代码\", \"style\":\"jsdoc\"}'",
335
413
  },
336
414
  },
@@ -338,7 +416,9 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
338
416
  name: "gen_skill",
339
417
  description: "🎯 支持自然语言输入!可直接说'生成技能文档'。生成 Agent Skills 文档,为 MCP Probe Kit 工具生成符合开放标准的技能文档;输出到 skills/ 目录,用户可自行修改扩展",
340
418
  inputSchema: {
341
- type: "string",
419
+ type: "object",
420
+ properties: {},
421
+ additionalProperties: true,
342
422
  description: "💡 支持多种输入格式:\n1) 自然语言:'生成技能文档' 或 '生成所有工具的文档'\n2) 工具名称:'code_review'\n3) JSON字符串:'{\"scope\":\"all\", \"lang\":\"zh\"}'",
343
423
  },
344
424
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-probe-kit",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "AI Development Enhancement Toolkit - MCP Server with 40 practical tools (32 basic + 8 orchestration) for code quality, development efficiency, and project management",
5
5
  "type": "module",
6
6
  "main": "build/index.js",