"DOCX + PDF processing for Griot AI agents via MCP servers (Model Context Protocol). Parse, read, and extract text from DOCX and PDF documents for research intake and reporting. Uses the community MCP document servers."
Install
npx skillscat add donartkins/griot/docx-pdf-processing Install via the SkillsCat registry.
DOCX / PDF Processing Skill
Goal: give Griot's agents the ability to read/extract content from DOCX and PDF files (bootcamp briefs, research PDFs, generated docs, user uploads) the same way any desktop AI client would.
The MCP servers (from the internet / Context7 ecosystem)
Pin every third-party executable to a reviewed version. Never run
npx -y <pkg>/uvx <pkg>unpinned —latestresolves differently over time and is a supply-chain risk (CWE-829). Resolve the current reviewed version with the Context7 skill, then pin it in the MCP client config AND in a repo manifest (e.g..nvmrc-adjacentmcp-version.jsonor the system'spackage.jsondevDependencies) so the lockfile records it.
DOCX — office-word-mcp-server (Microsoft Word MCP)
Package clarification:
@microsoft/office-word-mcp-serveris not a published npm package — it does not exist on the npm registry. The community reference implementation isGongRzhe/Office-Word-MCP-Server(GitHub), which ships as a Pythonuvxtool. An official MCP server for Word documents is@modelcontextprotocol/server-pdf(maintained by the MCP core team,1.7.5), but that targets PDF. For Word (.docx), use themarkitdown-mcproute (PDF/DOCX → Markdown) or theOkamiFeng/docx-mcp-serverPython package. Reviewed version — resolve before use:
Reviewed versions (re-resolve before each project; record in mcp-versions.json):
markitdown-mcp(PyPI/uvx, Microsoft):0.0.1a4(pre-release; latest as of 2026-09-04 — re-check on each use)@modelcontextprotocol/server-pdf(npm, MCP core):1.7.5
Install (MCP client config, e.g. Claude Desktop / Cline) — pin the version:
{ "mcpServers": { "word": { "command": "uvx", "args": ["markitdown-mcp@0.0.1a4"] } } }Typical tools exposed: convert_to_markdown(uri) — converts DOCX, PDF, XLSX, PPTX, HTML to Markdown over MCP.
PDF — community PDF MCP servers (several options)
markitdown(Microsoft) — converts PDF/DOCX/XLSX/PPTX to Markdown. Great for turning research PDFs into readable markdown. Pin the version (reviewed:0.0.1a4):{ "mcpServers": { "markitdown": { "command": "uvx", "args": ["markitdown-mcp@0.0.1a4"] } } }@modelcontextprotocol/server-pdf(MCP core, npm) — official MCP PDF server (extract text/pages). Pin the version (reviewed:1.7.5):{ "mcpServers": { "pdf": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-pdf@1.7.5"] } } }capacity/mcp-server-pdf(Docker) — containerized PDF tools (extract text/pages, OCR); pin the image tagcapacity/mcp-server-pdf:<reviewed-tag>.mcp-server-browser/general — for scraping manuscripts (not needed here).
Note on
pdf-parse-mcp: The packagepdf-parse-mcp(previously referenced here) does not exist as a published npm package. Use@modelcontextprotocol/server-pdfinstead, ormarkitdown-mcpfor combined PDF+DOCX support.
How to re-resolve versions (with Context7)
- Use the Context7 skill to verify the CURRENT package/tool names + the reviewed pinned version before wiring (these packages move); e.g.
npx ctx7@0.5.9 library "markitdown" "mcp server install version" npx ctx7@0.5.9 library "modelcontextprotocol server pdf" "install version" - The pattern is the same for all: pick the server that fits the file type, add its
command/args(with the exact pinned version) to the MCP client config, restart the client, and the tools appear. - Record the resolved version in the feature spec (
Log the tool version usedrule below) and inmcp-versions.jsonat repo root.
When Griot's agents use this
- Reading
research/GTP 2026 BOOTCAMP EDITION.pdfprogrammatically (extract → text). - Generating
docs/deliverables (Word exports if requested). - The
qa/anddocs/agents turning reports into DOCX/PDF. - Any
.docx/.pdfupload intake (if the product grows attachments processing).
Rules
- Prefer Markdown round-trips: PDF/DOCX → Markdown → LLM → Markdown → DOCX/PDF (lossless for text; tables/headers preserved via markitdown).
- Never paste private document contents into external tools beyond the MCP server.
- Verify with the Context7 skill before relying on a specific tool name (versions move).
- Log the tool version used in the feature spec (change-management).
Verify
- A DOCX and a PDF both extract to Markdown without losing headings/tables.
- The MCP client shows the doc tools connected.