DocRaptor MCP by usefulapi

Turn HTML or a live URL into polished PDF and Excel files — hosted downloads, async jobs, history.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
77%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,070Tokens (Tool-Definitionen)
~5.4 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.62% von 128k Kontext)

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": {
    "docraptor": {
      "url": "https://docraptor.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://docraptor.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (4)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🔴docraptor_create_document(document_content, document_url, type, name, test, ...)

Generate a PDF or Excel document from HTML (document_content) or a URL (document_url). Exactly one of document_content / document_url is required. By default the document is HOSTED and the tool returns a { download_url } you can fetch — ideal for agents (no large binary in the response). Hosted documents require a paid DocRaptor add-on. Without that add-on, set hosted:false to get the raw document back as base64, or async:true to enqueue a job and poll docraptor_get_document_status. Test mode is enabled by default: PDFs are watermarked and Excel files are limited to 20 rows. Set test:false explicitly to create a real document that consumes account credits (billed). DocRaptor API: POST /docs.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "document_content": {
      "description": "The HTML/XML source to render. Use this OR document_url.",
      "type": "string"
    },
    "document_url": {
      "description": "A URL DocRaptor will fetch and render. Use this OR document_content.",
      "type": "string"
    },
    "type": {
      "description": "Output format: pdf (default), xls, or xlsx.",
      "type": "string",
      "enum": [
        "pdf",
        "xls",
        "xlsx"
      ]
    },
    "name": {
      "description": "A name for the document (<=200 chars), shown in the DocRaptor dashboard/listing.",
      "type": "string",
      "maxLength": 200
    },
    "test": {
      "default": true,
      "description": "Default true: generate a FREE test document (watermarked PDF or Excel limited to 20 rows). Set false explicitly for a real, BILLED document.",
      "type": "boolean"
    },
    "hosted": {
      "description": "Default true for synchronous requests, false for async. Requires the paid hosted-documents add-on; each download may be billed. Set false for raw base64 output without the add-on.",
      "type": "boolean"
    },
    "async": {
      "description": "If true, enqueue the job and return a status_id (poll with docraptor_get_document_status). Best for large/slow documents. Default false.",
      "type": "boolean"
    },
    "hosted_download_limit": {
      "description": "For hosted docs: max number of downloads before the link expires.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "hosted_expires_at": {
      "description": "For hosted docs: ISO 8601 datetime when the hosted link expires.",
      "type": "string"
    },
    "pipeline": {
      "description": "Rendering pipeline/engine version, e.g. '10'. Omit to use DocRaptor's default.",
      "type": "string"
    },
    "tag": {
      "description": "An arbitrary tag string for your own reporting/grouping.",
      "type": "string"
    },
    "javascript": {
      "description": "Enable DocRaptor's JavaScript engine (default false), recommended for Typekit and Highcharts. Separate from prince_options.javascript; usually enable only one engine.",
      "type": "boolean"
    },
    "strict": {
      "description": "PDF HTML validation: html fails on invalid HTML; none disables strict HTML validation.",
      "type": "string",
      "enum": [
        "none",
        "html"
      ]
    },
    "help": {
      "description": "Enable DocRaptor help mode: emails you and DocRaptor support and retains document contents for review until resolved. Maximum five active help requests.",
      "type": "boolean"
    },
    "referrer": {
      "description": "Explicit referrer for JavaScript requests, e.g. Typekit with document_content. Defaults to document_url.",
      "type": "string"
    },
    "callback_url": {
      "description": "URL DocRaptor POSTs after a successful async job (requires async:true). Failed jobs do not trigger callbacks.",
      "type": "string"
    },
    "ignore_resource_errors": {
      "description": "Ignore errors downloading CSS/images (DocRaptor default true). Set false to fail generation on resource errors.",
      "type": "boolean"
    },
    "ignore_console_messages": {
      "description": "Ignore JavaScript console messages instead of failing generation. Defaults to false on Pipelines 1–6, true on Pipeline 7+.",
      "type": "boolean"
    },
    "prince_options": {
      "type": "object",
      "properties": {
        "media": {
          "description": "CSS media type. \"print\" (default) vs \"screen\".",
          "type": "string",
          "enum": [
            "print",
            "screen"
          ]
        },
        "javascript": {
          "description": "Enable Prince's JavaScript engine (default false), separate from top-level javascript. Usually enable only one engine to avoid running scripts twice.",
          "type": "boolean"
        },
        "baseurl": {
          "description": "Base URL for resolving relative asset paths in document_content.",
          "type": "string"
        },
        "pdf_title": {
          "description": "Title metadata embedded in the PDF.",
          "type": "string"
        },
        "max_passes": {
          "description": "Max Prince layout passes (for JS-driven layouts).",
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "version": {
          "description": "Deprecated Prince version selector. Prefer the top-level pipeline parameter.",
          "type": "string"
        },
        "no_xinclude": {
          "description": "Disable XInclude processing.",
          "type": "boolean"
        },
        "no_network": {
          "description": "Disable network access and HTTP downloads.",
          "type": "boolean"
        },
        "no_parallel_downloads": {
          "description": "Fetch assets sequentially, useful for hosts with strict rate limits.",
          "type": "boolean"
        },
        "http_user": {
          "description": "Username for HTTP authentication when fetching resources.",
          "type": "string"
        },
        "http_password": {
          "description": "Password for HTTP authentication when fetching resources.",
          "type": "string"
        },
        "http_proxy": {
          "description": "HTTP proxy server used to fetch resources.",
          "type": "string"
        },
        "http_timeout": {
          "description": "External resource request timeout in seconds (1–60; DocRaptor default 10).",
          "type": "integer",
          "minimum": 1,
          "maximum": 60
        },
        "insecure": {
          "description": "Disable SSL verification for resource downloads (not recommended).",
          "type": "boolean"
        },
        "no_author_style": {
          "description": "Ignore author style sheets.",
          "type": "boolean"
        },
        "no_default_style": {
          "description": "Ignore default style sheets.",
          "type": "boolean"
        },
        "no_embed_fonts": {
          "description": "Disable font embedding in PDF output.",
          "type": "boolean"
        },
        "no_subset_fonts": {
          "description": "Disable font subsetting in PDF output.",
          "type": "boolean"
        },
        "no_compress": {
          "description": "Disable PDF output compression.",
          "type": "boolean"
        },
        "encrypt": {
          "description": "Encrypt PDF output.",
          "type": "boolean"
        },
        "key_bits": {
          "description": "PDF encryption key size: 40 or 128 bits.",
          "anyOf": [
            {
              "type": "number",
              "const": 40
            },
            {
              "type": "number",
              "const": 128
            }
          ]
        },
        "user_password": {
          "description": "PDF user password, required to open the encrypted document.",
          "type": "string"
        },
        "owner_password": {
          "description": "PDF owner password for controlling document permissions.",
          "type": "string"
        },
        "disallow_print": {
          "description": "Disallow printing the PDF.",
          "type": "boolean"
        },
        "disallow_copy": {
          "description": "Disallow copying PDF content.",
          "type": "boolean"
        },
        "allow_copy_for_accessibility": {
          "description": "Allow accessibility copying even when disallow_copy is true (Pipeline 9+).",
          "type": "boolean"
        },
        "disallow_annotate": {
          "description": "Disallow PDF annotations.",
          "type": "boolean"
        },
        "disallow_modify": {
          "description": "Disallow PDF modifications.",
          "type": "boolean"
        },
        "allow_assembly": {
          "description": "Allow document assembly even when disallow_modify is true (Pipeline 9+).",
          "type": "boolean"
        },
        "input": {
          "description": "Input format used by Prince.",
          "type": "string",
          "enum": [
            "html",
            "xml",
            "auto"
          ]
        },
        "css_dpi": {
          "description": "CSS pixel resolution in dots per inch (DocRaptor default 96).",
          "type": "number",
          "exclusiveMinimum": 0
        },
        "profile": {
          "description": "PDF conformance profile (PDF/A, PDF/UA, or PDF/X). Supported profiles depend on the pipeline.",
          "type": "string",
          "enum": [
            "PDF/A-1a",
            "PDF/A-1a+PDF/UA-1",
            "PDF/A-1b",
            "PDF/A-2a",
            "PDF/A-2a+PDF/UA-1",
            "PDF/A-2b",
            "PDF/A-3a",
            "PDF/A-3a+PDF/UA-1",
            "PDF/A-3b",
            "PDF/UA-1",
            "PDF/X-1a:2001",
            "PDF/X-1a:2003",
            "PDF/X-3:2002",
            "PDF/X-3:2003",
            "PDF/X-4"
          ]
        }
      },
      "description": "PDF engine (Prince) options. PDF only."
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢docraptor_get_document_status(status_id)

Check the status of an asynchronous document created with docraptor_create_document({async:true}). Returns status (queued | working | completed | failed), and when completed a download_url / download_id / number_of_pages. DocRaptor API: GET /status/{status_id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "status_id": {
      "type": "string",
      "description": "The status_id returned by docraptor_create_document when async:true."
    }
  },
  "required": [
    "status_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢docraptor_list_documents(page, per_page)

List metadata for documents created on this account, most recent first (paginated). Note: DocRaptor does not retain the rendered files themselves — this returns metadata such as name, type, test flag, and creation time. DocRaptor API: GET /docs.json.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Pagination page number. Default 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Documents per page (max 100). Default 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢docraptor_list_ip_addresses

List the IP addresses DocRaptor uses to fetch remote assets / document_url. Useful for allowlisting DocRaptor on a firewall or asset host. (DocRaptor notes these change over time — prefer HTTP Basic auth over IP allowlisting for securing assets.) DocRaptor API: GET /ips.json.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet4 Tools
verifiziertVersion nicht aufgezeichnet4 Tools
verifiziertVersion nicht aufgezeichnet4 Tools
fehlgeschlagene BeobachtungVersion nicht aufgezeichnet—
fehlgeschlagene BeobachtungVersion nicht aufgezeichnet—