Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PSPDFKit/nutrient-document-engine-mcp-server
/ functions
Functions
448 in github.com/PSPDFKit/nutrient-document-engine-mcp-server
⨍
Functions
448
◇
Types & classes
238
↓ 1 callers
Function
createClient
(apiUrl: string, apiKey: string | undefined)
examples/document-chat/apps/web/src/providers/client.ts:3
↓ 1 callers
Function
createComplianceAgents
* Creates all the specialized agents for compliance processing
examples/openai-agents/document-processor.js:27
↓ 1 callers
Function
createContractProcessingAgents
* Creates all the specialized agents for contract processing
examples/openai-agents/contract-processor.js:28
↓ 1 callers
Function
createDashboardRouter
(client: DocumentEngineClient)
src/dashboard/index.ts:17
↓ 1 callers
Function
createDataExtractionAgents
* Creates all the specialized agents for data extraction showcase
examples/openai-agents/data-extraction-showcase.js:27
↓ 1 callers
Function
createDefaultHumanResponse
( interrupt: HumanInterrupt, initialHumanInterruptEditValue: React.MutableRefObject< Record<string, st
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:84
↓ 1 callers
Function
createDocumentAnnotation
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, annotation: AnnotationCreateSingle )
src/api/DocumentLayerAbstraction.ts:78
↓ 1 callers
Function
createDocumentAssemblyAgents
* Creates all the specialized agents for document assembly
examples/openai-agents/document-assembler.js:27
↓ 1 callers
Function
createDocumentEngineClient
(config: ClientConfig)
src/api/Client.ts:23
↓ 1 callers
Function
createDocumentRedactions
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, redactionPayload: CreateRedactions )
src/api/DocumentLayerAbstraction.ts:249
↓ 1 callers
Function
createFormProcessingAgent
* Creates the specialized agent for form processing
examples/openai-agents/form-processor.js:33
↓ 1 callers
Function
createImageWatermarkAction
* Create image watermark action * * Note: Using string values for width/height instead of WatermarkDimension objects * because the actual API expec
src/tools/document-editing/addWatermark.ts:71
↓ 1 callers
Function
createMCPClient
(mcpUrl: string)
examples/procurement-agent-ts/src/utils/MCPClient.ts:10
↓ 1 callers
Function
createMCPServer
()
examples/openai-agents/shared/common.js:7
↓ 1 callers
Function
createOrphans
* Create orphan documents with suggested actions
examples/procurement-agent-ts/src/nodes/MatchingNode.ts:204
↓ 1 callers
Function
createReportGenerationAgents
* Creates all the specialized agents for report generation
examples/openai-agents/report-generator.js:28
↓ 1 callers
Function
createTextWatermarkAction
* Create text watermark action * * Note: Using string values for width/height instead of WatermarkDimension objects * because the actual API expect
src/tools/document-editing/addWatermark.ts:46
↓ 1 callers
Function
createToolHandler
* Creates a tool handler with automatic logging
src/mcpTools.ts:103
↓ 1 callers
Function
dashboardHandler
(client: DocumentEngineClient, req: Request, res: Response)
src/dashboard/routes.ts:38
↓ 1 callers
Function
dashboardTemplate
( // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Document type is intentionally generic f
src/dashboard/templates/dashboard.ts:1
↓ 1 callers
Function
deleteDocumentAnnotation
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, annotationId: string )
src/api/DocumentLayerAbstraction.ts:127
↓ 1 callers
Function
deleteHandler
(client: DocumentEngineClient, req: Request, res: Response)
src/dashboard/routes.ts:191
↓ 1 callers
Function
downloadFile
* Downloads a file from a URL and saves it to the specified path * @param documentId * @param {string} filepath - The local file path to save to *
examples/openai-agents/shared/fileHandlers.js:171
↓ 1 callers
Function
downloadFile
* Downloads a file from a URL and saves it to the specified path * @param documentId * @param {string} filepath - The local file path to save to *
examples/langgraphjs/shared/fileHandlers.js:171
↓ 1 callers
Function
downloadHandler
(client: DocumentEngineClient, req: Request, res: Response)
src/dashboard/routes.ts:145
↓ 1 callers
Function
ensureConfiguration
( config: RunnableConfig )
examples/document-chat/apps/agents/src/react-agent/configuration.ts:15
↓ 1 callers
Function
ensureRunnableConfig
(config: RunnableConfig)
examples/procurement-agent-ts/src/State.ts:13
↓ 1 callers
Function
ensureToolCallsHaveResponses
(messages: Message[])
examples/document-chat/apps/web/src/lib/ensure-tool-responses.ts:6
↓ 1 callers
Method
evaluateCorrectOrder
* Check if tools were used in correct order
evaluation/evaluator.ts:107
↓ 1 callers
Method
evaluateCorrectTools
* Check if correct tools were used
evaluation/evaluator.ts:80
↓ 1 callers
Method
evaluateEfficiency
* Check if tool usage was efficient
evaluation/evaluator.ts:123
↓ 1 callers
Method
evaluateModel
* Evaluate a single model
evaluation/runner.ts:201
↓ 1 callers
Method
evaluateModels
* Evaluate multiple models on tool usage
evaluation/runner.ts:179
↓ 1 callers
Method
evaluateScenario
* Evaluate a single scenario
evaluation/evaluator.ts:16
↓ 1 callers
Method
extractToolCalls
* Extract tool calls from agent messages
evaluation/evaluator.ts:131
↓ 1 callers
Function
fixIndexSignatureConflictsSimple
(content)
scripts/generateSchema.js:17
↓ 1 callers
Function
formatAnnotationType
* Format annotation type for display
src/tools/annotations/addAnnotation.ts:354
↓ 1 callers
Method
formatLogEntry
(level: string, message: string, context?: unknown)
src/utils/Logger.ts:64
↓ 1 callers
Function
formatPartName
* Format operation type for display
src/tools/document-editing/splitDocument.ts:50
↓ 1 callers
Function
formatRotationDirection
* Format rotation direction for display
src/tools/document-editing/rotatePages.ts:117
↓ 1 callers
Function
formatUptime
* Formats uptime in a human-readable format
src/tools/healthCheck.ts:83
↓ 1 callers
Function
generateContentDescription
* Generate content description based on page range
src/tools/document-editing/splitDocument.ts:57
↓ 1 callers
Function
generateReport
* Generates a business intelligence report from multiple data sources * @param {Array<string>} dataDocumentIds - Array of document IDs containing dat
examples/langgraphjs/report-generator.js:39
↓ 1 callers
Function
generateSummaryStats
* Generate summary statistics
src/tools/annotations/readAnnotations.ts:84
↓ 1 callers
Function
getDocumentAnnotation
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, annotationId: string )
src/api/DocumentLayerAbstraction.ts:102
↓ 1 callers
Function
getDocumentAnnotations
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, pageIndex?: number )
src/api/DocumentLayerAbstraction.ts:47
↓ 1 callers
Function
getDocumentFormFieldValues
( client: DocumentEngineClient, fingerprint: DocumentFingerprint )
src/api/DocumentLayerAbstraction.ts:152
↓ 1 callers
Function
getDocumentPageText
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, pageIndex: number, ocr?: boolean )
src/api/DocumentLayerAbstraction.ts:21
↓ 1 callers
Function
getPresetDescription
* Get human-readable description for preset type
src/tools/annotations/createRedaction.ts:77
↓ 1 callers
Method
getReporter
* Get the reporter instance for external use
evaluation/runner.ts:303
↓ 1 callers
Function
getThreadSearchMetadata
( assistantId: string, )
examples/document-chat/apps/web/src/providers/Thread.tsx:26
↓ 1 callers
Function
groupAnnotationsByPage
* Group annotations by page
src/tools/annotations/readAnnotations.ts:66
↓ 1 callers
Function
handleCopy
(e: React.MouseEvent<HTMLButtonElement, MouseEvent>)
examples/document-chat/apps/web/src/components/thread/agent-inbox/components/thread-id.tsx:41
↓ 1 callers
Function
handleCopy
(e: React.MouseEvent<HTMLButtonElement, MouseEvent>)
examples/document-chat/apps/web/src/components/thread/messages/shared.tsx:25
↓ 1 callers
Function
handleRegenerate
( parentCheckpoint: Checkpoint | null | undefined, )
examples/document-chat/apps/web/src/components/thread/index.tsx:191
↓ 1 callers
Function
haveArgsChanged
( args: unknown, initialValues: Record<string, string>, )
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:207
↓ 1 callers
Method
initialize
* Initialize the runner
evaluation/runner.ts:114
↓ 1 callers
Function
isArrayOfMessages
( value: Record<string, any>[], )
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:11
↓ 1 callers
Function
main
()
src/index.ts:307
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/document-assembler.js:111
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/form-processor.js:92
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/document-processor.js:106
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/report-generator.js:108
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/contract-processor.js:131
↓ 1 callers
Function
main
* Main execution function
examples/openai-agents/data-extraction-showcase.js:129
↓ 1 callers
Function
main
()
examples/procurement-agent-ts/src/index.ts:15
↓ 1 callers
Function
maskUrl
* Masks sensitive parts of URLs for security
src/tools/healthCheck.ts:101
↓ 1 callers
Function
matchByReferences
* Match documents by reference numbers (most reliable)
examples/procurement-agent-ts/src/nodes/MatchingNode.ts:39
↓ 1 callers
Function
matchByVendorAndAmount
* Match remaining documents by vendor and amount similarity
examples/procurement-agent-ts/src/nodes/MatchingNode.ts:115
↓ 1 callers
Function
mergeDocuments
* Merge document pages using document-create-from-instructions API
src/tools/document-editing/mergeDocumentPages.ts:84
↓ 1 callers
Function
messageTypeToLabel
(message: BaseMessage)
examples/document-chat/apps/web/src/components/thread/agent-inbox/components/state-view.tsx:22
↓ 1 callers
Function
normalizeHostForHeader
(host: string)
src/index.ts:117
↓ 1 callers
Function
parseAnthropicStreamedToolCalls
( content: MessageContentComplex[], )
examples/document-chat/apps/web/src/components/thread/messages/ai.tsx:44
↓ 1 callers
Method
printComparison
* Print comparison results
evaluation/reporter.ts:17
↓ 1 callers
Method
printModelSummary
* Print model evaluation summary
evaluation/reporter.ts:109
↓ 1 callers
Method
printScenarioError
* Print error for failed scenario
evaluation/reporter.ts:97
↓ 1 callers
Method
printScenarioProgress
* Print progress update for a single scenario
evaluation/reporter.ts:82
↓ 1 callers
Function
processCompliance
(filePaths)
examples/langgraphjs/document-processor.js:31
↓ 1 callers
Function
processContract
(filePaths)
examples/langgraphjs/contract-processor.js:29
↓ 1 callers
Function
processDocument
( document: BaseDocument, config: RunnableConfig )
examples/procurement-agent-ts/src/nodes/ClassificationNode.ts:74
↓ 1 callers
Function
processEntries
()
examples/document-chat/apps/web/src/components/thread/messages/generic-interrupt.tsx:42
↓ 1 callers
Function
processForm
(filePaths)
examples/langgraphjs/form-processor.js:29
↓ 1 callers
Function
processReportGeneration
* Main function to handle the report generation process * @param {Array<string>} filePaths - Array of file paths to process
examples/langgraphjs/report-generator.js:134
↓ 1 callers
Function
removePages
* Remove pages from a document using apply_instructions with multiple DocumentParts and page ranges
src/tools/document-editing/splitDocument.ts:78
↓ 1 callers
Function
runFocusedEvaluation
()
evaluation/runner.ts:311
↓ 1 callers
Method
saveResults
* Save results to file
evaluation/reporter.ts:119
↓ 1 callers
Function
setApiKey
(key: string)
examples/document-chat/apps/web/src/providers/Stream.tsx:151
↓ 1 callers
Function
setupInterceptors
* Set up request and response interceptors
src/api/Client.ts:69
↓ 1 callers
Function
shouldRetryError
* Determines if an error should be retried
src/api/Client.ts:160
↓ 1 callers
Method
shouldServerLog
(logLevel: MCPLogLevel)
src/utils/Logger.ts:60
↓ 1 callers
Function
sleep
(ms = 4000)
examples/document-chat/apps/web/src/providers/Stream.tsx:42
↓ 1 callers
Function
startHttpServer
()
src/index.ts:200
↓ 1 callers
Function
startStdioServer
()
src/index.ts:169
↓ 1 callers
Function
truncateValue
(value: any)
examples/document-chat/apps/web/src/components/thread/messages/generic-interrupt.tsx:21
↓ 1 callers
Function
updateDocumentFormFieldValues
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, formFieldValues: FormFieldValuesRecord
src/api/DocumentLayerAbstraction.ts:187
↓ 1 callers
Function
uploadDocument
* Uploads a single document to the Document Engine * @param {string} filePath - Path to the file to upload * @param {Object} options - Upload option
examples/openai-agents/shared/fileHandlers.js:21
↓ 1 callers
Function
uploadDocument
(filePath: string)
examples/procurement-agent-ts/src/utils/FileHandlers.ts:20
↓ 1 callers
Function
uploadDocument
* Uploads a single document to the Document Engine * @param {string} filePath - Path to the file to upload * @param {Object} options - Upload option
examples/langgraphjs/shared/fileHandlers.js:21
↓ 1 callers
Function
uploadDocuments
(filePaths: string[])
examples/procurement-agent-ts/src/utils/FileHandlers.ts:84
↓ 1 callers
Function
uploadFilePaths
* Uploads multiple documents to the Document Engine * @param {Array<string>} filePaths - Array of file paths to upload * @param {Object} options - U
examples/openai-agents/shared/fileHandlers.js:91
← previous
next →
101–200 of 448, ranked by callers