# Mermaid Chart MCP server

> Draw, find, save, update and repair Mermaid diagrams in your Mermaid Chart account by asking in plain English.

## Server URL

`https://chatgpt.mermaid.ai/anthropic/mcp` (Streamable HTTP)

- Sign-in: No account needed
- Connect in RevampKey: https://revampkey.com/marketplace/mermaid-chart

## Agent skills (3)

- [Mermaid Chart connector essentials with AI](https://revampkey.com/marketplace/mermaid-chart/skills/essentials.md): Shows Mermaid diagrams in the conversation, and saves, lists or repairs them in your Mermaid.ai account when you sign in. It asks before changing anything in your account.
- [Mermaid Chart Diagram Drafting Assistant with AI: Draw, Review and Save](https://revampkey.com/marketplace/mermaid-chart/skills/diagram-draft-and-publish.md): Turns a described process, sequence or structure into valid Mermaid code, renders it for review, and saves it to your Mermaid Chart account only after you approve it.
- [Mermaid Chart Diagram Library Audit with AI](https://revampkey.com/marketplace/mermaid-chart/skills/diagram-library-audit.md): Reviews your saved Mermaid Chart diagrams for broken syntax, misleading titles and duplicates, then proposes a cleanup plan. It changes nothing until you approve each action.

All skills: https://revampkey.com/marketplace/mermaid-chart/skills.md

Mermaid Chart is a diagram tool built around Mermaid, an open-source way to describe diagrams as text. You can prompt it in plain language, upload a document, paste a transcript, or write Mermaid code and watch the diagram build. Developers, data engineers, analysts, educators, consultants and project managers use it to map systems, workflows and plans. It is made by Mermaid Chart Inc, from the team behind Mermaid.js.

Connect it from the Connectors tab in RevampKey and you can work with your diagrams by asking. The agent turns your description into Mermaid code and shows the diagram in an interactive view, with a copy button and a repair option for syntax errors. If you sign in to your Mermaid.ai account, it can also list your saved diagrams, open one from its link, and save or update diagrams there.

A typical session: you describe a release process, the agent draws it as a flowchart, and you ask it to save the result under a title you choose. Later, you paste the link to that diagram, and the agent shows you its title and code. Every change to a saved diagram waits for your approval before it happens.

## What you can do

### Turn meeting notes into a sequence diagram

After a vendor call, you paste your notes and ask for a sequence diagram of who sends what and when. The agent drafts Mermaid code and shows the diagram in the widget. You can copy the code from there. If you want it kept, you approve a save to your Mermaid.ai account.

### Fix code that shows a syntax error

A colleague sends you Mermaid code, but it fails to render. You give the agent the code and the error message from validation. The agent uses repair to correct the syntax and shows the fixed diagram. Each successful repair uses AI credits from your Mermaid Chart account.

### Update a saved architecture diagram

You ask the agent to list your saved diagrams and find the architecture one. It opens the diagram and reads its code. You describe a new payment service, and the agent drafts the change. Only after you approve does it update the saved diagram, which overwrites the old diagram data.

## Things to ask

- Draw a flowchart of our customer refund steps and show it to me.
- List my saved Mermaid diagrams with their titles.
- Open this Mermaid Chart link and tell me what the diagram shows: [paste link]
- Save this sequence diagram to my Mermaid account as Login flow.
- This Mermaid code gives a syntax error. Repair it and show me the fix.

## What the agent can do

### Drawing diagrams

Describe a process, system or plan and get it drawn as Mermaid code, rendered in an interactive widget. You can copy the code with one click. Showing a diagram does not save it to your account.

`display_mermaid`

### Your saved diagrams

After you sign in, list the titles of your saved diagrams with a total count. Paste a Mermaid Chart diagram link to read its title and code. Use this to find a diagram before you ask for changes.

`list_personal_diagrams`, `get_diagram_by_url`

### Saving and updating

Save a new diagram to your Mermaid.ai account with an optional title. Update an existing diagram with new code and an optional new title. Updating overwrites the old diagram data, so the agent asks first.

`save_diagram`, `update_diagram`

### Repairing invalid code

Give the agent Mermaid code that fails validation, along with the error message. It attempts an AI repair and returns corrected diagram code. Successful repairs use AI credits. Requires sign-in.

`repair_diagram`

### Account sign-in

Starts the sign-in to your Mermaid.ai account. Once you are signed in, the saved-diagram and repair tools can run. Signing in again has the same effect as signing in once.

`sign_in`

## FAQ

### What do I need to connect Mermaid Chart to RevampKey?

Add Mermaid Chart from the Connectors tab in RevampKey. You can show diagrams right away. To list, open, save, update or repair diagrams in your Mermaid.ai account, you sign in to that account first. The agent can start the sign-in for you.

### What can the agent do in Mermaid Chart, and what can't it do?

It can draft diagrams from your descriptions, show them, list and open your saved diagrams, save new ones, update existing ones, and repair invalid code. The connector has no tool for sharing, exporting or deleting diagrams, so the agent cannot do those things.

### Will the agent change my diagrams without asking?

No. The agent asks before it changes anything. Saving adds a new diagram to your account. Updating overwrites the existing diagram data, so read the proposed change before you approve it. Check the agent's answers before you rely on them.

### How is this different from the open-source Mermaid.js library?

Mermaid.js is the open-source library, and Mermaid Chart is built by the team behind it. This connector works with your Mermaid.ai account, where your saved diagrams live. Diagrams shown in the chat are drawn with the Mermaid library in an interactive widget.

### What is the Mermaid Chart MCP server URL?

The Mermaid Chart MCP server URL is https://chatgpt.mermaid.ai/anthropic/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the Mermaid Chart MCP server authenticate?

It needs no account or key.

### What can an AI agent do with the Mermaid Chart MCP server?

It exposes 7 tools: 6 that read and 1 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Mermaid Chart?

Yes. 3 SKILL.md playbooks teach an agent how to do real Mermaid Chart work step by step. RevampKey installs them when you connect Mermaid Chart; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (7)

- `display_mermaid`
- `get_diagram_by_url`
- `list_personal_diagrams`
- `repair_diagram`
- `save_diagram`
- `sign_in`
- `update_diagram` (changes data)

## Details

- Maker: Mermaid Chart Inc
- Setup: Connect from the app
- Category: Creative, Productivity
- Documentation: https://mermaid.ai/docs/ai/mcp-apps-server/v2

Page: https://revampkey.com/marketplace/mermaid-chart
