FAQ and troubleshooting
Work through these checks in order: command startup → Runtime connection → authorization → device access → output quality. Reproduce issues with a nonsensitive sample and avoid repeatedly submitting the same processing task while investigating.
czur-open or npx cannot be found
Check your terminal first:
node --version
npm --version
npm prefix -g- Missing Node.js or npm: install Node.js 20 or later, then reopen the terminal and AI client.
- CLI not installed: follow Install CLI and confirm that npm installation succeeds.
- Using nvm or another version manager: global npm packages and executable paths may change when you switch Node.js versions. Install CLI in the Node.js environment you actually use and check the client's PATH.
- Bash still points to an old command path: run
hash -rto clear its command cache, then retryczur-open version. - Commands work in the terminal but not in the AI client: desktop apps may not inherit the terminal environment. Use the full executable path for
npxorczur-open-mcpin the client configuration and restart the client.
Do not delete system directories or arbitrarily elevate permissions to resolve path issues.
Runtime cannot be reached
czur-open doctor
czur-open doctor --jsonConfirm that CZUR Open SDK Runtime is installed and running on this computer, with an installer matching your operating system and processor architecture. If needed, run czur-open runtime install to download the installer, then follow the instructions to install it manually.
For a custom Runtime address, check its host and port. For custom certificates, install a trusted certificate or supply the correct CA file through the supported --ca-file option. Do not bypass errors by disabling TLS verification. doctor does not require account login or install software automatically.
Authorization fails after login
czur-open auth status reports local account state. To verify that the selected authorization can be used with Runtime, run:
czur-open auth checkA nonempty CZUR_OPEN_API_KEY takes precedence over the logged-in account. An invalid Key does not trigger fallback. Check that the Key is valid, applies to your Runtime, and that the running process received the updated value.
To switch back to account login, remove the environment variable first:
unset CZUR_OPEN_API_KEYRemove-Item Env:CZUR_OPEN_API_KEY -ErrorAction SilentlyContinueRemove the variable from the MCP configuration too, then restart the server. Run czur-open auth login and czur-open auth check as needed. auth logout does not remove or revoke an environment Key; manage API Keys in the CZUR User Center.
For offline or private-network use, also check the Runtime authorization and service requirements. Configuring a Key skips account login, not Runtime validation.
No devices are listed, or the device is busy
czur-open device list --json- Check power, the USB cable, and the port. Connect the device to the computer running Runtime.
- Close scanning, camera, or other apps that may hold the device, and check operating-system device permissions.
- Copy the actual
device_idfrom the list, rather than using the device name. - If MCP already has an active scan session, ask the assistant to release it with
scan.finish.
CLI scan manages opening, capture, and closing; you do not need to run device open first. A standalone CLI device open cleans up on exit and does not hold the device open for the next command.
Images are unclear, rotated, or hard to locate
- Keep the material still and check lighting, glare, obstructions, and text edges. Use
single_pagefor paper andcurved_bookfor curved book pages. keep_originalonly controls paper processing. To also disable color optimization, separately select--color-mode no_optimize.- Obtain the actual path from CLI
files[].pathor MCPimages[].local_path/file_uri. Use the returned filenames and number of files. - A client that does not display an MCP image has not necessarily failed to capture it. Open the local file and check the client's image support and file permissions. Set
CZUR_OPEN_MCP_IMAGE_DIRto choose an output directory, then restart the server. - For save failures, check disk space and directory write permissions. Do not treat Runtime temporary paths as accessible result files.
OCR returns no text, or document export fails
Empty text can be a valid result for a blank page. Open the original image first, check clarity and orientation, and use the actual local image path.
Text extraction produces plain text by default; use ocr extract-text ... --json for structured data. Use ocr recognize to export a document. Changing an image's format alone does not create an OCR text layer.
For service, authorization, or format errors, check the settings indicated by the message. Whether processing uses a network service depends on your deployment; setting an API Key does not automatically provide local OCR. An unsupported format is not automatically replaced with another. For multiple images, pass them in the desired page order.
An operation times out, or you want to stop a task
| Operation | CLI wait option | Meaning |
|---|---|---|
| Scan | --capture-timeout <ms> | Wait for capture completion; allow more time for complex processing |
| Standalone enhancement or OCR document export | --task-timeout <ms> | Wait for the whole long-running task; default 300000 ms (5 minutes) |
| One Runtime request | --timeout <ms> | Not the total long-task wait time |
CLI submits, waits for, and delivers a long-running task within one command. It does not provide a background handle you can query after the process exits. On timeout or Ctrl+C, cancellation is attempted where supported by the service; underlying processing may not stop immediately.
For MCP long-running tasks, retain the returned handle. Query with image.enhance_get / ocr.get and request cancellation with image.enhance_cancel / ocr.cancel. Check the status before deciding what to do next. Do not resubmit just because a request times out or a connection drops, as this may duplicate processing.
MCP reports an unknown session or task handle
A scan scan_id and a long-task handle belong to the MCP server instance that created them. Do not reuse old handles after a client/server restart or an authorization change. Cross-process task recovery is not supported.
Check any local files already delivered, then confirm Runtime and device state. For scanning, call device.list and scan.start again. If a long task's completion cannot be confirmed, establish its processing state before resubmitting it.
Do not overlap standalone OCR or enhancement with a scan session: call scan.finish first, then submit OCR or enhancement. Wait for the previous long-running task to end before starting another scan or task.
An automation script receives non-JSON output
Pass --json to commands that support it and parse only stdout. Diagnostics go to stderr; collect that stream separately. ocr extract-text defaults to plain text, so add --json when you need structured text blocks.
MCP stdio stdout carries protocol messages. Do not mix terminal startup banners or debug output into that stream. Use the client's MCP logs to inspect startup errors.
What to include in a support request
Provide the following after removing private data and credentials:
- Output from
czur-open versionand the version shown in the Runtime interface. - Operating system, processor architecture, Node.js version, and AI client name and version if relevant.
- Reviewed and redacted
czur-open doctor --jsonoutput, the command used, and the error message. - Reproduction steps without sensitive information. Only provide a sample image if necessary and approved.
Never include API Keys, access tokens, account authorization files, or unredacted client configuration. Return to Installation and authorization or Your first AI agent to review the relevant steps.