a year ago
developer-toolsMCP server that fetches websites and converts them to PDF, with link traversal support
Overview
what is Website to PDF MCP?
Website to PDF MCP is a server application that fetches websites and converts them into PDF documents, including support for link traversal to include multiple pages in a single PDF.
how to use Website to PDF MCP?
To use the server, clone the repository, install the dependencies, set up the environment, and start the server. You can then make a POST request to the API endpoint with the desired URL and options.
key features of Website to PDF MCP?
- Convert a single webpage to PDF
- Traverse links on a webpage and convert multiple pages to a single PDF
- Support for authentication via username and password
- Configurable maximum page limit for link traversal
use cases of Website to PDF MCP?
- Generating PDF reports from web articles
- Archiving web pages for offline access
- Creating documentation from web-based resources
FAQ from Website to PDF MCP?
- Can I convert any website to PDF?
Yes, as long as the website is accessible, including those behind authentication.
- Is there a limit to the number of pages I can convert?
Yes, you can set a maximum page limit for link traversal.
- How do I customize the PDF output?
You can modify the
websiteToPdffunction in the source code to customize page formats, margins, and more.