Skip to main content

Crate anymd

Crate anymd 

Source

Modules§

cite_check
Bounded inspect cite-check orchestration over the existing text/OCR owners.
cli
Command-line mode: anymd <file|url|dir>... prints Markdown to stdout, anymd search <query> [paths...] prints hits. With no arguments and a piped stdin the binary runs the MCP server instead (see main.rs).
discover_compat
MCP server/discover (SEP-2575) compatibility for dual-era clients.
document
One entry point for every input anymd reads: a local path or an http(s) URL becomes an Opened document whose citable units (pages, slides, sheets, chapters) convert to Markdown on demand.
evidence
http_transport
Streamable HTTP Web MCP transport for anymd (rmcp).
lean
Default agent-facing output: clean Markdown with page markers, a tiny front-matter header, and a token budget with a continuation cursor.
ocr_vlm
Explicit model setup and bounded local doc-VLM worker.
outline
Deterministic navigation over the same Markdown units used by read and search.
pdf_compare
pdf_evidence
pro
anymd Pro licence: an offline-verified Ed25519 token that unlocks only new operations (video evidence, cite-check). The core stays MIT and free; no existing operation calls require_pro.
read_pdf
schema
Typed MCP tool argument schemas (schemars -> tools/list inputSchema).
search
setup
anymd setup: register anymd with the MCP clients on this machine. mcp-kit does the client detection and config editing.
source_access
tool_routes
Shipped routing table — pure Rust only.
video_evidence
Video evidence orchestration over already-admitted media. The shared request owner supplies source identity, one deadline, budget, OCR permit and the existing local-command caption/cache adapter. No parallel provider or cache.
video_request
Public video integration: admission precedes cache/worker work. Reuses the existing supervised self-worker, OCR permit, local caption adapter and image store.

Structs§

PdfReaderMcp

Constants§

LEGACY_TOOL_NAMES
Legacy tool names that stay callable (unlisted) for one major version.
RELEASE_DOWNLOAD_BASE
GitHub release assets, <base>/v<version>/<asset>: the VLM OCR companion and its checksum manifest.
SERVER_INFO_META_KEY
SERVER_INSTRUCTIONS
SERVER_NAME
SERVER_VERSION
The product version: the workspace version, set with bun scripts/set-version.ts.