Skip to main content

PDF 合并 MCP 服务

仅提供一个工具:merge_pdfs,用于将多个 PDF 文件合并为一个。

运行

uv run pdf-mcp-server

或:

$env:PYTHONPATH="src"; python -c "import pdf_mcp.server; pdf_mcp.server.main()"

工具:merge_pdfs

  • input_paths (list[str]) 输入 PDF 文件路径列表
  • output_path (str) 输出 PDF 文件路径
  • title (str, 可选) 输出 PDF 标题

示例

合并 doc1.pdf 与 doc2.pdf 到 merged.pdf,标题为 "年度报告"

依赖

  • fastmcp
  • pikepdf

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf_mcp_merge-0.1.4.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_mcp_merge-0.1.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pdf_mcp_merge-0.1.4.tar.gz.

File metadata

  • Download URL: pdf_mcp_merge-0.1.4.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pdf_mcp_merge-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ff3501154523ef785c930b51362b0a4edc6893f268c201d19cd01f576b4991b5
MD5 8555770b5c8c4f635bf2533d0cc0e61a
BLAKE2b-256 540ca61dcfb85fd94eb19e8d3072cd751f5d13a2e88ea7f6975c8f1aa00ed476

See more details on using hashes here.

File details

Details for the file pdf_mcp_merge-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pdf_mcp_merge-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pdf_mcp_merge-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63db97526e9fc957a8a576074bdc4019d3b09fcb5313392d42ff49a991e0fd7b
MD5 398a5028fa815b7a69dacdc4113bacdf
BLAKE2b-256 ba5c6086bef5a763c1b1f4ed09675a02a97aceccb251eab28c3e2a2b2c8e2e2a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

2 files

0.1.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page