Choosing an integration
CZUR Open Platform offers three integration options: MCP Server, CLI, and Open SDK. This documentation focuses on MCP Server for AI tool integration and CLI for developers working from the command line.
Quick choice
| Caller | Recommended entry point | Best for | Keep in mind |
|---|---|---|---|
| AI agent or MCP client | MCP Server | Agent-orchestrated device, capture, enhancement, and OCR tools | The client must support local stdio MCP and have the required file access permissions |
| Shell, scripts, or terminal users | CLI | Running czur-open commands and obtaining structured results with --json | Keep the command running until the task finishes and results are delivered |
| Application developers | Open SDK / Runtime interface | Embedding device and document-processing capabilities in an application | Best for developers who need to manage connections, sessions, and application UI themselves |
Choose MCP to interact with an AI assistant that calls tools. Choose CLI for fixed steps, batch processing, or integration with existing programs. Choose Open SDK to build an application with direct control over integration.
MCP Server
Your AI client starts MCP Server as a local process and connects through stdio. Once configured, the client can discover CZUR tools and call device, image-processing, and OCR capabilities as needed. Tool results include text, images, or local file information for the agent to analyze or pass to subsequent steps.
MCP fits scenarios such as:
- discovering devices and scanning in response to user instructions;
- letting an agent connect scanning, image enhancement, and saving results;
- querying or cancelling long-running enhancement and OCR tasks;
- finishing a scan, passing captured or enhanced images to OCR, and using recognized text for analysis and questions and answers.
Before use, configure the local MCP launch command in your client, install and run Runtime, and complete account authorization or configure CZUR_OPEN_API_KEY in the MCP launch environment. The client also needs access to the command and input/output directories. See Device and system compatibility for environment requirements.
Scanning and long-running tasks within the same MCP Server instance must run sequentially. Finish the current scan or wait for the active task to end before starting the next operation. When handling sensitive files, review the AI client's tool permissions and data-transfer policies. See Privacy, security, and network boundaries.
CLI
The CLI command is czur-open, designed for terminal use and automation scripts. Like MCP, it supports account login through czur-open auth login or an existing CZUR_OPEN_API_KEY in the process environment before using device, image-processing, or OCR commands. In account mode, both share local authorization state. Use --json when another program needs to read the results.
CLI fits scenarios such as:
- checking Runtime connectivity, account authorization, and device visibility;
- running scanning, page processing, color processing, and local enhancement in a fixed sequence;
- processing images one by one in a script, or exporting multiple images together as an OCR document;
- passing JSON results and local files to Shell, Python, or business applications.
Long-running tasks must finish within the current command. Keep the process running; the original task cannot be resumed after it exits. Before running the operation again, check existing results to avoid duplicate processing. Files are saved to the selected or default local output directory for use by subsequent programs.
Install CLI using Quick install on the homepage, then follow the environment checks to verify Runtime, authorization, and device connectivity.
Open SDK and Runtime documentation
Open SDK serves application developers who need custom interfaces, direct control over device interactions, or document processing embedded in an existing product. With direct integration, the application manages connections, sessions, and result handling.
For protocols, methods, and integration examples, see the Runtime documentation center; English content is available in Runtime English Docs.
To embed device capabilities directly into your application, use the Open SDK / Runtime documentation. To complete tasks through AI tools or scripts, choose MCP or CLI respectively.