pdf-merger-mcp-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., "@pdf-merger-mcp-serverMerge report.pdf and appendix.pdf into one PDF"
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.
PDF Merger MCP Server
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 |
| Upload one or more PDF files from disk to the merger service |
| Remove a file from an upload session |
| Merge uploaded PDFs in a specified order |
| Build a one-time download URL for the merged result |
Related MCP server: flint-slating
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 startEnvironment Variables
Variable | Default | Description |
|
| Base URL of the PDF Merger App API |
|
| Transport mode: |
|
| HTTP server port (only when |
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
Upload PDFs → returns
session_id+ file IDsRemove unwanted files (optional)
Merge with desired file order → returns one-time download
tokenDownload 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/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/NikhilBelwate/pdf-merger-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server