Mermaid MCP Server logo

Mermaid MCP Server

by longjianjiang

The Mermaid MCP Server implements the Model Context Protocol (MCP), providing an interface for LLM applications to integrate with mermaid.js visualizations. It offers a secure and robust way to generate mermaid diagrams.

View on GitHub

Last updated: N/A

<server_id>@longjianjiang/mermaid-mcp-server</server_id> <server_name>Mermaid MCP Server</server_name> <readme> Mermaid MCP Server

Introduction

Welcome to the official README for the Mermaid MCP Server. This server implements the Model Context Protocol (MCP), providing an interface for LLM applications to integrate with mermaid.js visualizations.

Features

  • Secure Interface: A secure and robust interface for generating mermaid diagrams.
  • Compliant: Fully compliant with the MCP 1.0 specification.
  • Optimized: Designed with performance and scalability in mind.
  • Extensible: Easily extend with additional tools and resources.

Installing via Smithery

To install Mermaid MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @longjianjiang/mermaid-mcp-server --client claude

Installation

  1. Clone this repository.
  2. Run npm install to install dependencies.
  3. Execute npm start to start the server.

Usage

  1. Connect your LLM application to the running server.
  2. Use MCP methods such as tools/call and resources/read to interact with the server.
  3. Generate beautiful diagrams using native mermaid syntax.

Configuration

Adjust the config.json file to configure options like server port and path restrictions.

Contributing

We welcome contributions! Please read the CONTRIBUTING.md file for instructions on submitting changes and improvements.

License

This software is released under the MIT License. See LICENSE file for more details. </readme>