toolknit-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@toolknit-mcpconvert report.docx to PDF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
toolknit-mcp
MCP server that converts file formats by driving toolknit.com tool pages in headless Microsoft Edge.
All conversion work runs inside the page (client-side JS/WebAssembly — PDF.js, docx-preview, JSZip, canvas codecs), so files never leave the machine. The server only automates the page: set the file input → click convert → capture the download.
Tools exposed
Tool | Purpose |
| List the 13 supported conversions, accepted inputs, options |
| Convert a local file; returns the absolute path of the result |
Supported conversions (first version):
word-to-pdf(docx → pdf),pdf-to-word,image-to-pdf(multi-file)pdf-to-imagewith optionsformat(png/jpg/webp) andresolution(72/150/300)merge-pdf(multi-file),compress-pdfjpg-to-png,png-to-jpg,jpg-to-webp,png-to-webp,webp-to-jpg,webp-to-png,heic-to-jpg
Multi-image results arrive as ZIP and are auto-extracted next to the download (<name>_files/); the result JSON lists both the ZIP and the extracted files.
Related MCP server: document-converter-mcp
Example call
{
"tool": "pdf-to-image",
"input": "D:\\docs\\report.pdf",
"options": { "format": "png", "resolution": "150" }
}Requirements
Node.js ≥ 18
Microsoft Edge (uses the system install via playwright-core; no browser download)
Run / test
npm install
npm start # stdio MCP server
npm test # direct conversion smoke test (docx → pdf)
npm run test:mcp # full MCP protocol end-to-end testRegister in an MCP client (stdio)
Clone, install, and point your MCP client at the server entry:
git clone https://github.com/Dawn-1029/toolknit-mcp.git
cd toolknit-mcp
npm install{
"mcpServers": {
"toolknit": {
"command": "node",
"args": ["/path/to/toolknit-mcp/index.js"]
}
}
}Windows example: "args": ["D:\\tools\\toolknit-mcp\\index.js"].
License
Implementation notes
Tool pages share
#file-inputbut use two button naming styles (#btn-convert/#convert-btn/#merge-btn/#compress-btn); each registry entry declares its selectors.Some pages import their tool script only after an async dependency chain (pdf-to-image waits for PDF.js), and Edge's injected
changeevent is not always delivered — the driver re-dispatcheschangeuntil the page's ready signal appears.Some pages raise blocking dialogs: merge-pdf opens a merge-all-pages modal for multi-page inputs, image-to-pdf offers image optimization mid-flow. Registry
dismisslists are clicked automatically (never the cancel variants).Download controls no-op until the page's result blob exists, so the driver clicks the download control on a 1.5s cadence until the browser fires the download event. image-to-pdf builds its download anchor dynamically (
#download-buttons a[download]).Output never overwrites an input: merge tools name the result after the first input, so collisions are auto-renamed (
smoke.pdf→smoke-1.pdf).pdf-to-word latency varies from ~25s to several minutes (site-side); its default timeout is 420s. All other tools finish in under ~15s for typical files.
On failure the server saves a debug screenshot to the OS temp dir and includes its path plus any page errors in the error message.
Site UI changes will break selectors; the fix is usually a one-line registry update in
lib/converter.js.
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Convert DOCX documents to and from PDF, TXT, HTML, ODT, JPG and RTF.
Convert PDFs/images to Word, Excel, and Markdown. Split, merge, and watermark PDF files.
1,000+ conversion routes plus translate, extract tables, compress. 25 free/month, then a free key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConverts various document formats to desired output formats, currently supporting PDF to image conversion. No access keys required for basic file format conversion operations.3MIT
- AlicenseAqualityCmaintenanceConverts documents between Markdown, PDF, DOCX, and HTML locally with AI-friendly Markdown output and secure file access.626 npmMIT
- AlicenseNot gradedqualityBmaintenanceA local file conversion server supporting audio, video, image, document, and specialized formats via Model Context Protocol. It enables batch and single-file conversions without cloud dependencies.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables local document conversion between 70+ formats (PDF, Word, Excel, etc.) via MCP, keeping files private.MIT