Skip to content

Product and architecture ​

CZUR MCP Server and CLI let you control a scanner, capture documents, process images, and save results on your own computer. They connect to the local CZUR Open SDK Runtime to provide device and document-processing capabilities to AI tools and scripts, rather than requiring you to submit documents to a cloud image-processing platform first.

What MCP and CLI can do ​

  • Let an AI agent operate a scanner: describe a task to an AI client that supports local stdio MCP, and let the agent call device discovery, capture, and document-processing tools.
  • Automate repetitive work with commands and scripts: orchestrate scanning, image processing, enhancement, and OCR through CLI, using JSON output to connect to automation programs.
  • Process scans and existing images: apply page and color processing, combine local enhancement steps, and save frequently used configurations as reusable workflows.
  • Extract text and export documents: obtain image text and coordinates, or export an ordered image set as a document for archiving and further analysis.
  • Deliver results locally: save images and documents for scripts, business applications, or AI clients to use next.

Local processing, control over data flow ​

MCP Server, CLI, and Runtime work together on your computer. Device capture, local image enhancement, and result delivery can happen locally without submitting images to a cloud image-enhancement service. Choose input and output directories and manage files according to your own permissions and archival policies.

“Upload” and “download” in the local interfaces refer to file transfers between the tools and the local Runtime. Account authorization still requires network access. Whether OCR uses a remote service depends on the recognition service, and AI clients may send results to cloud models. Read Privacy, security, and network boundaries before processing sensitive documents.

How the components work together ​

text
AI Agent -> MCP Server --+
                        +-> CZUR Open SDK Runtime
Scripts  -> CLI --------+   (local)
  • MCP Server (czur-open-mcp): lets AI clients discover and call device and document-processing tools.
  • CLI (czur-open): runs tasks through commands and scripts, delivering structured results and local files.
  • Runtime: provides device connections, capture, and document-processing capabilities on the local machine.

MCP and CLI support account login and CZUR_OPEN_API_KEY. In account mode, they share local account authorization state. Choose an entry point based on whether you want an agent to orchestrate tasks or prefer explicit commands and scripts. You do not need separate document-processing implementations for the two interfaces.

From capture to an AI application ​

A typical workflow has five steps:

  1. Prepare input: connect a device and capture images, or select existing local images.
  2. Process images: apply page processing, color processing, or local enhancement as needed.
  3. Run OCR: when text or searchable documents are needed, run text extraction or OCR export as a separate operation on the images.
  4. Save results: obtain local files, recognized text, and related structured information.
  5. Pass results to AI or a business application: let your application continue with understanding, analysis, questions and answers, or archiving.

An agent or script connects these steps as needed; they are not a single command that automatically performs every step. CLI waits for a task and delivers results within the same command. MCP provides submission, query, and cancellation tools for standalone enhancement and OCR document export so agents can manage long-running tasks.

Main processing capabilities ​

Devices and capture ​

Discover accessible devices, view their details, and capture images. Use an ID returned by the device list for subsequent operations and choose resolutions and other settings based on device capabilities. See Device and system compatibility for connection and checking steps.

Image processing and enhancement ​

Apply page processing, color processing, and local enhancement to scans or existing images. The following local enhancements are supported:

  • crop enhancement (crop_enhance);
  • specification normalization (normalize_spec);
  • rotation and deskew (rotate);
  • blank-page detection (blank_page_detect);
  • red/green header enhancement (red_green_head).

Query enhancement capabilities and parameters before combining processing steps in order. Save frequently used configurations as workflows for reuse in later tasks.

OCR and file delivery ​

Single-image text extraction returns recognized text, coordinates, and related information. OCR document export turns an ordered image set into a document. Completed results are saved locally for agents, scripts, or other applications to use. Available export formats depend on Runtime and the recognition service.

Usage notes ​

  • Finish scanning before OCR: in MCP, finish the scan session before passing captured images to a standalone OCR tool.
  • Distinguish image documents from searchable documents: PDF, OFD, or TIFF files exported by image enhancement do not automatically contain an OCR text layer. Use OCR export and check the result when searchable or extractable text is required.
  • Choose an interface for the task: see Choosing an integration for AI tool integration and command-line automation.

For direct integration with the underlying protocol, see the Runtime documentation. MCP and CLI users do not need to manage those communication channels themselves.