Publish Markdown as a shareable web page, with document graphs
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Publish Markdown as a PostMD web page. No API key required — anyone can publish. Returns docCode and data.shareUrl; hand shareUrl to people. Documents have a 30-day retention period (data.retainedUntil) that extends on each read. Documents without a password can be updated or deleted by anyone; password-protected documents require the password or the owner's API key. With an API key the document belongs to that member; groupId files it into that group (key with documents:write). The returned docCode can be kept at the top of the source file in a `postmd:document` comment (format at /docs/api) so a later session finds the document.
Full Markdown document as one UTF-8 string (the entire source, not a summary). May include graph data in an HTML comment, which the viewer draws; the format is at /docs/graph.
Shown in the viewer and link previews. Defaults to fileName without .md.
File the document in this group instead of the default group (needs an API key).
Upload filename, must end in .md. Default document.md.
Readers must supply this password to see the content.
Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Publish Markdown as a PostMD web page. No API key required — anyone can publish. Returns docCode and data.shareUrl; hand shareUrl to people. Documents have a 30-day retention period (data.retainedUntil) that extends on each read. Documents without a password can be updated or deleted by anyone; password-protected documents require the password or the owner's API key. With an API key the document belongs to that member; groupId files it into that group (key with documents:write). The returned docCode can be kept at the top of the source file in a `postmd:document` comment (format at /docs/api) so a later session finds the document.
| Argument | Type | Description |
|---|---|---|
| title | string | Shown in the viewer and link previews. Defaults to fileName without .md. |
| groupId | number | File the document in this group instead of the default group (needs an API key). |
| fileName | string | Upload filename, must end in .md. Default document.md. |
| markdown* | string | Full Markdown document as one UTF-8 string (the entire source, not a summary). May include graph data in an HTML comment, which the viewer draws; the format is at /docs/graph. |
| password | string | Readers must supply this password to see the content. |
| viewerStyle | string | Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable. |
{
"type": "object",
"required": [
"markdown"
],
"properties": {
"title": {
"type": "string",
"description": "Shown in the viewer and link previews. Defaults to fileName without .md."
},
"groupId": {
"type": "number",
"description": "File the document in this group instead of the default group (needs an API key)."
},
"fileName": {
"type": "string",
"description": "Upload filename, must end in .md. Default document.md."
},
"markdown": {
"type": "string",
"description": "Full Markdown document as one UTF-8 string (the entire source, not a summary). May include graph data in an HTML comment, which the viewer draws; the format is at /docs/graph."
},
"password": {
"type": "string",
"description": "Readers must supply this password to see the content."
},
"viewerStyle": {
"type": "string",
"description": "Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable."
}
}
}Delete a document. Password-protected documents require the password or the owner's API key; documents without a password can be deleted by anyone.
| Argument | Type | Description |
|---|---|---|
| docCode* | string | |
| password | string | Document password if the document has one and you are not authenticated as its owner. |
{
"type": "object",
"required": [
"docCode"
],
"properties": {
"docCode": {
"type": "string"
},
"password": {
"type": "string",
"description": "Document password if the document has one and you are not authenticated as its owner."
}
}
}Get document metadata by docCode: title, fileName, hasPassword, viewerStyle, timestamps. Public — no API key needed. Content is not included; use postmd_get_document_raw for the Markdown source.
| Argument | Type | Description |
|---|---|---|
| docCode* | string | Document code, e.g. P-123-456-789. |
{
"type": "object",
"required": [
"docCode"
],
"properties": {
"docCode": {
"type": "string",
"description": "Document code, e.g. P-123-456-789."
}
}
}Get the stored Markdown source of a document. Public — no API key needed. Password-protected documents need `password`.
| Argument | Type | Description |
|---|---|---|
| docCode* | string | |
| password | string | Plain document password, if the document has one. |
{
"type": "object",
"required": [
"docCode"
],
"properties": {
"docCode": {
"type": "string"
},
"password": {
"type": "string",
"description": "Plain document password, if the document has one."
}
}
}Update a document. Password-protected documents require the password or the owner's API key; documents without a password can be updated by anyone. Include `markdown` to replace the stored content; any metadata field replaces that field. clearPassword removes the password. Replacing the content requires notesOnReplace.
| Argument | Type | Description |
|---|---|---|
| title | string | |
| docCode* | string | |
| fileName | string | Upload filename when replacing content. Default document.md. |
| markdown | string | Full new Markdown body as one UTF-8 string. Omit if only metadata changes. Adding or revising a graph means sending the whole body with the graph comment in it; the format is at /docs/graph. |
| password | string | Readers must supply this password to see the content. |
| viewerStyle | string | Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable. |
| clearPassword | boolean | true removes the password. |
| notesOnReplace |
| string |
| Required when replacing the content. Notes are located by the text they quote, so replacing the body moves or loses where they point: a note whose quote is gone loses its place in the body, and one whose quote now appears elsewhere points there. keep replaces anyway and leaves the notes. abort refuses when the document has notes anchored to its text, and the answer says how many. |
| currentPassword | string | Current password to authenticate if the document is password-protected. |
{
"type": "object",
"required": [
"docCode"
],
"properties": {
"title": {
"type": "string"
},
"docCode": {
"type": "string"
},
"fileName": {
"type": "string",
"description": "Upload filename when replacing content. Default document.md."
},
"markdown": {
"type": "string",
"description": "Full new Markdown body as one UTF-8 string. Omit if only metadata changes. Adding or revising a graph means sending the whole body with the graph comment in it; the format is at /docs/graph."
},
"password": {
"type": "string",
"description": "Readers must supply this password to see the content."
},
"viewerStyle": {
"type": "string",
"description": "Viewer theme: readable (default), github, minimal, report, pamphlet or dark. Unknown values fall back to readable."
},
"clearPassword": {
"type": "boolean",
"description": "true removes the password."
},
"notesOnReplace": {
"enum": [
"keep",
"abort"
],
"type": "string",
"description": "Required when replacing the content. Notes are located by the text they quote, so replacing the body moves or loses where they point: a note whose quote is gone loses its place in the body, and one whose quote now appears elsewhere points there. keep replaces anyway and leaves the notes. abort refuses when the document has notes anchored to its text, and the answer says how many."
},
"currentPassword": {
"type": "string",
"description": "Current password to authenticate if the document is password-protected."
}
}
}