- mcp-pandoc-ts: A Document Conversion MCP Server (TypeScript/Host Service Version)
mcp-pandoc-ts: A Document Conversion MCP Server (TypeScript/Host Service Version)
What is mcp-pandoc-ts?
mcp-pandoc-ts is a TypeScript-based MCP server that facilitates document conversion using the pandoc tool from a Docker environment, allowing users to convert documents between various formats such as Markdown, HTML, PDF, DOCX, and TXT.
How to use mcp-pandoc-ts?
To use mcp-pandoc-ts, set up the pandoc-host-service on your host machine, configure the PANDOC_HOST_URL, and run the mcp-pandoc-ts server in a container. You can then send conversion requests to the server.
Key features of mcp-pandoc-ts?
- Converts documents between multiple formats using pandoc.
- Runs in a Docker container while leveraging a host service for pandoc execution.
- Supports various input and output formats, including Markdown, HTML, PDF, and DOCX.
Use cases of mcp-pandoc-ts?
- Converting Markdown documents to PDF for printing.
- Transforming HTML content into DOCX for word processing.
- Automating document format conversions in a CI/CD pipeline.
FAQ from mcp-pandoc-ts?
- What formats does mcp-pandoc-ts support?
It supports Markdown, HTML, PDF, DOCX, and TXT formats, with LaTeX and EPUB being untested.
- Do I need to install pandoc on the container?
No, pandoc must be installed on the host machine, and the container communicates with it via the host service.
- Is there a way to run the service in the background?
Yes, you can use tools like
nohup,screen, ortmuxto run the host service in the background.
Recommend Servers
View AllWrite notes to Flomo
summarize chat message
test