postmd-mcp-server
Publish Markdown as a shareable web page, with document graphs
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"postmd-mcp-server": {
"command": "npx",
"args": [
"postmd-mcp-server"
]
}
}
}Paquetes ejecutables
2.6.0stdioPuntos de conexión remotos
https://postmd.turink.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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`.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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"
]
}Comunidad
Evidencia