omni-reader-mcp
v1.9.0Local stdio MCP bridge for direct Omni document parsing
Omni Bridge is the unified local stdio facade for agents. The user provides only the source; Bridge handles an HTTPS URL or a local file inside an authorized directory through the same parse(source) call — no "local/remote", "upload/URL", or internal service choice. Tell the agent the source and the follow-up task: Install Bridge as the default: it handles a URL and a local file through the same call, so neither the agent nor the user has to reason about which kind of source it is.
Summary extracted from the README.
@cueai/omni-reader-mcp
Omni Bridge is the unified local stdio facade for agents. The user provides only the
source; Bridge handles an HTTPS URL or a local file inside an authorized directory
through the same parse(source) call — no "local/remote", "upload/URL", or internal
service choice.
User journey
Tell the agent the source and the follow-up task:
Parse ./report.pdf with Omni
Parse https://example.com/report.pdf with Omni
Parse ./report.pdf with Omni and summarize the revenue changes
Install Bridge as the default: it handles a URL and a local file through the same call, so neither the agent nor the user has to reason about which kind of source it is. The only exception is a deployment that will genuinely never need local files — that case is covered by a remote-only MCP connection instead, with nothing to install. Otherwise, before installing Bridge the agent should first explain the minimal directory authorization and data handling and obtain confirmation, then install a pinned Bridge version. After parsing completes, the agent continues the original task — summarization, Q&A, field extraction — rather than stopping at "parse done".
Requirements
- Node.js 20.12 or newer.
- Cue API Key: https://cuecue.cn/hub/api-key.
- New accounts can try Omni without paying; see Free credits below. The
server-side onboarding policy and the
doctoroutput are the live authority for current allowances. - Configure
CUE_API_KEYin the agent's secret store or local environment. Never paste the API Key into a conversation.
Bridge reads only these product configuration variables at runtime:
CUE_API_KEYOMNI_ALLOWED_ROOTSOMNI_CACHE_DIROMNI_FOREGROUND_BUDGET_MSOMNI_STATUS_WAIT_MSOMNI_INLINE_RESULT_MAX_BYTESOMNI_CAPABILITIES_ENABLED,OMNI_CAPABILITIES_TTL_SECONDS
OMNI_ALLOWED_ROOTS is only for additional absolute directories the user explicitly
authorizes; colon-separated on macOS/Linux, semicolon-separated on Windows. The current
agent workspace remains the default allowed scope. An entry that no longer exists on
disk (for example a previous per-session workspace) is skipped: it never fails every
parse, and dropping it can only narrow, never widen, what is reachable.
Tunable budgets
The fixed 15-second foreground budget and 20-second status long-poll exist because a host's tool timeout is unknown. A deployment that knows its client tolerates longer waits can raise both ceilings — for example a 36 MB annual report that previously needed four status calls can finish inside one raised wait:
export OMNI_FOREGROUND_BUDGET_MS=60000 # 5s–120s, default 15s
export OMNI_STATUS_WAIT_MS=120000 # 1s–120s, default 20s
OMNI_INLINE_RESULT_MAX_BYTES (1 KiB–64 KiB, default 64 KiB) lowers the inline
threshold so more results are delivered as artifacts with cursors — useful when the
hosting agent always reads inline text into its context and token cost matters:
export OMNI_INLINE_RESULT_MAX_BYTES=8192
Every value is clamped into its documented range; a malformed value keeps the default.
How parsing works
For a local file, Bridge requests a Cube parse grant and uses the returned controlled
granted-data-plane URL to upload the file and stream the result. A BRIDGE_UPGRADE_REQUIRED
error means the service does not accept the running Bridge release for direct local-file
parsing. Install the latest published @cueai/omni-reader-mcp release using the official
setup instructions, then retry once. If you are already running the latest published release,
do not reinstall or retry; run doctor --json and ask the service operator to verify Bridge
admission.
Billing and free credits
The server-side onboarding policy
is the authority for the current first-registration gift and daily grant. When reachable,
doctor reports those live policy values; when unavailable, it reports that status instead
of copying a stale number.
A terminal URL or local-file result may carry the operation-local settlement snapshot:
{
"billing": {
"credits_charged": 0.134,
"credits_remaining": 42.866
}
}
The numbers above illustrate the response shape, not a price quote. The settled result is authoritative.
credits_charged is the amount deducted for that operation and
credits_remaining is the balance in the same immutable settlement snapshot. Bridge never
replaces it with a later balance lookup. Processing results have no billing block. New direct
canceled, failed, unsupported, or denied terminals are uncharged and carry no billing block.
Navigation and status calls preserve the same settled facts without creating another usage or
settlement identity.
Bridge does not publish static document-page or media-duration conversions. Rates can change,
and there is no public rate response carrying an effective_at timestamp. Use only current
authoritative billing/policy facts rather than estimating a charge from copied arithmetic.
Installation and configuration
Always use an audited exact version, never an implicit latest:
npx -y @cueai/omni-reader-mcp@1.9.0 setup
The interactive setup supports Hermes, Cursor, Claude Desktop, WorkBuddy, and generic stdio configuration. Non-interactive installation uses the same argument parsing and write logic:
npx -y @cueai/omni-reader-mcp@1.9.0 setup --client hermes --allowed-root /absolute/minimum/root --yes --json
npx -y @cueai/omni-reader-mcp@1.9.0 setup --client cursor --add-root /absolute/minimum/root --yes --json
npx -y @cueai/omni-reader-mcp@1.9.0 setup --client claude-desktop --allowed-root /absolute/minimum/root --yes --json
When an agent or script runs under a pty (stdin is still a TTY), declare non-interactive
mode explicitly with --headless (alias --non-interactive): no --yes is required and
stdin is never read:
npx -y @cueai/omni-reader-mcp@1.9.0 setup --client cursor --allowed-root /absolute/minimum/root --headless --json
Windows configuration
On Windows, npx on the command line is actually npx.cmd — a batch-file wrapper, not
an executable. An MCP client that launches the server with a bare npx command and no
shell therefore fails immediately with MCP error -32000: Connection closed before the
server even starts. This is a launcher-shape problem, not an Omni problem: the same
entry works unchanged on macOS and Linux.
If the agent reports Connection closed right after connecting on Windows, use one of
the runnable forms below. From 1.5.2 on, setup writes the first form automatically on
Windows and migrates an entry that 1.5.1's setup wrote (the bare npx shape) to it
automatically; the second is the most robust when you configure by hand.
cmd+npx(whatsetupwrites on Windows) —cmd.exeis a real executable, so a client's no-shell spawn works:{ "command": "cmd", "args": ["/d", "/c", "npx", "-y", "@cueai/omni-reader-mcp@1.9.0"] }node+ the package entry (most robust) — skipsnpxentirely; the absolute path must be a stable install you control:
A deliberate local{ "command": "node", "args": ["C:\\path\\to\\node_modules\\@cueai\\omni-reader-mcp\\dist\\index.js"] }npm install @cueai/omni-reader-mcp@1.9.0gives you that stable path. Do not point the entry at an_npxcache directory — its hash subdirectory changes between installs.- Never use a session/timestamp directory — such paths are cleaned up, and the
connection silently breaks at the next session. Re-run
setupor install into a stable directory instead.
WorkBuddy configuration
WorkBuddy bundles its own node runtime under version-named directories
(~/.workbuddy/binaries/node/versions/<version>), and a platform upgrade renames
those directories. A hand-written entry that pins node.exe by versioned path
therefore silently dies on the next upgrade — the MCP tools simply disappear. Setup
writes an upgrade-resilient shape instead:
npx -y @cueai/omni-reader-mcp@1.9.0 setup --client workbuddy --allowed-root "C:\\Users\\you\\WorkBuddy" --yes --json
setup --client workbuddy (Windows):
- verifies the stable local install at
~/.workbuddy/omni-reader/node_modules/@cueai/omni-reader-mcp(runnpm install --prefix "C:\\Users\\you\\.workbuddy\\omni-reader" @cueai/omni-reader-mcp@1.9.0first if it is missing); - writes
~/.workbuddy/omni-reader/omni-reader-bridge.cmd, a launcher that resolves the WorkBuddy-managed node at start (viaversions\current, falling back to the newest version directory) and runs the stable local install — upgrades that rename node directories cannot sever the entry; - replaces the
omni_readerentry in~/.workbuddy/mcp.jsonwith{ "type": "stdio", "command": "cmd", "args": ["/d", "/c", "<launcher>"], "env": … }; - carries an existing user-managed
CUE_API_KEYover unchanged — setup itself never writes a literal key (WorkBuddy's config has no environment-reference mechanism); - recognizes and migrates the hand-written pinned-
node.exeentry shape.
WorkBuddy creates a fresh per-session workspace directory for every conversation, so a
static allowed-roots list goes stale immediately; authorize the umbrella directory that
contains the session workspaces (for example C:\\Users\\you\\WorkBuddy) instead of
individual session directories. After setup, reconnect the MCP server
(panel → MCP → omni_reader → reconnect); environment changes need a full app restart.
Cache and journal isolation
The local parse cache and operation journal default to the user-level cache directory
(macOS ~/Library/Caches/cue/omni-reader-mcp, Windows
%LOCALAPPDATA%\Cue\omni-reader-mcp\Cache, Linux ~/.cache/cue/omni-reader-mcp). If the
agent's file watcher (e.g. WorkBuddy) locks files under that directory and writes fail,
set OMNI_CACHE_DIR to isolate cache and journal together into a directory that is not
watched:
export OMNI_CACHE_DIR=/var/cache/omni-reader
An explicit OMNI_CACHE_DIR is never rewritten to a temporary directory by the
project-overlap check; mutual containment with a project directory remains forbidden.
setup will:
- show the user-scope configuration target and changes;
- write a single, exact-version
omni-readerfacade; - use a private lock, trusted backup, and atomic replacement;
- verify the Cue API Key, Cube control reachability, and client configuration (setup does not claim to verify the granted data plane or the ability to parse — only a real local-file parse proves that);
- restore the previous configuration when verification fails;
- prompt the corresponding agent to reconnect the MCP server — most clients only
need a reconnect, not a full restart (e.g. Claude Code / WorkBuddy:
/mcp→ selectomni-reader→ reconnect).
Configuration never writes the API Key in plaintext. Hermes uses native separate
command, args, and safe environment variable references.
Agent calling rules
parse is the only first-call entry for both HTTP(S) URLs and local paths. Agents choose continuation tools automatically from the structured result instead of presenting a tool menu to the user.
Agents pass the user-provided source string directly to parse(source):
- Only HTTP(S) is treated as a URL; a plain string is treated as a local path.
- Do not read, attach, base64-encode, or insert the file content into the conversation before calling Omni.
- Do not use
file://, localhost, or public temporary upload sites as a fallback. - Confirm before installing Bridge or widening the allowed roots.
- Prefer the existing
operation_idfor status recovery; never re-upload or duplicate a parse for a timeout.
Use the result contract in this order:
Answer directly → use inline text when present; otherwise read_result
Find one section → read_outline, then pass its cursor to read_result
Read all content → read_result until next_cursor is absent
Deliver a file → save_result
Outline navigation does not require save_result: call read_outline, then pass a selected
node cursor directly to read_result. result_delivery="artifact" is appropriate for saving, section navigation, multiple documents, or strict context control; omitted or auto preserves
inline delivery when possible. For multiple sources, use bounded concurrent independent parse calls and keep each operation/result handle separate. There is no batch_parse tool,
and Bridge does not invent one universal concurrency number before client evidence exists.
Client capabilities are classified exactly as supported | unsupported | unknown; they are
discovered from the actual initialize exchange, client documentation/settings, a local
non-billable harness, or explicit redacted config facts—not guessed from another MCP host.
Safe fallbacks are:
- Tasks unknown → ordinary
parse/get_parse_statuspolling. - Roots unknown → process cwd and explicitly configured roots only.
- Host timeout unknown → retain the bounded 20-second status wait.
- Process cwd versus active workspace unknown → do not widen authorization; use cwd and explicit roots until the client provides evidence.
The physical protocol surfaces stay fixed even though the user sees one Omni Reader:
- The remote-only connector advertises
parse,get_parse_status, andcancel_parse. - Bridge advertises those same three plus the local-artifact continuation tools
read_result,read_outline,discard_result, andsave_result.
parse remains the sole first call. The other six Bridge tools are continuation and
lifecycle primitives selected from structured operation/result state; they are not modes
for the user to choose.
Every tool returns structuredContent with a strict outputSchema, plus an equivalent
fallback for clients that only read legacy MCP content[].text:
- when
parsecompletes and the result is inlineable, text returns the full Markdown directly; - for processing, artifact, cleanup, cancel, expired, and failure states, text returns
compact JSON equivalent to the
structuredContentfields; - the
read_resulttext JSON contains the currentresult.textand an optionalnext_cursor; clients must exhaust all cursors before concatenating the body; read_outline(result_id)returns the result's heading tree (from Markdown ATX headings or, for a PDF source, its font-size-calibrated heading structure) without returning the full body to the caller;read_outline(result_id, node_id)mints aread_result-compatible cursor anchored at that heading, so a long result can be jumped into directly instead of only advancing sequentially throughnext_cursor. An empty or absent outline is reported explicitly, never silently — it never blocks reading the result itself withread_result;- Text output remains Markdown and may contain headings, lists, GFM tables, and raw HTML tables. It omits grounding/layout sidecars, not all textual structure. An empty outline means no recognized headings; it does not mean the text has no structure;
- the
discard_resulttext JSON explicitly returnsdiscarded; never claim deletion on call success alone; - the
save_resulttext JSON contains the written filepathandbytescount; there is no path argument — the file is always named fromresult_idinside the Bridge cache's export directory, so it cannot be pointed at an arbitrary location; calling it again for the same result overwrites the same file.
This gives clients that do not render structuredContent the operation/result handles
and the full body without changing the contract for structured-capable clients.
Foreground, background, and progress
The foreground budget of every parse is fixed at 15 seconds:
- completes within 15 seconds: the full result is returned directly;
- exceeds 15 seconds: a recoverable processing operation is returned;
- when the client explicitly requests it and supports MCP Tasks, Bridge uses a task;
- other clients use bounded polling of
get_parse_status; proactive notifications that the client does not support are not promised.
processing/task status contains only the operation, stage, percentage, and an optional
authoritative unit progress. Available units are only page, sheet, slide, frame,
segment. Status never contains the result body, previews, Markdown, page images, crop
images, or accumulated partial output.
Data handling and retention
Both URL and local files enter the Omni secure parse environment. URL operations are
always no-store by API contract. For local files the default parse allows the parsing
service to retain the parse result (content-hash keyed, per pod, TTL-bounded) so an
identical re-parse is served from cache and billed the cache-hit rate; pass
no_store: true to forbid every cache read and write for that parse. In both cases:
- the original local file on the user's machine stays unchanged; URL sources are never modified or deleted;
- processing copies and temporary data created by Omni are actively cleaned after completion;
- encrypted delivery data is deleted after ACK; without a confirmed ACK, at the latest when the 10-minute delivery window expires;
completedis returned only after the remote ACK and cleanup are confirmed;cleanup_pendingis returned when the local result is retained but remote cleanup is still uncertain — never claim deletion prematurely;- results over 64 KiB may be kept in the user's private Bridge cache for up to 24 hours; this is a different class of data from the remote 10-minute delivery window;
read_resultreads local results in chunks;discard_resultdeletes a specific result immediately;cleanremoves Bridge-created local artifacts and expired records;save_resultwrites a result's complete content to a stable file under the Bridge cache's export directory and returns its path; exports are independent of the 24-hour cache sweep, so discarding the cached artifact or letting retention expire does not remove an export the user asked to keep.
Status queries, result reads, and discards never create a new parse or usage event.
cancel_parse reports only the real settlement state confirmed by the server and never
causes a second billing by itself.
Constraint errors
Bridge validates the local source before grant, upload, and billing:
SOURCE_TOO_LARGE: exceeds the current 256 MiB cap, with machine-readableconstraints.max_bytes.UNSUPPORTED_MEDIA_TYPE: unsupported media type, with the current authoritativesupported_extensions.
Do not upload the source to a public site to work around a constraint. Splitting or transcoding the source yourself (with your own tools, outside Bridge) is fine, but only after explicitly telling the user what you intend to do to it and getting their confirmation — never do this silently. Otherwise, ask the user for a new source that satisfies the constraints.
Changes in 1.9.0
Owner decision 2026-10-28: no-store becomes a caller choice instead of a hardcode.
parsegains an optionalno_storeargument (boolean, defaultfalse). The default lets the parsing service retain the parse result - keyed by content hash, per parsing pod, TTL-bounded (production: 7 days) - so an identical re-parse is served from cache and billed at the cache-hit rate (currently 30% of the full rate) instead of re-parsing at full price. The original source file is still only read, never retained remotely.no_store: truerestores the previous cache guarantee for that parse: the content cache is neither read nor written, no parse result is retained, and every parse re-runs at full price. (The transient encrypted delivery window described under Data handling and retention is unchanged.) Choose it only when the user explicitly asks for it.- Completed local results disclose the choice in
data_handling.parse_result_cache("enabled"/"disabled"); recovered results omit the field. - The URL lane is unchanged: URL operations remain no-store by API contract.
Changes in 1.8.9
The local Bridge gains automatic structured billing details for remote URL parses,
matching what local direct-upload results already carry. After a completed remote
result with settled credits, Bridge reads the server's get_billing_details tool once
(bounded, optional) and presents the closed seven-counter billing.units measurement
next to the immutable credit facts; the measurement is durably journaled with the same
monotonic rules as the direct-upload lane, and survives restart. Absence never fails a
parse: an older server without the tool, a timeout, or a malformed details response
keeps the completed content and credits exactly as returned, and no units are ever
invented. The tool itself is read-only and never billed.
Changes in 1.8.7
- For local-file direct billing profiles only (not the remote MCP URL lane),
optional operation-local
billing.unitsexposes seven completed counters and, when present,audio_ms_completed/video_ms_completed. Every counter is a nonnegative safe integer; zero values are preserved. These are settled usage facts, not a pricing table or a later account-balance lookup. - After verifying local retention, Bridge reads
omni.billing_details.v1using the same operation token (status:read), with a two-second timeout and a bounded response. Protocol, operation ID, the exact two-credit settlement snapshot, and the closed units object must all validate. Old-server 404, malformed, mismatched, and unavailable details leave a successful parse intact without inventing units. - Validated units are durably bound before acknowledgement and survive disk restart/status recovery. Missing later details preserve them; conflicting persisted units or credits fail closed without replacement.
- Local result successor semantics are documented under
contracts/omni-local-bridge/v6/. Frozen stream/status v3 billing remains exactly two credit keys; capability/grant admission still negotiates v5, and the journal envelope remains v5 with additive optional units. Frozen local-v5 contract bytes and checksums are unchanged.
Changes in 1.8.6
Hygiene release; no tool-shape or wire-protocol changes.
- Journal record GC: long-lived installs accumulated a v5 record per parse, and
every operation lookup scans the whole directory. Terminal records are now deleted
once their LOCAL retained result is provably unrecoverable — decided by the
ArtifactStore's own 24h manifest expiry (never the remote 10-minute delivery
window), keeping any record whose local copy is retained, unproven, or
structurally untrustworthy. Runs fire-and-forget at server startup and counts
into
clean. - save_result atomic export: the export file is now written to staging and renamed into place. Windows cannot atomically overwrite, so a failed re-export keeps the previous export intact and surfaces the error instead of deleting the only committed copy; crash-leftover staging files are swept after an hour.
Changes in 1.8.5
Additive release from the 2026-10-06 WorkBuddy dogfood session; no published error code was renamed and no tool shape changed.
- New error code
KEY_DELIVERY_FAILED: a key arriving as an unexpanded placeholder, quoted text, or with stray whitespace fails before any network call, instead of surfacing asINVALID_CUE_API_KEY. - New error code
GRANT_SIZE_LIMIT_EXCEEDED: the service rejected the source's size at grant time (HTTP 413) — distinct from the 256 MiB Bridge preflight. - Deployment-tunable, clamped budgets:
OMNI_FOREGROUND_BUDGET_MS(5s–120s),OMNI_STATUS_WAIT_MS(1s–120s),OMNI_INLINE_RESULT_MAX_BYTES(1KiB–64KiB). setup --client workbuddy: first-class WorkBuddy target — an upgrade-resilient launcher entry, migration of hand-written pinned-node entries, carry-over of the user-managed key, and install-version verification.doctor --jsongainsclient_adapters.workbuddyand a real-processstdio_probefield (newline-delimitedinitializehandshake).- Unavailable
OMNI_ALLOWED_ROOTSentries are skipped instead of failing every parse withINVALID_ALLOWED_ROOT. INVALID_GRANT_REQUESTnames every failing metadata field and its expected shape.
Commands
npx -y @cueai/omni-reader-mcp@1.9.0 doctor
npx -y @cueai/omni-reader-mcp@1.9.0 doctor --json
npx -y @cueai/omni-reader-mcp@1.9.0 clean
npx -y @cueai/omni-reader-mcp@1.9.0 uninstall --yes --json
Running the pinned version without a command starts the stdio MCP server:
npx -y @cueai/omni-reader-mcp@1.9.0
Default doctor --json reports inspection_scope: "current_process_env": its Key and
allowed-root facts describe the doctor process, not a separately running agent child. To
inspect one caller-selected JSON entry without scanning or writing configuration, use:
npx -y @cueai/omni-reader-mcp@1.9.0 doctor --json --config-path /absolute/client-config.json --server-name omni-reader
The optional explicit_config block reports only closed redacted facts: entry/transport
shape, command basename/category, exact package version when derivable, Key configuration
shape, and allowed-root count/safety. It never resolves or prints a Key, uses a configured
Key for a network call, prints the config path, scans unrelated entries, or claims that the
running child process can use the selected entry.
doctor --json also returns package/npm/client adapter, authenticated Cube
control/configuration facts, artifacts, cache mode, onboarding, and reload status. The
endpoints.direct_upload field is a fact about the release, not a probe: the granted data
plane is reached only through a Cube grant and is never
definitively "available" until a real local-file parse validates the route.
Network diagnostics
Run npx -y @cueai/omni-reader-mcp@1.9.0 doctor --json first. Diagnose failures by
stage instead of guessing an endpoint:
| Failure | Stage | Meaning |
|---|---|---|
CUBE_UNAVAILABLE |
before upload | the control plane could not create a parse grant |
DIRECT_UPLOAD_UNAVAILABLE |
before upload | the service's direct-upload route is unavailable; this is not an account restriction, and HTTP 403 is the account-entitlement signal |
DETAIL_CAPABILITIES_UNAVAILABLE |
before grant | this service does not currently advertise grounded/layout parsing; use text only when Markdown without grounding/layout sidecars is acceptable |
UNSUPPORTED_DETAIL |
before upload | the requested parsing representation/profile is unavailable; do not retry unchanged or describe the account as text-only |
PRINCIPAL_CONCURRENCY_LIMIT |
before upload | the principal already has the maximum active parses; wait for retry_after, then retry the same parse |
The concurrency cap is a per-account service fact, so no fixed number is documented
here: the limit value and its retry_after seconds belong to the service's error
response, and Bridge surfaces retry_after whenever the service sends it. Retry the
SAME parse (same operation identity) after the indicated wait — the 2026-10-06
workbuddy battery measured graceful rejection plus full recovery on immediate retry.
| BRIDGE_UPGRADE_REQUIRED | before upload | install the latest published @cueai/omni-reader-mcp release, then retry once; if already running latest, do not reinstall or retry—run doctor --json and ask the service operator to verify Bridge admission |
| a secure upload-stage failure | after grant creation | the file was granted, but the secure upload stage did not complete |
| CUBE_PROTOCOL_ERROR | control-plane response | the response did not match the required contract |
| KEY_DELIVERY_FAILED | before any network call | the configured key arrived as an unexpanded placeholder, quoted text, or with stray whitespace — a client delivery problem, not an invalid key; fix the client config entry and reconnect before rotating the key |
| GRANT_SIZE_LIMIT_EXCEEDED | before upload | the service rejected the source's size at grant time (HTTP 413) — a service-side limit, not the documented 256 MiB Bridge preflight; compress or split the source |
| MCP error -32000: Connection closed | before Bridge starts | the client launcher shape is invalid; see Windows configuration |
Two notes on diagnosing the stdio path itself:
- MCP stdio framing is newline-delimited JSON-RPC. An LSP-style
Content-Length: N\r\n\r\n{...}frame is never parsed by the Bridge and looks exactly like a silent hang (zero stdout, zero stderr, clean exit on stdin EOF); it is not one. A 2026-10-06 hand-rolled probe mis-probed this way and reported a product bug that does not exist. doctor --jsontherefore runs a real-processstdio_probefield: it spawns this package's own entry, performs a newline-delimitedinitializehandshake, and reportsresponsive/timeout/spawn_failed. A genuine startup hang can no longer hide behind green configuration facts.
Use only the control-plane and configuration facts reported by doctor. Do not guess
or publish service hosts or ports, hard-code IP addresses, modify hosts files, or probe
an endpoint copied from logs. doctor does not probe the granted data plane: only a
real local-file parse proves it end-to-end. If an enterprise network policy blocks a
required connection, provide the redacted doctor --json result to support for the
applicable egress requirements.
If the secure parse environment is reachable but a specific public URL fails to parse
(parse_timeout / parse failed) while it works in a browser, that is a fetch-layer
condition of the source — not a Bridge configuration problem — and it affects the URL
the same way from every client.
Breaking change in 1.8.3: data-plane error codes renamed
This is a breaking change for any automation that branches on Bridge error codes.
The 1.8.3 release renamed the Bridge's data-plane error codes to carry the package's
public identity (OMNI_READER_*, and INSECURE_OMNI_READER_URL). The rename is a
hard cut: there is no alias, and no retired code is emitted by this or any later
release.
The retired codes were emitted under the retired backend's name — spelled as that
name (a retired internal acronym that this README deliberately no longer publishes)
followed by the same suffixes. Published releases up to and including 1.8.2 did emit
them, so automation that worked against 1.8.2 must be updated in the same upgrade.
The exact mapping, replacing RETIRED_ with that retired backend prefix:
| ≤ 1.8.2 (retired) | ≥ 1.8.3 (current) |
|---|---|
RETIRED_UNAVAILABLE |
OMNI_READER_UNAVAILABLE |
RETIRED_INVALID_RESPONSE |
OMNI_READER_INVALID_RESPONSE |
RETIRED_PARSE_FAILED |
OMNI_READER_PARSE_FAILED |
INSECURE_RETIRED_URL |
INSECURE_OMNI_READER_URL |
The retryable and user_action fields are unchanged per mapped code. Automation
must match the new names; the retired names are never re-emitted, even behind a flag.
Uninstall and rollback
uninstall --yes --json removes only a trusted 1.8.8 or 1.9.0 Bridge entry, plus
the exact broken bare-npx Windows entry written by 1.5.1. When a matching trusted
backup exists, it restores the original URL-only omni-reader entry. Uninstall never
deletes user source files and never silently removes unexpired local results.
To roll back from 1.9.0 to 1.8.8:
- stop recommending or installing 1.9.0;
- run
uninstall --yes --jsonto restore the trusted URL-only entry; - if the local facade is still required, run
npx -y @cueai/omni-reader-mcp@1.8.8 setup; - for already-uploaded operations, continue using status recovery so settlement and cleanup complete;
- keep local results, or have the user explicitly run
discard_result/clean.