@yinuo-ngm/mcp-server 0.1.3 → 0.1.4

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.
@@ -58,13 +58,6 @@ exports.nginxTools = [
58
58
  riskLevel: "execute",
59
59
  description: "Validate and preview or reload the ng-manager managed local Nginx instance; preferred over direct nginx commands and audit logged when confirmed.",
60
60
  },
61
- {
62
- name: "ngm_nginx_reload",
63
- skill: "ngm-nginx",
64
- capability: "nginx",
65
- riskLevel: "execute",
66
- description: "Dotted alias for ngm_nginx_reload.",
67
- },
68
61
  {
69
62
  name: "ngm_nginx_proxy_save",
70
63
  skill: "ngm-nginx",
@@ -72,13 +65,6 @@ exports.nginxTools = [
72
65
  riskLevel: "write",
73
66
  description: "Preview or save a ng-manager managed Nginx proxy server block; validates inputs, avoids arbitrary file writes, and audit logs confirmed saves.",
74
67
  },
75
- {
76
- name: "ngm_nginx_proxy_save",
77
- skill: "ngm-nginx",
78
- capability: "nginx",
79
- riskLevel: "write",
80
- description: "Dotted alias for ngm_nginx_proxy_save.",
81
- },
82
68
  {
83
69
  name: "ngm_proxy_list",
84
70
  skill: "ngm-nginx",
@@ -51,13 +51,6 @@ exports.projectTools = [
51
51
  riskLevel: "execute",
52
52
  description: "Preview or run an existing package.json script for a registered projectId through the local ng-manager server runtime; preferred over direct shell so task state, logs, and audit stay unified.",
53
53
  },
54
- {
55
- name: "ngm_project_run_script",
56
- skill: "ngm-project",
57
- capability: "project",
58
- riskLevel: "execute",
59
- description: "Dotted alias for ngm_project_run_script.",
60
- },
61
54
  {
62
55
  name: "ngm_project_stop",
63
56
  skill: "ngm-project",
@@ -65,13 +58,6 @@ exports.projectTools = [
65
58
  riskLevel: "execute",
66
59
  description: "Preview or stop a ng-manager managed task by taskId or projectId through the local server runtime; preferred over killing PIDs and audit logged when confirmed.",
67
60
  },
68
- {
69
- name: "ngm_project_stop",
70
- skill: "ngm-project",
71
- capability: "project",
72
- riskLevel: "execute",
73
- description: "Dotted alias for ngm_project_stop.",
74
- },
75
61
  {
76
62
  name: "ngm_file_write",
77
63
  skill: "ngm-project",
@@ -37,11 +37,4 @@ exports.runtimeTools = [
37
37
  riskLevel: "write",
38
38
  description: "Preview or set a registered projectId's Node runtime binding through the local server; preferred over config/shell edits and audit logged when confirmed.",
39
39
  },
40
- {
41
- name: "ngm_runtime_set_for_project",
42
- skill: "ngm-runtime",
43
- capability: "runtime",
44
- riskLevel: "write",
45
- description: "Dotted alias for ngm_runtime_set_for_project.",
46
- },
47
40
  ];
package/lib/doctor.js CHANGED
@@ -156,36 +156,11 @@ function toolsSection() {
156
156
  };
157
157
  }
158
158
  }
159
- function enterpriseMvpSection() {
160
- const names = new Set((0, tools_1.allTools)().map((tool) => tool.name));
161
- const required = {
162
- frontendStandard: ["ngm_standard_get", "ngm_standard_init", "ngm_standard_validate_project"],
163
- workflow: ["ngm_workflow_create_frontend_task", "ngm_workflow_generate_dev_plan", "ngm_workflow_advance_status", "ngm_workflow_validate_before_commit", "ngm_workflow_generate_delivery_report"],
164
- audit: ["ngm_standard_init", "ngm_workflow_create_frontend_task", "ngm_review_generate_report"],
165
- patchPreview: ["ngm_workspace_diff", "ngm_workspace_apply_patch_preview"],
166
- dottedAliases: ["ngm_project_run_script", "ngm_project_stop", "ngm_runtime_set_for_project", "ngm_nginx_reload", "ngm_nginx_proxy_save"],
167
- };
168
- const missing = Object.entries(required)
169
- .flatMap(([group, tools]) => tools.filter((tool) => !names.has(tool)).map((tool) => `${group}:${tool}`));
170
- return {
171
- status: missing.length ? "WARN" : "OK",
172
- lines: [
173
- "Enterprise MVP:",
174
- ` frontendStandard: ${required.frontendStandard.every((tool) => names.has(tool)) ? "available" : "missing"}`,
175
- ` workflow: ${required.workflow.every((tool) => names.has(tool)) ? "available" : "missing"}`,
176
- " audit: project-local .ng-manager/audit/mcp-YYYY-MM-DD.jsonl",
177
- ` patchPreview: ${required.patchPreview.every((tool) => names.has(tool)) ? "available" : "missing"}`,
178
- ` dottedAliases: ${required.dottedAliases.every((tool) => names.has(tool)) ? "available" : "missing"}`,
179
- ...(missing.length ? [` missing: ${missing.join(", ")}`] : []),
180
- ],
181
- };
182
- }
183
159
  function createDoctorReport() {
184
160
  const packageInfo = readPackageInfo();
185
161
  const hubV2 = hubV2Section();
186
162
  const tools = toolsSection();
187
- const enterprise = enterpriseMvpSection();
188
- const status = maxStatus(packageInfo.status, hubV2.status, tools.status, enterprise.status);
163
+ const status = maxStatus(packageInfo.status, hubV2.status, tools.status);
189
164
  const lines = [
190
165
  "ng-manager MCP Doctor",
191
166
  "",
@@ -205,8 +180,6 @@ function createDoctorReport() {
205
180
  "",
206
181
  ...tools.lines,
207
182
  "",
208
- ...enterprise.lines,
209
- "",
210
183
  "Status:",
211
184
  ` ${status}`,
212
185
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yinuo-ngm/mcp-server",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Local MCP stdio server for ng-manager core capabilities.",
5
5
  "author": "ZhangJing <892295834@qq.com>",
6
6
  "license": "ISC",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "425cb641977ad61c5f535a068f736b8970f79086"
46
+ "gitHead": "eb485794397288a409654a661b62d4525ba76635"
47
47
  }