Skip to content

Extract text from PDF sales materials #52

Open

Description

@imshashank

read_material returns reason: "PDF_EXTRACTION_NOT_IMPLEMENTED" for PDFs (packages/mcp/server.ts), so assistants cannot read the most common kind of sales material. Markdown and text work. The file library previews PDFs in the browser with pdfjs-dist (src/components/files/pdf-preview.tsx), but nothing is extracted on the server, and MCP file tools do not return PDF text either.

Done when

  • PDF text is extracted on the server once per stored file, cached, and returned with page numbers by read_material and the file-library read tools, so assistants can cite it.
  • Extraction runs with size and time limits and never executes embedded content (pdfjs-dist is already a dependency).
  • Tests use a small fictional PDF fixture.

Activity

  1. added
    help wanted
    area: mcp
    area: storage
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcparea: storagehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions