PDFBookmarks
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PDFBookmarks AI
Add nested PDF bookmarks and a clickable table of contents to local PDFs. The MCP shows an image-only TOC to your vision-capable agent. The local tool resolves physical page numbers, writes a new PDF, then checks every bookmark and generated link.
PDFBookmarks website · 中文说明 · Download a release
Try a scanned table of contents
Scanned original | Generated clickable TOC |
|
|
Put the sample scan in the folder you allow the tool to access. Try this prompt in your agent.
Use PDFBookmarks to add nested sidebar bookmarks and a clickable TOC to
scanned-contents.pdf. Read the TOC image, verify the first and last chapter openings, keep the Chinese titles, and save a new PDF.
The example produces six verified bookmarks and six clickable links. The first printed page is original physical page 3. Adding a TOC at the front shifts that destination to output page 4.
Related MCP server: doc-intel MCP server
Install
Agent Skill
npx skills add Yuikij/pdfbookmarks-ai --skill pdf-bookmarksThe skill works with the MCP or the CLI. Use the MCP with an image-capable client to pass PDF pages directly to the agent.
Local MCP with npm
Requires Node.js 22.13+. Install the published GitHub Release archive with npm or point your MCP client's local stdio configuration at it:
{
"mcpServers": {
"pdfbookmarks": {
"command": "npx",
"args": [
"--yes",
"https://github.com/Yuikij/pdfbookmarks-ai/releases/download/v0.1.1/pdfbookmarks-mcp-0.1.1.tgz",
"serve",
"--root",
"/absolute/path/to/pdfs"
]
}
}
}Replace the folder with one you want to share with the MCP. Repeat --root to grant another folder. Without --root, the server uses active MCP workspace roots if the client exposes them. On Windows, use a fully qualified folder path with escaped backslashes in JSON. If your client cannot launch npx directly, install the npm archive and use the included desktop bundle or configure the absolute path to Node and the installed src/cli.js. If your client uses servers or a dedicated UI, enter the same command and args there.
Desktop bundle and Python
Download the desktop MCPB for compatible macOS or Windows clients. Open the downloaded file in your client and select your PDF folder during setup.
The Python wheel works on macOS 13+, Windows, and glibc Linux 2.28+, on x64 or ARM64. It includes the document processing engine and installs a Node runtime through its Python dependency. With uv:
uv tool install https://github.com/Yuikij/pdfbookmarks-ai/releases/download/v0.1.1/pdfbookmarks_mcp-0.1.1-py3-none-any.whl
pdfbookmarks-mcp --versionFor Python environments, pip install also accepts the same wheel URL. Use the npm release on Alpine Linux.
CLI
npm install -g https://github.com/Yuikij/pdfbookmarks-ai/releases/download/v0.1.1/pdfbookmarks-mcp-0.1.1.tgz
pdfbookmarks-mcp call pdf_inspect --root '/path/to/pdfs' --json '{"path":"book.pdf"}'
pdfbookmarks-mcp call pdf_render_page --root '/path/to/pdfs' --json '{"path":"book.pdf","page":3}' --image-out 'preview.jpg'Run pdfbookmarks-mcp tools for schemas. After installation, use the installed command directly for offline processing.
Tools
Tool | Result |
| Page count, embedded page labels, existing outline and the file fingerprint |
| Selected pages' text and an indication when the text layer is sparse or empty |
| Full-page or cropped JPEG as native MCP image content |
| Resolved destinations, issues, sample and chapter anchors to verify |
| A new PDF, saved after all outline and generated TOC destinations are checked |
Page arguments use 1-based physical pages. Printed numbering can use an offset, verified PDF labels, or explicit physical page numbers for mixed numbering. Inserting a visible TOC preserves existing embedded page labels. The tool reads only allowed folders and never overwrites an existing output. PDFs are processed locally. If your agent uses a hosted model, selected text and images returned to the client may be sent to that model. Raw PDF bytes are not sent by this server. Encrypted and digitally signed PDFs require a separate unencrypted or unsigned copy before editing.
Develop
Run npm ci and npm test. Generate fresh demo PDFs in an empty folder with node scripts/demo.mjs /path/to/demo. The test suite exercises the actual stdio client, JPEG output, page mapping, Chinese bookmarks and link verification.
MIT for project code. The bundled Droid font is Apache-2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
PDF tools for AI agents: validate, extract, merge, split, compress, OCR, sign and redact.
PDF engagement layer for apps and agents: tracking links, read analytics, and a full PDF toolset.
PDF and image tools for AI agents: compress, merge, split, OCR, sign. Runs locally, never uploads.
PDF accessibility checks (veraPDF PDF/UA-1), auto-fix and Markdown conversion. EU-hosted.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables PDF processing and analysis including text extraction, metadata retrieval, search, page manipulation, splitting/merging, conversion to images, and form handling.10MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to extract structured data from PDFs with confidence scores and provenance, and to search, review, and correct documents via MCP tools, resources, and prompts.-
- AlicenseAqualityBmaintenanceEnables AI agents to inspect and work with PDF files entirely on the local machine, covering page counts, metadata, layout, encryption permissions, scan-vs-text detection, and page rendering. Generated results land in a temporary workspace as short artifact ids that can be chained between tools and exported to real folders on request.1224 PyPI1Apache 2.0
- AlicenseBqualityBmaintenanceEnables AI coding agents to inspect digital or scanned PDF forms and worksheets, map detected answer slots through a virtual Excel/Set-of-Marks view, and inject baseline-snapped text, multi-line answers, or option marks into clean output PDFs. Supports visual verification of completed pages.6MIT

