123 lines
4.3 KiB
JSON
123 lines
4.3 KiB
JSON
{
|
|
"manifest_version": "0.3",
|
|
"name": "pdfcraft-mcp",
|
|
"display_name": "PdfCraft for Claude",
|
|
"version": "0.1.0",
|
|
"description": "PDFs öffnen, auslesen, schwärzen, bereinigen, zusammenführen und mit Seitenzahlen/Wasserzeichen versehen. Getestet mit PdfCraft 0.9.0. Benötigt PdfCraft aus dem ArtCraft-Launcher unter C:\\Program Files\\PdfCraft\\.",
|
|
"author": {
|
|
"name": "Dominic Gundel"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.gundel.dev/dg/claude-skills.git"
|
|
},
|
|
"homepage": "https://git.gundel.dev/dg/claude-skills",
|
|
"license": "MIT",
|
|
"icon": "icon.png",
|
|
"compatibility": {
|
|
"platforms": [
|
|
"win32"
|
|
]
|
|
},
|
|
"server": {
|
|
"type": "binary",
|
|
"entry_point": "server/README.txt",
|
|
"mcp_config": {
|
|
"command": "C:\\Program Files\\PdfCraft\\pdfcraft-cli.exe",
|
|
"args": [
|
|
"mcp",
|
|
"--compact",
|
|
"--automation-read-root",
|
|
"${user_config.read_root}",
|
|
"--automation-write-root",
|
|
"${user_config.write_root}"
|
|
]
|
|
}
|
|
},
|
|
"tools": [
|
|
{
|
|
"name": "doc_open",
|
|
"description": "Open a PDF file and return its document id, page count and whether it can be edited."
|
|
},
|
|
{
|
|
"name": "doc_info",
|
|
"description": "Metadata, page sizes and labels, bookmarks, annotations, form fields, links, layers, page transitions and display times, attachments, fonts, security and repair notes."
|
|
},
|
|
{
|
|
"name": "doc_save",
|
|
"description": "Save to its own file (an incremental update, which keeps signatures valid) or to a new path (a full rewrite)."
|
|
},
|
|
{
|
|
"name": "doc_close",
|
|
"description": "Close a document."
|
|
},
|
|
{
|
|
"name": "page_render",
|
|
"description": "Render one page to a PNG image (default 96 dpi, at most 600)."
|
|
},
|
|
{
|
|
"name": "text_extract",
|
|
"description": "Extract the text of some or all pages, in reading order."
|
|
},
|
|
{
|
|
"name": "text_find",
|
|
"description": "Find a phrase (case-insensitive, whitespace-normalised) and return matches in page order with page and line rectangles in points (origin top-left)."
|
|
},
|
|
{
|
|
"name": "doc_combine",
|
|
"description": "Combine files, in order, into one PDF (bookmarks are kept under one entry per file)."
|
|
},
|
|
{
|
|
"name": "doc_split",
|
|
"description": "Split into several files written to out_dir: every N pages, before given pages, at top-level bookmarks (bookmarks: true; files named after them, repeated titles get -2, -3), or by file size (max_mb)."
|
|
},
|
|
{
|
|
"name": "edit_undo",
|
|
"description": "Undo the last edit of a document."
|
|
},
|
|
{
|
|
"name": "command_list",
|
|
"description": "Every registered PdfCraft command with its menu, shortcut, whether it is enabled now, and the tool that automates it."
|
|
},
|
|
{
|
|
"name": "command_run",
|
|
"description": "Run a registry command through its headless tool."
|
|
},
|
|
{
|
|
"name": "command_batch",
|
|
"description": "Run steps in order (at most 1000)."
|
|
},
|
|
{
|
|
"name": "doc_inspect",
|
|
"description": "With doc, return doc_info; otherwise return information for every open document (empty documents array when none are open)."
|
|
},
|
|
{
|
|
"name": "render_preview",
|
|
"description": "Render a PNG bounded by max_side (default 1024), without changing or saving the document."
|
|
},
|
|
{
|
|
"name": "tool_search",
|
|
"description": "Search and list all PdfCraft automation tools, including the core tools, with a one-sentence description each."
|
|
},
|
|
{
|
|
"name": "tool_call",
|
|
"description": "Run any PdfCraft tool by name with its arguments, exactly as if it were called directly."
|
|
}
|
|
],
|
|
"user_config": {
|
|
"read_root": {
|
|
"type": "directory",
|
|
"title": "Lese-Ordner",
|
|
"description": "Hier darf Claude Dateien lesen. Ruhig weit fassen (z. B. Dokumente); der Schreib-Ordner sollte darin liegen, damit Ergebnisse wieder geöffnet werden können.",
|
|
"required": true,
|
|
"default": "${HOME}/Documents"
|
|
},
|
|
"write_root": {
|
|
"type": "directory",
|
|
"title": "Schreib-Ordner",
|
|
"description": "Nur hier darf Claude speichern. Eng fassen, eigener Ordner, z. B. Dokumente\\Claude.",
|
|
"required": true,
|
|
"default": "${HOME}/Documents/Claude"
|
|
}
|
|
}
|
|
} |