md-feedback 1.1.1 → 1.3.0

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.
package/README.md CHANGED
@@ -28,6 +28,21 @@ Add to your MCP client config (Claude Code, Cursor, etc.):
28
28
 
29
29
  That's it. No install, no setup — `npx` handles everything.
30
30
 
31
+ **Workspace override** — if your MCP client doesn't set `cwd` to the project folder:
32
+
33
+ ```json
34
+ {
35
+ "mcpServers": {
36
+ "md-feedback": {
37
+ "command": "npx",
38
+ "args": ["-y", "md-feedback", "--workspace=/path/to/project"]
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ Resolution order: `--workspace=` CLI arg > `MD_FEEDBACK_WORKSPACE` env > `cwd`
45
+
31
46
  ## 19 MCP Tools
32
47
 
33
48
  | Tool | Description |
@@ -37,7 +52,7 @@ That's it. No install, no setup — `npx` handles everything.
37
52
  | `get_review_status` | Annotation counts and session status |
38
53
  | `create_annotation` | Create annotation programmatically with anchor search |
39
54
  | `respond_to_memo` | Add AI response to an annotation |
40
- | `update_memo_status` | Mark a memo as open/in_progress/answered/done/failed/wontfix |
55
+ | `update_memo_status` | Mark a memo as open/in_progress/needs_review/answered/done/failed/wontfix |
41
56
  | `update_cursor` | Set plan cursor position (task ID, step, next action) |
42
57
  | `evaluate_gates` | Check if merge/release/implement conditions are met |
43
58
  | `export_review` | Export for a specific AI tool format |
@@ -52,6 +67,11 @@ That's it. No install, no setup — `npx` handles everything.
52
67
  | `batch_apply` | Apply multiple operations in a single transaction |
53
68
  | `get_memo_changes` | Get implementation history and progress for a memo |
54
69
 
70
+ ## Safety & Reliability
71
+
72
+ - **File mutex** — concurrent MCP tool calls are serialized per-file, preventing data corruption
73
+ - **Improved anchor matching** — annotations find their intended location more reliably, even with multiple matches
74
+
55
75
  ## How It Works
56
76
 
57
77
  1. You annotate a markdown plan in the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=yeominux.md-feedback-vscode)
@@ -63,9 +83,10 @@ That's it. No install, no setup — `npx` handles everything.
63
83
  ## CLI
64
84
 
65
85
  ```bash
66
- md-feedback --help # Show help
67
- md-feedback --version # Print version
68
- md-feedback # Start MCP server (stdio)
86
+ md-feedback # Start MCP server (stdio)
87
+ md-feedback --workspace=/path/to/dir # Set workspace root explicitly
88
+ md-feedback --version # Print version
89
+ md-feedback --help # Show help
69
90
  ```
70
91
 
71
92
  ## Who Is This For?
@@ -3,11 +3,17 @@
3
3
  const arg = process.argv[2]
4
4
  if (arg === '--help' || arg === '-h') {
5
5
  console.log('md-feedback - MCP server for markdown annotation review\n')
6
- console.log('Usage: md-feedback Start MCP server (stdio transport)')
7
- console.log(' md-feedback --version Print version')
8
- console.log(' md-feedback --help Show this help\n')
6
+ console.log('Usage: md-feedback Start MCP server (stdio transport)')
7
+ console.log(' md-feedback --workspace=/path/to/dir Set workspace root explicitly')
8
+ console.log(' md-feedback --version Print version')
9
+ console.log(' md-feedback --help Show this help\n')
10
+ console.log('Workspace resolution (first match wins):')
11
+ console.log(' 1. --workspace=<path> CLI argument')
12
+ console.log(' 2. MD_FEEDBACK_WORKSPACE env var Environment variable')
13
+ console.log(' 3. Current working directory Default fallback\n')
9
14
  console.log('Configure in your AI tool\'s MCP settings:')
10
15
  console.log(' { "command": "npx", "args": ["-y", "md-feedback"] }')
16
+ console.log(' { "command": "npx", "args": ["-y", "md-feedback", "--workspace=/my/project"] }')
11
17
  process.exit(0)
12
18
  }
13
19
  if (arg === '--version' || arg === '-v') {