Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By PsychQuantv4.10.0MITIn 1 marketplace
Word (.docx) MCP server — Swift-native OOXML 讀寫,245 tools(段落/表格/樣式/註腳/追蹤修訂/方程式/內容控制/欄位/腳本管線 export_script·get_script_coverage·execute_script 等),無需安裝 Word。Built on ooxml-swift(版本以 binary repo 的 Package.swift 為準)。release history 見 CHANGELOG。
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
macdoc#185/che-word-mcp#223 替 create_document、open_document、execute_script 加上可選的 profile,值限 inherit 或 official。建立在 ooxml-swift 3.9.0 的 profile/store 之上;4.0.x 以前的 binary 沒有這個參數。
新版 MCP 與新版 macdoc 共用 ~/.config/macdoc/config.json 的 document.defaultProfile 和 document.officialSnapshot。先用 macdoc CLI 0.9.0+ 的 config document import-official --template /path/to/Normal.dotm 保存快照;匯入不切換預設值,要預設使用 official 再執行 config document set-default official。
| 操作 | 未指定 profile | 明示 profile |
|---|---|---|
create_document | 設定預設 → inherit | 優先於設定 |
open_document | 保留原格式,不讀新文件預設 | inherit 不改文件;official 套用並標示變更 |
execute_script | 保留 replay,不讀新文件預設 | 驗證與發布前套用 |
錯誤型別、null、未知名稱、缺失或損毀的 official 快照會明確失敗;格式解析或套用失敗不註冊新 session、不發布輸出。快照只攜帶允許的格式;正文和來源路徑不會進入快照。繁中字型為標楷體,OOXML 使用 DFKai-SB;core 992a3d67 產生的 DOCX 已由 Mac Word 16.112.3 與 Windows Word 16.0.20326 實際匯出,兩邊皆為 1 頁 A4、12 pt、預期邊界/段後距,PDF 實際嵌入 DFKaiShu-SB-Estd-BF 與 Aptos,PNG 無缺字、裁切或重疊。最終 reader 修補 core 3aa221aa 以原合成測試固定 IDs/時間重新產檔,全部 10 個 package parts 與已驗輸入逐位元組相同,沿用該證據,本輪未重新執行 Word。原 Normal 後續變更或移除也不影響已匯入的格式。
新建 adapter 在首次序列化前套用 profile;inherit 只移除記憶體中可證明由 factory 產生的預設字型,保留 caller 明示字型。provenance 不寫入 OOXML,讀回文件的字型視為來源文件所有,不以 style ID 或相同字型值猜測來源。既有文件明示 inherit 不會因 profile 觸發 dirty 或 autosave;official 成功套用後沿用正常 autosave 與存檔保護。execute_script 仍保留既有 overwrite/驗證錯誤契約。自訂設定路徑可由 MCP server constructor 的 documentConfigURL 注入;CLI 文件設定命令使用 --config,convert/render 使用 --document-config。
Word MCP Server — Swift 原生 OOXML 操作,245 個工具,支援 Dual-Mode 存取 + preserve-by-default round-trip fidelity + programmatic Track Changes 生成 + document.xml lossless round-trip。
當前版本:Plugin shell v3.23.0 / Binary v3.23.0(Plugin shell + Binary 同步)— closes PsychQuant/che-word-mcp#177,get_tables 修正截斷政策違規:舊版無條件截斷回傳(表格列/欄/文字皆砍到 3),不提供 summarize 參數、不揭露省略——違反本 repo summarize: Bool 反向預設慣例(v3.1.0 起 truncateText() 的既有紀律,見 #1/#5)。新版預設回傳全部列/欄/完整文字,header 標最大寬度並標示不齊列((ragged: min..max columns per row));summarize: true 才截斷至 3/3,並揭露全部三種省略類型。同族缺口(get_paragraphs/list_footnotes/list_endnotes/list_all_formatted_text)另追蹤於 #178。
同時 bump ooxml-swift dep v1.5.0 → v2.0.1——major bump 源自合併上游 PsychQuant/ooxml-swift#96(完整 lossless round-trip pipeline,9 個 public API 移除)+ #97(table properties 跨 mutation 保存);review 過程中另發現並修復兩個真實 regression:ooxml-swift#84(sectPr 的 pgSz/pgMar/footerReference/docGrid 未被 reader 解析,mutation 後靜默變成 US Letter 預設值、CJK 行格線關閉、頁尾連結消失)與 ooxml-swift#104(appendParagraph op-log 分支呼叫 resyncBodyFromDocumentTree() 只重建 p/tbl 型別,靜默丟棄 bookmark/rawBlockElement 等其餘 body children、既有 body index 全部位移——本 repo Issue61V315PointReleaseTests 的 4 個 fail 是唯一抓到這個 regression 的訊號,ooxml-swift 自己的測試套件在該次 merge 前後全綠)。教訓:上游全綠 ≠ 下游可用——四變體對照表(tcBorders/tcMar/tblCellMar/tblLook/tblLayout + sectPr 元素)方法論貫穿整條修復鏈,ooxml-swift#101/#106 另追蹤殘餘缺口。
Downstream 影響:ntu-rec plugin 的 rec-fill 代填軌保真封鎖已於本版解除(macdoc#142)——實測走完整 MCP 工具鏈填一格真實 NTU-REC 官方表單,十個追蹤元素與原檔全數相符。
Tests:322 passing che-word-mcp(0 failures)/ ooxml-swift 1373→1398 tests all green(沿途每個 commit 皆綠,兩個真實 regression 都是下游驗證抓到,非上游套件自身測試)。
Plugin shell v3.20.2 / Binary v3.20.0(歷史紀錄;目前版本見文末「版本」段)(#116 起解耦)— closes PsychQuant/che-word-mcp#273 — 兩個新 MCP tools 暴露 PsychQuant/ooxml-swift v0.24.0 的 spliceOMath API 給 MCP callers,跨 document 拷貝 verbatim <m:oMath> XML 區塊。
splice_omath_from_source — 單一 OMath splice,low-level。Source 用 source_path(Direct mode 唯讀)或 source_doc_id(Session mode);target 必須是 session-mode doc_id。Position 支援 atStart / atEnd / afterText / beforeText(後兩者配合 anchor + 可選 instance)。omath_index 0-based、按 source-document order 跨 carrier 統一排序。rpr_mode 控制 source Run rPr 怎麼帶到 target Run(full 預設 verbatim / omathOnly 白名單 / discard 空 rPr);namespace_policy 控制 prefix vs URI 處理(lenient 預設接受 mml: vs m: prefix mismatch / strict 任何 prefix 不同就 throw)。回傳 Spliced 1 OMath block (...) 或 structured error。splice_paragraph_omath_from_source — paragraph-level batch convenience。把 source paragraph 內所有 OMath 按 source-document order splice 到 target paragraph 對應位置(內部用 ~10 chars source-text-context 自動推 anchor)。回傳 splice 數量或 contextAnchorNotFound(omath_index, snippet)(partial-success state 已留在 target)。Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub psychquant/macdoc --plugin che-word-mcpPlugins from other owners that cover similar ground