Back to Home
SylphxAI icon

pdf-reader-mcp

Verified Safe

by SylphxAI

Overview

Provides a robust server for AI agents to extract text, images, and metadata from PDF documents, preserving content order for better comprehension.

Installation

Run Command
npx @sylphx/pdf-reader-mcp

Security Notes

The server correctly uses `path.resolve` to handle file paths, accepting both absolute and relative paths. It has robust input validation via `vex` and implements size limits (100MB) for PDF files to prevent memory exhaustion. Per-page error handling enhances reliability. No direct `eval` or command injection vulnerabilities are apparent. However, as a local file system access tool, it grants the AI agent (and thus, potentially a compromised agent or user) the ability to read any file on the system within the permissions of the running Node.js process. While this is an intended feature for an MCP server, it represents a security boundary that implementers should be aware of regarding the hosting environment and client trust.

Similar Servers

Stats

Interest Score64
Security Score7
Cost ClassHigh
Avg Tokens50000
Stars433
Forks55
Last Update2025-12-17

Tags

pdfreaderparserai-agentmcpdocument-processingtext-extractionimage-extractionmetadata