eCMRhub.docs

Overview

What eCMR Hub is, who uses it, and how a company and its agents work with it.

eCMR Hub is a platform for electronic consignment notes (e-CMR). A company uses it to prepare drafts, issue documents, send signing links, download PDFs and evidence, and check which eFTI data is still missing. It does that itself in the dashboard, or through its own agent: Claude, ChatGPT, Codex, a script or a transport management system (TMS).

Who uses Hub

WhoWhat they do in Hub
The company (carrier, forwarder, shipper)The only kind of Hub account. It owns its data: drafts, issued documents, signatures and eFTI data. People of the company sign in to the dashboard.
Its agents and programsConnect to the company account with the company's consent, through OAuth or an API key. They act within the permissions the company granted.
A person in the dashboardApproves what cannot be undone: issuing a document, sending a signing link, deleting. Sees every connection and can disconnect it.

There is no separate developer account and no app catalog. A program that serves many companies (a TMS, for example) gets a separate consent from each company through OAuth.

Three ways in, one catalog

Way inBest forPage
ecmrhub CLITerminals, coding agents, CI jobsCLI reference
Remote MCP serverChat assistants: Claude, ChatGPT and other MCP clientsMCP & connectors
HTTP APIYour own code and integrationsAPI reference

The CLI and the MCP server are built from the same operation catalog, so a command and a tool do the same thing with the same input. The full list is the operation catalog.

The rule an agent must know

Some operations need a person's approval: issuing a draft, creating or sending signing links, deleting, and a few more listed in the catalog. The agent asks, Hub answers 428 APPROVAL_REQUIRED with a link to the dashboard, a person approves the exact call, and the agent repeats the same call. An agent cannot approve anything itself, neither with a CLI flag nor through MCP. Details: Human approvals.

Words used in these docs

WordMeaning
DraftAn editable consignment note with a revision number. It may be incomplete.
DocumentAn issued consignment note. Issuing creates an immutable version; later events (signatures) are appended, nothing is overwritten.
Signing linkA link for one party (sender, carrier or consignee) to sign an issued document. Valid for 7 days.
EvidenceThe canonical record of a document: versions, events, signatures and their digests.
ConnectionAn agent or program connected to the company account: an OAuth client or an API key, with its permissions.
ApprovalA person's decision in the dashboard on one exact operation call. Valid 24 hours, used once.
OperationOne entry in the catalog, e.g. draft.publish. The CLI and MCP call operations by name.

What is ready and what is in build

Hub is being built in phases. These docs describe phase 1 and mark every part that is not released yet as In build.

PartState
Drafts, issuing, documents, PDFs, evidence, signing links (HTTP API, SDK)Available
Company API keys with permissionsAvailable
eFTI data checks (missing fields)Available
OAuth sign-in for agents and the CLI, connection list in the dashboardIn build
Human approvals with 428 APPROVAL_REQUIREDIn build
ecmrhub CLIIn build
Remote MCP server for Claude, ChatGPT and other clientsIn build
Hub dashboard (company, documents, keys, connections, approvals, log)In build
Hosted signing page and signing API inside HubLater phase
Sending eFTI data to an eFTI gateway or to authoritiesNot offered; see eFTI

Next

On this page