read_document
Retrieve markdown documents from mdshare for AI workflows. Specify an output path for large files to save content directly to disk with faster performance.
Instructions
Read a markdown document from mdshare. Returns the content. If the document was uploaded via this MCP server, 'key' is optional — the admin key will be loaded from local storage. PREFER output_path over inline reading for large documents — writes directly to disk and returns a small summary, dramatically faster than echoing content through the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID | |
| key | No | Access key (admin, edit, comment, or view). Optional if the document is in this MCP server's local store. | |
| output_path | No | Optional. Absolute local file path to write the document content to. PREFERRED for documents larger than ~10KB — bypasses inline content transmission. When provided, the response is a small summary (saved_to, bytes) instead of the full content. |