Skip to content

PDF Reader MCP Issues #113

@nathanael-lin

Description

@nathanael-lin

Root Cause

  • Repository Corruption: The entire sylphxltd/pdf-reader-mcp GitHub repository has been hijacked/corrupted
  • Wrong Server Type: Contains Filesystem MCP server code instead of PDF reader code
  • Both npm and GitHub affected: npm package @sylphlab/pdf-reader-mcp and GitHub source both corrupted

Evidence of Corruption

  • Server identifies as "filesystem-mcp" version "0.4.0" instead of "pdf-reader-mcp"
  • Error: "Unexpected token 'F', "[Filesystem"... is not valid JSON" from plain text output
  • Git history shows repository was converted to filesystem MCP server:
    • da65234 - Changed package name to @shtse8/filesystem-mcp
    • d9b19c2 - Updated README for Filesystem MCP Server
    • 1c98d95 - Initial setup of Filesystem MCP Server

Technical Details

  • JSON Parsing Error: Server outputs "[Filesystem MCP] Server running on stdio" as plain text
  • Claude Desktop expects JSON-RPC: Plain text breaks JSON parser
  • Source Code Corruption: Even building from source produces filesystem server
  • Package Resolution Issue: npx @sylphlab/pdf-reader-mcp@latest executes wrong binary

Attempted Fixes (All Failed)
✗ Clear npm cache and reinstall
✗ Use npm exec instead of npx
✗ Uninstall and reinstall globally
✗ Build from source (source code also corrupted)
✗ Fix TypeScript compilation errors in corrupted code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions