postmd-mcp-server
Publish Markdown as a shareable web page, with document graphs drawn beside the text
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"postmd-mcp-server": {
"command": "npx",
"args": [
"postmd-mcp-server"
]
}
}
}Ausführbare Pakete
2.5.0stdioRemote-Endpunkte
https://postmd.turink.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (5)
🟡postmd_create_document(markdown, title, fileName, password, viewerStyle, ...)
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).
Eingabe-Schema
{
"type": "object",
"properties": {
"markdown": {
"type": "string",
"description": "Full Markdown document as one UTF-8 string (the entire source, not a summary)."
},
"title": {
"type": "string",
"description": "Shown in the viewer and link previews. Defaults to fileName without .md."
},
"fileName": {
"type": "string",
"description": "Upload filename, must end in .md. Default document.md."
},
"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."
},
"groupId": {
"type": "number",
"description": "File the document in this group instead of the default group (needs an API key)."
}
},
"required": [
"markdown"
]
}🟢postmd_get_document(docCode)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"docCode": {
"type": "string",
"description": "Document code, e.g. P-123-456-789."
}
},
"required": [
"docCode"
]
}🟢postmd_get_document_raw(docCode, password)
Get the stored Markdown source of a document. Public — no API key needed. Password-protected documents need `password`.
Eingabe-Schema
{
"type": "object",
"properties": {
"docCode": {
"type": "string"
},
"password": {
"type": "string",
"description": "Plain document password, if the document has one."
}
},
"required": [
"docCode"
]
}🔴postmd_update_document(docCode, markdown, title, fileName, password, ...)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"docCode": {
"type": "string"
},
"markdown": {
"type": "string",
"description": "Full new Markdown body as one UTF-8 string. Omit if only metadata changes."
},
"title": {
"type": "string"
},
"fileName": {
"type": "string",
"description": "Upload filename when replacing content. Default document.md."
},
"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."
},
"currentPassword": {
"type": "string",
"description": "Current password to authenticate if the document is password-protected."
},
"clearPassword": {
"type": "boolean",
"description": "true removes the password."
},
"notesOnReplace": {
"type": "string",
"enum": [
"keep",
"abort"
],
"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."
}
},
"required": [
"docCode"
]
}🔴postmd_delete_document(docCode, password)
Delete a document. Password-protected documents require the password or the owner's API key; documents without a password can be deleted by anyone.
Eingabe-Schema
{
"type": "object",
"properties": {
"docCode": {
"type": "string"
},
"password": {
"type": "string",
"description": "Document password if the document has one and you are not authenticated as its owner."
}
},
"required": [
"docCode"
]
}Community
Nachweis