Mcp Pdf2pics

by gfhe

137 downloads
Not rated
GitHub

About

Mcp Pdf2pics is an MCP server that converts PDF files into ultra-high-definition image lists. It uses system-configured root paths for PDF storage and output, returning relative paths in its results. It is designed for developers who need to extract or preview PDF content as…

Details

Author
gfhe
Downloads
137
Categories
Other

- Convert a single PDF to an image list.
- Convert multiple PDFs to image lists.
- Convert a PDF collection to image lists.
- Convert all PDFs in a folder to image lists.
- Output ultra-high-definition images.
- Returns relative paths for results.

Install the server and invoke it via MCP commands. Use mcp dev pdf2pics.py to run in development mode, or mcp run pdf2pics.py to run directly. If you encounter an npx error, try mcp run first before mcp dev. Ensure Node.js and npm are installed and on your system PATH.

PDF转图片列表的程序,其中PDF存储的根路径和输出的根路径为系统配置,程序开发时,包括返回的结果列表,均为相对路径。输出的图片均为超高清图片。

支持的功能:
1. 支持单个PDF转图片列表,支持多个PDF转图片列表。
2. 支持PDF 集合转图片列表。
3. 支持文件夹下全部PDF转图片列表。

如果npx 配置好了,但是一致出现如下的错误:

(mcp-pdf2pics) @gfhe ➜ /workspaces/mcp-pdf2pics (main) $ mcp dev pdf2pics.py
[05/06/25 13:46:13] ERROR npx not found. Please ensure Node.js and npm are properly installed and added to your system PATH. You may need to cli.py:271
restart your terminal after installation.

可以尝试先执行 mcp run pdf2pics.py
然后再执行mcp dev pdf2pics.py

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.