MCP PDF and DOCX Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP PDF and DOCX Serverconvert this PDF to DOCX"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 .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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/iduryodhanrao/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server