# Nutrient Document Web Services API — MCP server on mcp.ai > Connect your Nutrient Document Web Services API account and use 13 tools for developer tools straight from your AI agent. Connect with your own API key. Process, convert, OCR, redact, sign, and analyze documents with Nutrient Document Web Services. By: mcp.ai · official Page: https://mcp.ai/nutrient_document_web_services_api ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_nutrient_document_web_services_api?ms=1787291220000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/nutrient_document_web_services_api/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/nutrient_document_web_services_api/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/nutrient_document_web_services_api/skill.md Postman collection (v2.1): https://mcp.ai/nutrient_document_web_services_api/postman.json ## Tools - nutrient_document_web_services_api_analyze_build(parts: object[], output?: object, actions?: object[]) — Deprecated compatibility tool for the original ANALYZE_BUILD contract. Use ANALYZE_BUILD_COST for typed Build instructions. - nutrient_document_web_services_api_analyze_build_cost(parts: object[], output?: object, actions?: object[]) — Estimate the credits and Processor features required by Build API instructions without executing the document job or consuming credits. - nutrient_document_web_services_api_build_document(parts: object[], output?: object, actions?: object[], filename?: string) — Synchronously create one document from remote files, remote HTML, new pages, and composable safe actions, returning its filename, media type, and Base64 content up to 4 MB. Use this for multi-part or - nutrient_document_web_services_api_convert_markdown_to_pdf(css?: string, layout?: object, filename?: string, markdown: string, template?: string, markdown_options?: object) — Convert CommonMark or GitHub-Flavored Markdown text into a PDF using optional built-in styling, custom CSS, page layout, and syntax highlighting settings. Returns the filename, media type, and Base64 - nutrient_document_web_services_api_create_jwt_token(allowed_origins?: string[], expiration_time?: integer, allowed_operations?: string[]) — Create a short-lived restricted Nutrient bearer token. This compatibility tool returns secret credential material; revoke it with REVOKE_JWT_TOKEN when it is no longer needed. Prefer the connected API - nutrient_document_web_services_api_create_pdf_from_web_page(url: string, layout?: object, filename?: string) — Render an HTML web page at a public URL, with optional page layout settings, into a PDF. Returns the filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PRO - nutrient_document_web_services_api_get_account_info() — Return the connected Nutrient account's subscription type, status, and estimated remaining credits. - nutrient_document_web_services_api_get_processor_usage() — Return the connected account's Processor subscription status and credit usage counters. - nutrient_document_web_services_api_make_pdf_accessible(url: string, filename?: string, password?: string) — Auto-tag a PDF at a remote URL for PDF/UA screen-reader accessibility and return the result's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_ - nutrient_document_web_services_api_ocr_pdf(url: string, filename?: string, languages?: string[], skip_ocr_for_searchable_documents?: boolean) — Apply optical character recognition to a PDF at a remote URL and return a searchable PDF's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PROCESSOR_USA - nutrient_document_web_services_api_revoke_jwt_token(token_id: string) — Immediately revoke a bearer token created by CREATE_JWT_TOKEN using its ID. Use this when a generated token is no longer needed or may be compromised. - nutrient_document_web_services_api_stage_pdf_redactions(url: string, content: string, filename?: string, password?: string, strategy: string, strategy_options?: object) — Find matching content in a remote PDF and return a review PDF's filename, media type, and Base64 content up to 4 MB with unapplied redaction marks. This action cannot permanently apply redactions. It - nutrient_document_web_services_api_watermark_pdf(url: string, font?: object, text?: string, image?: object, width?: number|string|object, height?: number|string|object, opacity?: number, filename?: string, rotation?: number, vertical_offset?: number|string|object, horizontal_offset?: number|string|object) — Add a positioned text or image watermark to every page of a PDF at a public URL and return the copy's filename, media type, and Base64 content up to 4 MB. This consumes Processor credits; check GET_PR ## Example prompts - "What can I do in Nutrient Document Web Services API?" - "Show me a summary of my Nutrient Document Web Services API account" ## Links Docs: https://mcp.ai/docs/mcps/nutrient_document_web_services_api Website: https://mcp.ai/mcps/nutrient_document_web_services_api