Sailor combines a beautiful web interface with an MCP (Model Context Protocol) server for generating and rendering Mermaid diagrams. Use the web UI
Sailor mcp server connects Sailor to AI assistants that speak the Model Context Protocol. Sailor combines a beautiful web interface with an MCP (Model Context Protocol) server for generating and rendering Mermaid diagrams. Use the web UI for interactive diagram creation, or integrate with Claude Desktop for AI-powered diagram generation through natural language.
Sailor combines a beautiful web interface with an MCP (Model Context Protocol) server for generating and rendering Mermaid diagrams. Use the web UI for interactive diagram creation, or integrate with Claude Desktop for AI-powered diagram generation through natural language.
Once connected, the assistant can call these 10 tools directly:
validate_and_render_mermaid — Validate and render Mermaid code as an image. Options: return_image=true for inline display, return_base64_text=true for saveable base64get_diagram — Retrieve a rendered diagram by file ID. Use as_base64_text=true to get saveable base64request_mermaid_generation — Request AI to generate Mermaid diagram code based on your descriptionget_mermaid_examples — Get examples of different Mermaid diagram types by category or complexityget_diagram_template — Get customizable templates for quick diagram generationget_syntax_help — Get syntax reference and help for specific diagram typesanalyze_diagram_code — Analyze Mermaid code and provide improvement suggestionssuggest_diagram_improvements — Get targeted suggestions for improving existing diagramshealth_check — Check server health and get status informationserver_status — Get detailed server status and metricsThe server is distributed via PyPI as fastmcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Sailor sits in that group, and the shape of its toolset — validate_and_render_mermaid, get_diagram, request_mermaid_generation among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| validate_and_render_mermaid | Validate and render Mermaid code as an image. Options: return_image=true for inline display, return_base64_text=true for saveable base64 |
| get_diagram | Retrieve a rendered diagram by file ID. Use as_base64_text=true to get saveable base64 |
| request_mermaid_generation | Request AI to generate Mermaid diagram code based on your description |
| get_mermaid_examples | Get examples of different Mermaid diagram types by category or complexity |
| get_diagram_template | Get customizable templates for quick diagram generation |
| get_syntax_help | Get syntax reference and help for specific diagram types |
| analyze_diagram_code | Analyze Mermaid code and provide improvement suggestions |
| suggest_diagram_improvements | Get targeted suggestions for improving existing diagrams |
| health_check | Check server health and get status information |
| server_status | Get detailed server status and metrics |
{
"mcpServers": {
"sailor": {
"command": "uvx",
"args": ["fastmcp"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.