Mermaid Online MCP — Share Links & Source

v0.1.0
io.github.j-river/mermaidonline Checked 1 day ago Published 20 days ago

Mermaid Online MCP: encode share links and recover Mermaid diagram source locally.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

encode_mermaid_share Encode Mermaid share state

Encode source and optional config into a bounded pako: token. Optionally create a share URL for an explicitly supplied HTTP(S) baseUrl, without credentials or an existing fragment. Does not validate syntax or open the destination. The token is reversible and contains the source.

ParameterTypeDescription
code *stringMermaid source text. Syntax is not validated and nothing is rendered.
baseUrlstring
mermaidConfigstringOptional Mermaid config as a JSON object string; stored as untrusted data, never applied here.

decode_mermaid_share Recover Mermaid source from a share link

Recover Mermaid source from a supported pako:/base64: share token, fragment or HTTP(S) URL without fetching it. Whole-state mode preserves extension fields as untrusted JSON. Unsupported formats and oversized expansion are rejected. No syntax validation or rendering.

ParameterTypeDescription
share *stringpako:/base64: token, fragment or HTTP(S) URL. Parsed locally, never fetched.
includeStateboolean