
Mermaid Online MCP — Share Links & Source
io.github.j-riverPublished by GitHub account j-riverv0.1.0Updated Nov 14, 2026
Mermaid Online MCP: encode share links and recover Mermaid diagram source locally.
The publisher's own server: Source
Overview
Local MCP server that encodes Mermaid diagram source into reversible share links and decodes share tokens back into source.
- What you can do
- Encode Mermaid source, with optional config and an explicit destination URL, into a reversible share token and link
- Decode a share token, fragment or HTTP(S) URL back into the original diagram source, optionally including stored config and extension data
- Serialize text only: no rendering, syntax validation, URL fetching or file access
- When to use it
- Useful when you want an assistant to produce or recover Mermaid share links for diagrams without leaving the chat, for example to round-trip source for verification. Not needed if you want diagrams rendered, validated or exported as images.
- Requirements
- Node.js 22+ and an MCP client that supports local stdio servers; typically launched with npx. No account, API key or network access is required by the server itself.
Installation
In SourceWeft
- Open Mermaid Online MCP — Share Links & Source in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Mermaid Online MCP — Mermaid Share Links & Source
Encode diagram source into share links and recover source from supported Mermaid share tokens, directly from a local MCP client. An independent open-source companion to Mermaid Online, not an official Mermaid.js server.
This MCP serializes text. It does not render diagrams, validate Mermaid syntax, fetch share URLs or read/write files. For a visual editing workflow, use the separate Mermaid Online editor, Mermaid-to-SVG export or Mermaid-to-PNG export.
Install
Requires Node.js 22+ and an MCP client supporting local stdio servers. Common configuration:
Each client has its own configuration location. On Windows, if a client cannot spawn npx, install the package and use node with the absolute installed src/cli.js path instead. Running the command without a client starts a protocol server waiting on stdin. Use npx -y [email protected] --help for human-readable help.
Two tools
Ask your agent:
Encode this flowchart into a share link using https://mermaidonline.org/ as the destination. Decode the result and verify the source round-trips. Do not render or open it.
Destination is explicit, not silently substituted. No tracking parameters are added. Decoding accepts a token, fragment, or HTTP(S) URL and never requests that address. includeState defaults to false to avoid unnecessarily echoing config and extension fields.
Limits and privacy
- Maximum source: 48,000 UTF-8 bytes; config: 8,000 UTF-8 bytes. Share tokens: 65,536 characters, decoded JSON: 65,536 UTF-8 bytes, container depth: 16. Results are limited to 128 KiB of JSON.
- A link contains the complete diagram state. It is reversible, not encrypted or access controlled. Compression is not redaction.
- Config is stored as data, not applied as renderer options. Treat recovered labels, links and directives as untrusted input to your editor.
- No URL fetching, uploads, file operations, telemetry, account, API key or paid backend calls. Your MCP client/model provider may still transmit or store tool input and output.
pako:/base64:interoperability does not mean every site accepts every editor field. Unsupported legacy/site-specific fragments are rejected; diagram syntax is not checked.
See share-link workflows and examples. Core implementation: mermaid-share-codec. Commercial website code remains separate.
Verify
Tests negotiate a real MCP stdio session and exercise Unicode/config round trips, explicit destinations, source-only results, malicious schemes, corrupt payloads and bounded decompression. Published in the official MCP Registry as io.github.j-river/mermaidonline, version 0.1.0. Public metadata links directly to Mermaid Online and the npm package. Source metadata is in server.json.
MIT. No customer diagrams or production credentials are included.
Source: README.md at commit a3dc556
Tools
0Version history
1- v0.1.0LatestNov 14, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Source integrations
Source
app.sourceOfficial publisher
Remote MCP endpoint from Source that gives an assistant access to marketing attribution and analytics for websites connected to Source.

ArxSource
Published by GitHub account nicolaiprodromov
Local MCP server that lets an assistant search arXiv, read papers section by section, follow citations, and find a paper's code.
SourceMed
io.sourcemed
SourceMed gives an assistant a curated library of source-verified clinical evidence: ask a question, browse shelves, and pull cited trial cards.

Spree Commerce: open-source B2B and marketplace ecommerce
Published by GitHub account spree
Spree's MCP server lets an AI assistant merchandise a Spree store's catalog, answer reporting questions and manage store setup in plain language.

PlushSource
Published by GitHub account quickman924
Local MCP server over a bundled directory of custom plush manufacturers, letting an assistant search, filter, compare and cite listings.