Installation and configuration
Use this page with AI agents that can launch a local stdio MCP server. Prepare Node.js 20 or later and CZUR Open SDK Runtime on the computer connected to the device, then choose account login or API Key authorization.
Prepare Runtime and authorization
CLI can help with setup:
npm install -g @czur/open-cli@latest
czur-open runtime install
czur-open doctorSkip the download if Runtime is already installed. The command verifies and downloads an installer matching your system. Follow the instructions to install and start Runtime manually; the installer is not launched automatically.
For account authorization, run:
czur-open auth login
czur-open auth checkOpen the link shown in the terminal and complete browser authorization. CLI and MCP share authorization under the same operating-system user. Alternatively, obtain an API Key from the CZUR User Center and configure it in the server launch environment without account login. See Installation and authorization for details.
Generic JSON configuration
These examples use the common mcpServers format. Merge the czur-open entry into your existing configuration without replacing other servers. Follow your client's instructions for where to configure it. Codex uses TOML, and Claude Code also supports CLI setup; see their client pages.
Account login
{
"mcpServers": {
"czur-open": {
"command": "npx",
"args": ["-y", "@czur/open-mcp@latest"],
"env": {}
}
}
}API Key
{
"mcpServers": {
"czur-open": {
"command": "npx",
"args": ["-y", "@czur/open-mcp@latest"],
"env": {
"CZUR_OPEN_API_KEY": "REPLACE_WITH_YOUR_API_KEY"
}
}
}
}Replace the Key placeholder and protect the configuration file. Never put real Keys in AI conversations, tool arguments, or public repositories. A nonempty Key takes precedence over account login and does not fall back if invalid. Restart the server after changes.
Preinstallation and version pinning
The first npx launch may download the package from npm. To install it in advance:
npm install -g @czur/open-mcp@latestChange command to czur-open-mcp and args to []. To pin a version, use your chosen version number instead of @latest in the installation or npx package name. Restart the server after an update. Installing npm packages does not install Runtime or authorize an account.
For offline or private-network deployment, prepare software and an appropriate Key in advance, complete any required Runtime activation, and use local or approved private-network processing services and models. See offline deployment requirements.
Output directories and connection settings
Set variables in the client's server environment; desktop applications may not inherit terminal settings. Prefer absolute file paths and escape Windows backslashes in JSON.
| Environment variable | Purpose |
|---|---|
CZUR_OPEN_API_KEY | Select API Key authorization; unset to use account authorization |
CZUR_OPEN_MCP_IMAGE_DIR | Local output root for scans, image processing, enhancement, and OCR; defaults to the user's cache directory |
CZUR_OPEN_COMMAND_URL | Custom Runtime Command address using wss:; default wss://sdk-runtime.localhost:18090 |
CZUR_OPEN_VIDEO_URL | Optional Runtime Video address using wss: |
CZUR_OPEN_ASSET_URL | Optional Runtime asset service address using https: |
CZUR_OPEN_CA_FILE | Trusted CA file for custom TLS deployments |
CZUR_OPEN_TIMEOUT_MS | Single Runtime request timeout in positive integer milliseconds; not the total OCR or enhancement task duration |
Usually only authorization and the output directory need configuration. Keep other connection defaults unless your deployment requires changes. Do not disable TLS verification to bypass certificate errors or put an API Key in a URL.
Start and verify
Save the configuration and restart your AI agent. Confirm that the server and tools load. Ask the assistant to list devices before scanning. Startup and tool listing do not contact Runtime; protected calls check authorization and connect when needed.
The client manages MCP stdio; it is not an interactive terminal interface. No welcome screen when manually launched does not indicate failure. If a command cannot be found, check PATH or use its full executable path. See troubleshooting.
Next: Your first AI agent or Tools Reference.