mcp
v1.1.11Clean, repair, and convert AI-generated Markdown to HTML/PDF/DOCX/PNG; save and share documents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tidy_markdown Tidy & convert Markdown
Clean and repair messy AI-generated Markdown and render it to HTML, plain text, PDF, DOCX, or PNG. Choose a design system (minimal-clean, executive-report, developer-docs) and optional page geometry. Costs 1 credit per successful render (auto-refunded on failure); returns the cleanup fixes applied and the remaining balance.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The Markdown to clean and convert. |
designSystem | string | Visual theme. Defaults to minimal-clean. |
format | string | Output format. Defaults to "text" (cleaned Markdown, inline). html/text return inline; pdf/docx/png return a file or resource. |
page | object | Optional page geometry + font scale (render-only; no credit cost). |
savePath | string | (stdio only) write binary output (pdf/docx/png) to this local path and return it. |
tidy | object | Tidy pipeline toggles. Both default to true. |
check_usage Check credit usage
Return the caller's credit balance and recent API calls. Free — call it before a batch of conversions.
get_entitlement Get plan entitlement
Return the caller's plan and workspace gates (can_save / can_share). Free.
list_projects List projects
List the caller's projects. scope: mine | shared | archived (default mine). Free.
| Parameter | Type | Description |
|---|---|---|
scope | string | Which projects to list. Defaults to mine. |
get_project Get a project
Return a project together with its folders and files. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | Project id. |
includeArchived | boolean | Include archived files. Default false. |
get_file Read a file
Return a saved file's Markdown content plus its version/ETag. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id. |
create_project Create a project
Create a workspace project (a container for files). Free.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name. |
description | string |
create_folder Create a folder
Find-or-create a folder inside a project (idempotent — re-calling with the same name returns the existing folder, never a duplicate). Optionally nest it under a parent folder. Returns the folder id — pass it as folder_id to save_file / update_file. Free.
| Parameter | Type | Description |
|---|---|---|
name * | string | Folder name. |
project_id * | string | Project the folder belongs to. |
parent_folder_id | string | Optional parent folder for nesting; omit for the project root. |
update_folder Rename a folder
Rename an existing folder. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | Folder id. |
name * | string | New folder name. |
delete_folder Delete a folder
Delete a folder. Returns 409 if it still holds active files (move or archive them first); archived files fall back to the project root. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | Folder id. |
save_document Save a document (upsert)
Fast path — save Markdown in one step. Finds or creates the target project (default "Drafts") and creates the file, or updates it if a same-named document already exists. 1 credit on create, 0 on update. Returns the file id, project, and a link. Use this to start fast; use the granular tools for structured workspaces.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown body to save. |
idempotencyKey | string | |
name | string | Document name. Defaults to the first H1, else "Untitled". |
project | string | Project id, or a name to find-or-create. Defaults to "Drafts". |
save_file Create a file
First-save a Markdown file into a known project (idempotent via an idempotency key). 1 credit.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown body. |
name * | string | |
project_id * | string | Target project id. |
folder_id | string | |
idempotencyKey | string |
update_file Update a file
Autosave, rename, or move a file. Content writes use If-Match for safe concurrent edits. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
archived | boolean | |
content | string | |
folder_id | ||
ifMatch | string | ETag/version for safe content writes (required when changing content). |
name | string |