MCP PDF and DOCX Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP PDF and DOCX Server
This MCP server provides tools to read PDFs, extract images, convert PDF to DOCX, create DOCX from text, and generate PDFs from DOCX or text or HTML.
Setup
Create and activate a virtual environment.
Install dependencies:
pip install -e .Related MCP server: mcp-office-parser
Run (stdio)
python -m mcp_pdf_serverVS Code Copilot MCP
If you want Copilot Agents to auto-install and run this server, use uvx in your MCP config:
{
"servers": {
"pdf-docx-tools": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "git+https://github.com/iduryodhanrao/MCP.git", "python", "-m", "mcp_pdf_server"]
}
}
}This requires uv/uvx to be installed on the machine.
Notes
DOCX to PDF conversion uses
docx2pdf. On Windows, this requires Microsoft Word to be installed.HTML to PDF uses
weasyprint. On Windows, additional system libraries may be required.
Tools
read_pdf_text(path)-> stringextract_pdf_images(path, output_dir)-> list of image pathspdf_to_docx(pdf_path, docx_path)-> docx pathdocx_to_pdf(docx_path, pdf_path)-> pdf pathtext_to_docx(text, docx_path)-> docx pathtext_or_html_to_pdf(content, pdf_path, content_type)-> pdf path
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert PDFs/images to Word, Excel, and Markdown. Split, merge, and watermark PDF files.
Convert DOCX documents to and from PDF, TXT, HTML, ODT, JPG and RTF.
Extract text and metadata from PDFs; convert Markdown or text to PDF
Merge, split, extract, rotate, reorder and stamp PDF pages, and pull the text out of a PDF.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive document processing, including reading, converting, and manipulating various document formats with advanced text and HTML processing capabilities.1659 npm19MIT
- AlicenseDqualityDmaintenanceEnables reading, writing, editing, and converting Office documents (ODT, DOCX, ODS, XLSX, PDF, etc.) using MCP tools, with no external dependencies.1114 npmMIT

Docling MCPofficial
AlicenseAqualityAmaintenanceProvides tools for document conversion, processing, and generation, enabling PDF to structured JSON conversion, document creation, and caching for improved performance.216,079 PyPI784MIT- AlicenseAqualityDmaintenanceEnables creation and editing of Word, Excel, and PowerPoint documents offline using pure Python, supporting tools for documents, spreadsheets, and presentations.16MIT