Sailor MCP Server

Sailor combines a beautiful web interface with an MCP (Model Context Protocol) server for generating and rendering Mermaid diagrams. Use the web UI

Remote serverstreamable-httpPython

What is the Sailor MCP server?

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.

What Sailor does

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.

Tools it exposes

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 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

Installing the sailor mcp server

The 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.

Where it fits

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.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • With 10 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Sailor.
  • Maintained by aj-geddes, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the sailor mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
validate_and_render_mermaidValidate and render Mermaid code as an image. Options: return_image=true for inline display, return_base64_text=true for saveable base64
get_diagramRetrieve a rendered diagram by file ID. Use as_base64_text=true to get saveable base64
request_mermaid_generationRequest AI to generate Mermaid diagram code based on your description
get_mermaid_examplesGet examples of different Mermaid diagram types by category or complexity
get_diagram_templateGet customizable templates for quick diagram generation
get_syntax_helpGet syntax reference and help for specific diagram types
analyze_diagram_codeAnalyze Mermaid code and provide improvement suggestions
suggest_diagram_improvementsGet targeted suggestions for improving existing diagrams
health_checkCheck server health and get status information
server_statusGet detailed server status and metrics

How to install the Sailor MCP server

{
  "mcpServers": {
    "sailor": {
      "command": "uvx",
      "args": ["fastmcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Sailor to validate and render mermaid.
  • Use Sailor to get diagram.
  • Use Sailor to request mermaid generation.

Frequently asked questions

It connects Sailor to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (validate_and_render_mermaid, get_diagram, request_mermaid_generation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Sailor directly.