postmd-mcp-server

v2.6.1
io.github.reinlainer/postmd-mcp-server Checked 1 day ago Published 2 months ago

Publish Markdown as a shareable web page, with document graphs

Values you need

VariableWhat it is
POSTMD_BASE_URLoptional Where PostMD runs. Defaults to https://postmd.turink.com; set it only for a self-hosted instance.
POSTMD_API_KEYoptional secret Needed only for managing documents and groups. Publishing and reading work without it.
POSTMD_DEBUGoptional Set to 1 for verbose diagnostics on stderr.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add postmd-mcp-server -- npx -y postmd-mcp-server@2.6.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "postmd-mcp-server": {
      "args": [
        "-y",
        "postmd-mcp-server@2.6.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postmd-mcp-server": {
      "args": [
        "-y",
        "postmd-mcp-server@2.6.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "postmd-mcp-server": {
      "args": [
        "-y",
        "postmd-mcp-server@2.6.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postmd-mcp-server]
command = "npx"
args = ["-y", "postmd-mcp-server@2.6.1"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http postmd-mcp-server https://postmd.turink.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "postmd-mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://postmd.turink.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postmd-mcp-server": {
      "url": "https://postmd.turink.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "postmd-mcp-server": {
      "type": "http",
      "url": "https://postmd.turink.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postmd-mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://postmd.turink.com/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: postmd_create_document, postmd_create_document_from_file, postmd_create_documents_from_files, postmd_get_document, postmd_get_document_raw, postmd_update_document, postmd_update_document_from_file, postmd_delete_document, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json