Mermaid Online MCP — Share Links & Source MCP Server
Mermaid Online MCP: encode share links and recover Mermaid diagram source locally.
Mermaid Online MCP — Share Links & Source scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 2 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 81 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
76/100 for listing completeness. Lost points: short README, 1 of 2 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "j-river-mermaidonline-mcp": { "command": "npx", "args": [ "-y", "mermaidonline-mcp@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools2Tool docs quality grade D
All capabilitiesshare, optional includeState
code, optional mermaidConfig JSON string and explicit baseUrl
About
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:
{"mcpServers":{"mermaidonline":{"command":"npx","args":["-y","mermaidonline-mcp@0.1.0"]}}}
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 mermaidonline-mcp@0.1.0 --help for human-readable help.
Two tools
| Tool | Arguments | Result |
|---|---|---|
encode_mermaid_share | code, optional mermaidConfig JSON string and explicit baseUrl | Reversible pako: token and optional URL |
decode_mermaid_share | share, optional includeState | Original source and optionally untrusted extension/config data |
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.
{"code":"flowchart LR\n A[Write] --> B[Share]\n","baseUrl":"https://mermaidonline.org/"}
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
npm ci --ignore-scripts
npm run check
npm run audit:public
npm pack --dry-run
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.
Frequently asked questions
What is Mermaid Online MCP — Share Links & Source MCP Server?
Mermaid Online MCP: encode share links and recover Mermaid diagram source locally.
How do I install Mermaid Online MCP — Share Links & Source MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Mermaid Online MCP — Share Links & Source MCP Server runs locally from the npm package mermaidonline-mcp with the command npx -y mermaidonline-mcp@0.1.0.
Is Mermaid Online MCP — Share Links & Source MCP Server free and open source?
Yes. Mermaid Online MCP — Share Links & Source MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Mermaid Online MCP — Share Links & Source MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Mermaid Online MCP — Share Links & Source MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Mermaid Online MCP — Share Links & Source MCP Server provide?
Mermaid Online MCP — Share Links & Source MCP Server provides 2 tools: decode_mermaid_share and encode_mermaid_share. See the full tool list for descriptions and parameters.
How is Mermaid Online MCP — Share Links & Source MCP Server's trust score calculated?
Mermaid Online MCP — Share Links & Source MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.