About Pdf_mcp_server
Pdf_mcp_server is an MCP server for PDF operations, intended for users who need to combine files or extract selected pages. It supports merging PDFs and exporting specified page ranges or individual pages.
Key features
- 01Merge multiple PDF files
- 02Export selected pages
- 03Specify page ranges and individual pages
Use cases
- 01Combine several PDFs into one file
- 02Extract chosen pages for a separate PDF
MCP support
It exposes PDF merging and page extraction to MCP clients. The README shows an SSE endpoint configured in an MCP client.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
http://127.0.0.1:8010/sseclaude mcp add --transport sse pdf_mcp_server http://127.0.0.1:8010/sse{"mcpServers":{"pdf_mcp_server":{"type":"sse","url":"http://127.0.0.1:8010/sse"}}}Open in Cursor{"servers":{"pdf_mcp_server":{"type":"sse","url":"http://127.0.0.1:8010/sse"}}}Open in VS Code{"mcpServers":{"pdf_mcp_server":{"type":"sse","url":"http://127.0.0.1:8010/sse"}}}{"mcpServers":{"pdf_mcp_server":{"serverUrl":"http://127.0.0.1:8010/sse"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEpdf_mcp_server
The MCP server used for operating PDFs, currently supports merging PDF files and exporting specified pages from designated PDF files.
Operating Steps: 1 Download pdf_mcp_server.py; 2 Install the dependency package via pip install PyPDF2 or pip3 install PyPDF2; 3 Start the PDF MCP server by running python pdf_mcp_server.py; 4 Configure the PDF MCP server using an MCP client (such as Cherry Studio) { "mcpServers": { "pdf_mcp_server": { "isActive": true, "name": "pdf_mcp_server", "type": "sse", "description": "pdf操作", "baseUrl": "http://127.0.0.1:8010/sse" } } }
使用示例: 1 将多个pdf文件合并为一个pdf文件:合并e:/1.pdf和e:2.pdf,保存到e:/3.pdf 2 提取 PDF 文件中指定的若干页面:请提取 e:/AQA-AS Math PSM.pdf文件的第10到第20页,以及第23页,第30-35页,保存到e:/2.pdf
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.