Skip to main content
Glama

Markovo CLI and MCP server

Markovo turns supported files and explicitly authorized public HTTPS pages into readable text, editable Word, or structured Markdown. For the dedicated web experience and product details, visit the PDF to Markdown Converter.

This public repository is the distribution source for the customer-side markovo CLI and the markovo-mcp stdio MCP server. It contains no local conversion engine, backend service, deployment configuration, production credentials, or billing implementation. Conversion runs through the account-metered service at https://markovo.net.

Install

pip install "markovo==0.1.2"

Or run it without a permanent installation:

uvx --from "markovo==0.1.2" markovo --help
uvx --from "markovo==0.1.2" markovo-mcp

Related MCP server: document-converter-mcp

Output formats

CLI 0.1.2+ accepts --download-format md, docx, or txt on file and URL conversions; the existing default is a verified Markdown ZIP bundle. Local stdio MCP uses the download_format argument. Hosted Remote MCP uses output_format. All formats reuse the same account and one conversion; downloading another format does not charge again. Files above 8MiB use bounded R2 upload parts instead of one full-file memory buffer. Image/document/audio limits are 25MiB on Free and 50MiB on Starter or Pro. Video limits are 200MiB/1h, 700MiB/2h and 2GiB/2h. Upgrade advice is returned only when a higher plan can accept the input; otherwise compress or split the file before retrying.

API key and Credits

  1. Create an API key in the Developer portal.

  2. Store it in your shell or MCP host secret store; do not paste it into prompts or commit it to source control.

  3. Verify the setup:

export MARKOVO_API_KEY="your-key"
markovo doctor --json

CLI and local stdio MCP use a 15-Credit convenience safety ceiling when their Credit limit is omitted. REST and direct client calls still require an explicit Credit ceiling. When a key is missing, the client points to the Developer portal. When Credits are insufficient, the service response points to the billing page so the account can be topped up before retrying.

MCP configuration

Connect the Streamable HTTP endpoint:

https://markovo.net/mcp

The MCP host discovers Markovo's OAuth 2.1 metadata, opens the Markovo account sign-in and consent screen, and stores its own scoped token. You do not create, paste, or share an API key for this remote connection. Remote tools can inspect capabilities, Credits, and owned jobs; convert one explicitly supplied public HTTPS page with a required max_credit_units ceiling; and create or revoke short-lived result-image links. Remote MCP cannot read local files. Use the stdio package below or REST multipart upload when a local file must be converted.

Markovo never tops up Credits or changes a plan automatically. A low balance response points to https://markovo.net/app#billing and waits for the account owner to act.

Local stdio MCP

{
  "mcpServers": {
    "markovo": {
      "command": "uvx",
      "args": ["--from", "markovo==0.1.2", "markovo-mcp"],
      "env": {
        "MARKOVO_API_KEY": "${MARKOVO_API_KEY}",
        "MARKOVO_MCP_ROOT": "/path/to/safe/project"
      }
    }
  }
}

MCP clients should inject MARKOVO_API_KEY through their secret or environment-variable settings. The key and service origin are never MCP tool arguments, so prompts cannot redirect the credential. The public client accepts only https://markovo.net and does not follow authenticated redirects.

The MCP server can read and write only within the required MARKOVO_MCP_ROOT. Set it to the smallest dedicated project directory your MCP host needs. If it is missing, the server refuses all file tools; parent-directory and symlink escapes are rejected.

export MARKOVO_MCP_ROOT="/path/to/safe/project"

Structured errors point to the Developer portal when a key is missing and to Billing when Credits are insufficient.

Security

Report security issues privately using the instructions in SECURITY.md. Do not include API keys, customer documents, or private conversion results in a public issue.

Available Tools

11 tools
markovo_asset_revokeCInspect

Revoke a temporary asset URL before it expires.

Inputs: job_id, grant_id.

markovo_asset_urlBInspect

Create a revocable 60-600 second bearer URL for one Bundle image.

Inputs: job_id, asset_path, expires_in_seconds.

markovo_billingBInspect

Return the secure billing URL.

Inputs: no named parameters.

markovo_bundle_verifyCInspect

Verify a downloaded Markovo bundle.

Inputs: bundle.

markovo_capabilitiesCInspect

Fetch the live capability registry.

Inputs: no named parameters.

markovo_convertCInspect

Convert a supported file through the account-metered Markovo API.

Inputs: out_dir (required), input_path (required), max_credits (required), mode, +3 more.

markovo_convert_urlBInspect

Convert one public HTTPS page after explicit consent to Markovo's isolated remote fetch.

Inputs: url (required), out_dir (required), max_credits (required), accept_remote_fetch (required), +3 more.

markovo_doctorBInspect

Check client, service, and API-key readiness.

Inputs: no named parameters.

markovo_job_assetsBInspect

List manifest-verified image assets for a completed job.

Inputs: job_id.

markovo_job_statusCInspect

Fetch a remote job.

Inputs: job_id.

markovo_usageBInspect

Fetch account Credit usage.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct action or resource within the conversion/asset lifecycle (file vs URL conversion, job status vs assets, asset URL creation vs revocation, usage/billing/capabilities/readiness). Overlaps are minimal and descriptions clearly differentiate the few related pairs.

    Naming Consistency4/5

    All tool names use the same markovo_ prefix and snake_case convention, making them predictable. A few names are noun-only (usage, billing, capabilities, doctor) rather than verb_noun, which is a minor deviation from a strict action pattern.

    Tool Count5/5

    Eleven tools is well-scoped for a conversion and asset-delivery service. Each tool appears to earn its place, covering submission, job inspection, asset access, verification, and account diagnostics without obvious redundancy.

    Completeness4/5

    The surface covers the core lifecycle: conversion, job status, asset listing, asset URL creation/revocation, bundle verification, and account/diagnostic checks. Minor gaps exist around job cancellation/listing or direct bundle download/cleanup, but agents can likely work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers