@memlab/mcp-server 2.1.0 → 2.1.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/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -305,6 +305,21 @@ Structured map/filter/reduce over all heap nodes with code predicates.
305
305
  Input: { filter_code: "node.type === 'closure'", map_code?: "...", reduce_code?: "...", limit?: 100 }
306
306
  ```
307
307
 
308
+ ## Investigation Skill for AI Assistants
309
+
310
+ The [MCP Investigation Skill](./MCP_SKILL.md) provides a structured
311
+ methodology for AI coding assistants to systematically investigate memory
312
+ issues using the MCP tools. It covers:
313
+
314
+ - **Step-by-step triage** — load, diagnose, and prioritize findings
315
+ - **Investigation paths** — guided workflows for string waste, DOM leaks,
316
+ object accumulation, closure leaks, global bloat, listener accumulation, and
317
+ repeated errors, each with triggers, tool sequences, and common fixes
318
+ - **Tool selection reference** — a quick-reference table mapping investigation
319
+ goals to the right MCP tool
320
+ - **Token efficiency tips** — how to minimize token usage with compact modes
321
+ and parallel tool calls
322
+
308
323
  ## Example Workflow
309
324
 
310
325
  A typical memory investigation:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memlab/mcp-server",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "license": "MIT",
5
5
  "description": "MCP server for MemLab heap snapshot analysis — gives AI coding assistants tools to explore JavaScript heap snapshots, find memory leaks, and identify optimization opportunities",
6
6
  "author": "Liang Gong <lgong@meta.com>",