@langlink/memoq-mcp 0.2.6 → 0.2.7

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
@@ -1,11 +1,12 @@
1
1
  # @langlink/memoq-mcp
2
2
 
3
- Local stdio MCP connector for **memoQ Desktop (10 / 11 / 12)** supporting WorkBuddy, Codex CLI, ZCode, and Trae (Direction A: live Preview read/focus + staged translation pool + confirmed writeback + visual setup wizard).
3
+ Local Windows stdio MCP connector for **memoQ Desktop (10 / 11 / 12)** supporting Codex CLI, Claude Code, WorkBuddy, ZCode, and Trae. It provides Preview read/focus, a staged translation pool, confirmed writeback, and a visual setup wizard.
4
4
 
5
5
  ## Quick Config
6
6
 
7
7
  ```bash
8
8
  npx -y @langlink/memoq-mcp config --client codex
9
+ npx -y @langlink/memoq-mcp config --client claude
9
10
  npx -y @langlink/memoq-mcp config --client workbuddy --write
10
11
  ```
11
12
 
@@ -22,10 +23,11 @@ Or add manually in `~/.workbuddy/mcp.json` (preserving any existing connectors s
22
23
  }
23
24
  ```
24
25
 
25
- Or add directly in Codex CLI:
26
+ Register the server with Codex or Claude Code:
26
27
 
27
28
  ```bash
28
29
  codex mcp add memoq -- npx -y @langlink/memoq-mcp
30
+ claude mcp add --scope user --transport stdio memoq -- npx -y @langlink/memoq-mcp
29
31
  ```
30
32
 
31
33
  ## Available Tools (14)
@@ -33,13 +35,13 @@ codex mcp add memoq -- npx -y @langlink/memoq-mcp
33
35
  - `memoq_status` — inspect Preview connection, active document, multi-document cache summary, port `5271` owner, `100,000`-capacity staging pool, and DLL status.
34
36
  - `memoq_list_documents` — list all open memoQ documents and glued Views cached during this Preview session with per-document segment and staging counts.
35
37
  - `memoq_get_active_segment` — read active source/target, focused ranges, neighbor context, and `mappingCertain`.
36
- - `memoq_get_document_segments` — paginated read of cached document segments (`limit` up to `500`).
38
+ - `memoq_get_document_segments` — read cached document segments. Pass `nextOffset` as `offset` with the same document and filters. The JSON text and `structuredContent` provide the same data.
37
39
  - `memoq_focus_segment` — jump memoQ editor focus to a `previewPartId`.
38
40
  - `memoq_stage_translations` — stage translations (`draft` by default for multi-round Review Workbench inspection, or `approved` for immediate memoQ Pre-translate).
39
- - `memoq_list_staged` / `memoq_clear_staged` — inspect (`limit` up to `100,000`) or clear staged entries.
41
+ - `memoq_list_staged` — inspect staged entries. `memoq_clear_staged` permanently deletes staged entries and their revision history. Pass `confirmed: true` after the user approves the document or all-document scope.
40
42
  - `memoq_open_review` — open the token-authenticated local Review & QA Workbench (with document switcher for single/all loaded documents, multi-round editing, comments, and batch approval).
41
43
  - `memoq_approve_staged` — approve final drafts (or revert to `draft`) before running memoQ Pre-translate.
42
- - `memoq_qa_document` — run `@langlink/l10n-core/qa` (23 rules + MQM scoring + terminology + `allDocuments` cross-document consistency) directly on live memoQ content and staged drafts.
44
+ - `memoq_qa_document` — run deterministic QA, MQM scoring, and terminology checks on cached memoQ content and staged drafts. The default response contains the full QA summary and up to 25 issues. Use `nextIssueOffset` as `issueOffset` to continue with the same options, or set `includeSegments: true` when you need full segment snapshots.
43
45
  - `memoq_get_confirmed_translations` — read confirmed segments sent by memoQ `StoreTranslation`.
44
46
  - `memoq_get_recent_mt_requests` — inspect recent missed or inline-tag MT requests from memoQ.
45
47
  - `memoq_setup` — auto-discover memoQ paths & local DLL/ZIP assets (`action: "plan"`), fetch only the ~150 KB DLL slice via HTTP Range (with `.NET 4.8` Windows system-proxy fallback + SHA-256 verification) when no local package exists, present exact copy targets for user confirmation, install via verified helper (`action: "install", confirmed: true`), and return first-time memoQ MT resource setup instructions (`Resource Console → MT settings → Create new` + `Project home → Settings → MT settings`) or open the local visual setup wizard (`http://127.0.0.1:<port>/setup?token=...`).
Binary file