Skip to content

The document says that pdf is supported, but it doesn't seem to work? #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
linhaihero opened this issue Apr 25, 2025 · 1 comment
Open

Comments

@linhaihero
Copy link

Use this installed

{
  "mcpServers": {
    "mcp-pandoc": {
      "command": "uvx",
      "args": ["mcp-pandoc"]
    }
  }
}

But my Cherry Studio shows an error

{
  "params": {
    "input_file": "C:\\Users\\Adminsp\\Desktop\\test.pdf",
    "output_format": "markdown",
    "output_file": "C:\\Users\\Adminsp\\Desktop\\test.md"
  },
  "response": {
    "content": [
      {
        "type": "text",
        "text": "Error converting file from markdown to markdown: Invalid input format! Got \"pdf\" but expected one of these: biblatex, bibtex, bits, commonmark, commonmark_x, creole, csljson, csv, djot, docbook, docx, dokuwiki, endnotexml, epub, fb2, gfm, haddock, html, ipynb, jats, jira, json, latex, man, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mdoc, mediawiki, muse, native, odt, opml, org, pod, ris, rst, rtf, t2t, textile, tikiwiki, tsv, twiki, typst, vimwiki"
      }
    ],
    "isError": true
  }
}

There is no pdf type in the displayed list...

Some dependencies have been installed:

Image

Could you tell me where I went wrong? Thanks!!

@rtpacks
Copy link

rtpacks commented May 2, 2025

Hello! I'm encountering the same issue. Have you managed to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants