PDF Dark — Invert PDF Colors & Dark Mode
Invert PDF colors and convert PDFs to dark mode with theme presets and browser tools.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- HIGH
- MEDIUMin invert_pdf_base64
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"pdf-dark": {
"url": "https://pdfdark.org/mcp"
}
}
}Remote-Endpunkte
https://pdfdark.org/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
⚪invert_pdf_base64(pdf_base64, theme)
Invert colors of a base64-encoded PDF (up to 2 MB) directly into a downloadable dark-mode PDF. For larger files or photo-preserving conversion (keeping photos in original colors), use https://pdfdark.org/invert-pdf-colors.
Eingabe-Schema
{
"type": "object",
"properties": {
"pdf_base64": {
"type": "string",
"description": "Base64-encoded input PDF bytes (max 2 MB decoded)."
},
"theme": {
"type": "string",
"enum": [
"pure_invert",
"oled",
"midnight",
"sepia",
"solarized"
],
"description": "Dark background tint applied after inversion. Defaults to 'pure_invert'."
}
},
"required": [
"pdf_base64"
]
}🟢get_dark_mode_presets
List all PDF Dark theme presets (Midnight, Sepia, Solarized, OLED, Pure Invert) with RGB swatches and image handling modes.
Eingabe-Schema
{
"type": "object",
"properties": {}
}⚪recommend_pdf_settings(document_type, device)
Recommend the optimal PDF Dark tool page, theme preset, and image-handling mode based on document type and reading device.
Eingabe-Schema
{
"type": "object",
"properties": {
"document_type": {
"type": "string",
"enum": [
"scanned_textbook",
"academic_paper",
"slides_with_photos",
"print_handout",
"general_reading"
],
"description": "Type of PDF document."
},
"device": {
"type": "string",
"enum": [
"laptop",
"ipad",
"kindle",
"oled_phone",
"printer"
],
"description": "Target reading or output device."
}
},
"required": [
"document_type"
]
}🟡get_tool_url(task, locale)
Get the direct zero-upload browser tool URL on pdfdark.org for a specific PDF task and language.
Eingabe-Schema
{
"type": "object",
"properties": {
"task": {
"type": "string",
"enum": [
"invert",
"dark_mode",
"black_and_white",
"whiten_background",
"deskew"
],
"description": "PDF conversion task. Defaults to 'invert'."
},
"locale": {
"type": "string",
"enum": [
"en",
"es",
"pt",
"de"
],
"description": "UI language code. Defaults to 'en'."
}
}
}Community
Nachweis