|
| 1 | +{ |
| 2 | + "name": "mcp-mermaid", |
| 3 | + "display_name": "MCP Mermaid Server", |
| 4 | + "description": "Generate mermaid diagram and chart with AI MCP dynamically.", |
| 5 | + "repository": { |
| 6 | + "type": "git", |
| 7 | + "url": "https://github.com/hustcc/mcp-mermaid" |
| 8 | + }, |
| 9 | + "homepage": "https://github.com/hustcc/mcp-mermaid", |
| 10 | + "author": { |
| 11 | + "name": "hustcc", |
| 12 | + }, |
| 13 | + "license": "MIT", |
| 14 | + "categories": [ |
| 15 | + "Dev Tools" |
| 16 | + ], |
| 17 | + "tags": [ |
| 18 | + "mermaid" |
| 19 | + ], |
| 20 | + "arguments": {}, |
| 21 | + "tools": [ |
| 22 | + { |
| 23 | + "name": "generate_mermaid_diagram", |
| 24 | + "description": "Generate mermaid diagram and chart with mermaid syntax dynamically. Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. The main purpose of Mermaid is to help documentation catch up with development.", |
| 25 | + "inputSchema": { |
| 26 | + "type": "object", |
| 27 | + "properties": { |
| 28 | + "mermaid": { |
| 29 | + "type": "string", |
| 30 | + "minLength": 1, |
| 31 | + "description": "The mermaid diagram syntax used to be generated, such as, graph TD;\nA-->B;\nA-->C;\nB-->D;\nC-->D;." |
| 32 | + }, |
| 33 | + "theme": { |
| 34 | + "type": "string", |
| 35 | + "enum": [ |
| 36 | + "default", |
| 37 | + "base", |
| 38 | + "forest", |
| 39 | + "dark", |
| 40 | + "neutral" |
| 41 | + ], |
| 42 | + "description": "Theme for the diagram (optional). Default is 'default'.", |
| 43 | + "default": "default" |
| 44 | + }, |
| 45 | + "backgroundColor": { |
| 46 | + "type": "string", |
| 47 | + "description": "Background color for the diagram (optional). Default is 'white'.", |
| 48 | + "default": "white" |
| 49 | + }, |
| 50 | + "outputType": { |
| 51 | + "type": "string", |
| 52 | + "enum": [ |
| 53 | + "png", |
| 54 | + "svg", |
| 55 | + "mermaid" |
| 56 | + ], |
| 57 | + "description": "The output type of the diagram. Can be 'png', 'svg' or 'mermaid'. Default is 'png'.", |
| 58 | + "default": "png" |
| 59 | + } |
| 60 | + }, |
| 61 | + "required": [ |
| 62 | + "mermaid" |
| 63 | + ] |
| 64 | + } |
| 65 | + } |
| 66 | + ], |
| 67 | + "resources": [], |
| 68 | + "prompts": [], |
| 69 | + "installations": { |
| 70 | + "npm": { |
| 71 | + "type": "npm", |
| 72 | + "command": "npx", |
| 73 | + "args": [ |
| 74 | + "-y", |
| 75 | + "mcp-mermaid" |
| 76 | + ], |
| 77 | + "description": "Run the server directly using npx.", |
| 78 | + "recommended": true |
| 79 | + } |
| 80 | + }, |
| 81 | + "examples": [ |
| 82 | + { |
| 83 | + "title": "Flowchart Example", |
| 84 | + "description": "Generate a flowchart for a login process with username and password.", |
| 85 | + "prompt": "flowchart for login with username and password" |
| 86 | + }, |
| 87 | + { |
| 88 | + "title": "Sequence Diagram Example", |
| 89 | + "description": "Generate a sequence diagram showing the interaction between a user, a browser, and a server.", |
| 90 | + "prompt": "sequence diagram for user login in browser and server" |
| 91 | + } |
| 92 | + ], |
| 93 | + "is_official": false, |
| 94 | + "is_archived": false, |
| 95 | + "docker_url": "https://hub.docker.com/r/hustcc/mcp-mermaid" |
| 96 | +} |
0 commit comments