Skip to content
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

mcp server fails to load #7

Open
1of13 opened this issue Dec 22, 2024 · 10 comments
Open

mcp server fails to load #7

1of13 opened this issue Dec 22, 2024 · 10 comments

Comments

@1of13
Copy link

1of13 commented Dec 22, 2024

After adding the following to config, the server fails to load. I have no trouble loading any other mcp servers. Is there another step that I'm missing?

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

@adityak74
Copy link
Collaborator

adityak74 commented Dec 22, 2024

@1of13 make sure the mcpServers is only the root key. Also for reference can you post the complete config that you have in your claude_desktop_config.json.

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

@1of13
Copy link
Author

1of13 commented Dec 22, 2024

like i stated earlier, i have no problems with the other mcp servers installed, this is the only one that does not work out of 15--so, it is not the config file.

@andyvntsys
Copy link

like i stated earlier, i have no problems with the other mcp servers installed, this is the only one that does not work out of 15--so, it is not the config file.

same here

@vivekVells
Copy link
Owner

Looking into this now. @andyvntsys @1of13

@vivekVells
Copy link
Owner

I couldn't replicate the issue. Let me revert the recent changes for now.

@vivekVells
Copy link
Owner

I've reverted the docx and pdf support changes. After further testing in an isolated environment (to rule out local dependencies like weasyprint), I'll reimplement this feature.

Thank you @andyvntsys @1of13 for reporting the issue - I've been unable to replicate it on my machine, possibly due to my local weasyprint installation. You should be good now. Let us know if you still face any issues.

I will keep this thread updated on the progress.

@vivekVells
Copy link
Owner

Finally, got some time today to look into this. And, with some exciting news.

We have recently merged a feature that supports converting other file formats as well. Right now, mcp-pandoc supports 'html', 'markdown', 'pdf', 'docx', 'rst', 'latex', 'epub', 'txt'. -> https://github.com/vivekVells/mcp-pandoc?tab=readme-ov-file#supported-formats

@andyvntsys @1of13 I have verified it locally in my machine & it works as expected. Please let me know if you are good.

Verified

Screenshots Format conversion interface Conversion process Output preview Format selection Conversion complete

@vivekVells
Copy link
Owner

For PDF, ensure to install textlive package. Refer https://github.com/vivekVells/mcp-pandoc?tab=readme-ov-file#%EF%B8%8F-important-notes

@vivekVells
Copy link
Owner

I will keep this issue open for a while & close if no further issues reported.

@BindingOx
Copy link

BindingOx commented Dec 28, 2024

What worked for me on windows:

There are two main approaches we can try:

  1. Quick Fix (Temporary):
    Before running your script, open Command Prompt and run:
setx PYTHONIOENCODING "utf-8"

AND/OR

  1. Permanent System-Wide Fix (recommended):
  2. Press Windows + I to open Settings
  3. Go to "Time & Language"
  4. Click "Language & Region" on the left sidebar
  5. Click "Administrative language settings" on the right
  6. Click "Change system locale" button
  7. Check the box that says "Use Unicode UTF-8 for worldwide language support"
  8. Click OK and restart your computer

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

5 participants