Skip to content

Install and connect

For most people, Mdtero is connected by an Agent. You do not need to learn the CLI commands first.

Connect an Agent

  1. Open Mdtero Console and create a new API key.
  2. Choose your Agent and copy the short prompt.
  3. Paste that prompt into the Agent you trust. It will read this guide, install the supported Mdtero client, and confirm when it is ready.

The prompt contains a one-time-visible key. Treat it as a password: give it only to a trusted Agent, and do not paste it into a repository, terminal history, logs, or a second chat. Revoke the key in Console if you no longer trust that environment.

If you install it yourself

The supported alpha client is the Python mdtero package:

bash
uv tool install --upgrade mdtero
mdtero setup

If uv is unavailable, use the installer instead:

bash
curl -Ls https://mdtero.com/install.sh | sh

mdtero setup opens the secure sign-in flow. When working with a Console key, enter it only when the client asks securely; do not append it to a command. For the full command reference, see the API reference.

Choose your environment

EnvironmentRecommended path
Campus Windows/macOS with a browserCLI. The installer prepares the local access helper automatically; the browser extension is only a fallback for current-tab/session capture.
Server onlyCLI/API key. Use OA/API/HTTP routes or upload a file; there is no local browser entitlement.
Server plus a campus computerCLI on the server + Relay on the campus computer. This is the recommended path for browser-authorized closed or bot-protected papers.
Server plus campus VPNCLI/API key + VPN/proxy. This helps IP-authorized machine-readable sources but does not replace a browser session.

The third path keeps the Agent in the cloud while the user's own browser stays on the campus network. Relay sends only the requested, validated PDF or sanitized static article HTML to Mdtero; it never exports cookies, credentials, browser storage, or a general browser session. The Campus relay is managed by the CLI on supported desktop installs and remains optional on servers.

A server may also run a narrowly allowlisted headless worker for open-access publisher pages. That operator feature has no user cookies or institution login and is not a general FlareSolverr or closed-content path.

Browser extension and saved files

The CLI and its local access helper are the default path. Use the browser extension only when a paper is already open in your browser, or when a publisher depends on a browser session that the dedicated Mdtero Access profile cannot use. You can also upload a PDF, EPUB, HTML, or XML file that you are allowed to use.

Mdtero processes material you are permitted to access. It does not grant or bypass publisher subscriptions, institutional authorization, or paywalls.

Local access helper

On desktop installs, Mdtero prepares the local access helper automatically. When the computer is on a campus network, it can provide the campus HTTP outlet and, when enabled, a separate Mdtero Access browser for eligible publisher tasks. Server and headless installs skip the desktop browser component.

The helper is bound to your Mdtero account. Its local-browser mode can capture only approved article HTML or PDF for that same account; it never exports cookies, credentials, browser storage, or a general browser-proxy interface. You must complete any institutional sign-in or publisher challenge yourself, and the publisher must still authorize the content.

Advanced operating details are maintained with the component guide: Campus Relay guide.

Updating

Ask your Agent to update Mdtero using this guide, or rerun:

bash
uv tool upgrade mdtero

The public workflow stays stable: submit permitted material, wait for the task, download structured Markdown, and retain citations in research conclusions.