Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Pdf Merger Server

БесплатноНе проверен

Enables uploading, arranging, merging, and downloading PDFs through an MCP-compatible LLM client by interacting with a PDF Merger API.

GitHubEmbed

Описание

Enables uploading, arranging, merging, and downloading PDFs through an MCP-compatible LLM client by interacting with a PDF Merger API.

README

An MCP (Model Context Protocol) server that exposes the PDF Merger App as a set of tools any MCP-compatible LLM client can use to upload, arrange, merge, and download PDFs.

Tools

Tool Description
pdf_merger_upload_pdfs Upload one or more PDF files from disk to the merger service
pdf_merger_remove_file Remove a file from an upload session
pdf_merger_merge Merge uploaded PDFs in a specified order
pdf_merger_get_download_url Build a one-time download URL for the merged result

Quick Start

# Install dependencies
npm install

# Build
npm run build

# Run (stdio transport — default)
PDF_MERGER_API_URL=http://localhost:3000 npm start

# Run (HTTP transport for remote access)
TRANSPORT=http PORT=4000 PDF_MERGER_API_URL=http://localhost:3000 npm start

Environment Variables

Variable Default Description
PDF_MERGER_API_URL http://localhost:3000 Base URL of the PDF Merger App API
TRANSPORT stdio Transport mode: stdio or http
PORT 4000 HTTP server port (only when TRANSPORT=http)

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "pdf-merger": {
      "command": "node",
      "args": ["/path/to/pdf-merger-mcp-server/dist/index.js"],
      "env": {
        "PDF_MERGER_API_URL": "https://your-merger-app.vercel.app"
      }
    }
  }
}

Typical Workflow

  1. Upload PDFs → returns session_id + file IDs
  2. Remove unwanted files (optional)
  3. Merge with desired file order → returns one-time download token
  4. Download using the token URL

Architecture

LLM Client ──MCP──▶ pdf-merger-mcp-server ──HTTP──▶ PDF Merger App (Express)
                     (stdio or HTTP)                  (Vercel Blob + pdf-lib)

Development

npm run dev    # Auto-reload via tsx watch
npm run build  # Compile TypeScript → dist/
npm run clean  # Remove dist/

from github.com/NikhilBelwate/pdf-merger-mcp-server

Установка Pdf Merger Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/NikhilBelwate/pdf-merger-mcp-server

FAQ

Pdf Merger Server MCP бесплатный?

Да, Pdf Merger Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Pdf Merger Server?

Нет, Pdf Merger Server работает без API-ключей и переменных окружения.

Pdf Merger Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Pdf Merger Server в Claude Desktop, Claude Code или Cursor?

Открой Pdf Merger Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Pdf Merger Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai