1+ {
2+ "name" : " @mcp/mermaid-server" ,
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+ },
14+ "license" : " MIT" ,
15+ "categories" : [
16+ " Media Creation" ,
17+ " Dev Tools"
18+ ],
19+ "tags" : [
20+ " mcp" ,
21+ " mcp-server" ,
22+ " mermaid"
23+ ],
24+ "arguments" : {
25+ "API_KEY" : {
26+ "description" : " The API KEY of AI platform, for example `sk-xxxx` of OpenAI." ,
27+ "required" : true ,
28+ "example" : " sk-xxxx"
29+ },
30+ "API_BASE" : {
31+ "description" : " The API ENDPOINT of AI platform, default is `https://api.openai.com/v1`." ,
32+ "required" : false ,
33+ "example" : " https://api.openai.com/v1"
34+ },
35+ "PORT" : {
36+ "description" : " The port number for the server to listen on." ,
37+ "required" : false ,
38+ "example" : " 2333"
39+ }
40+ },
41+ "tools" : [
42+ {
43+ "name" : " run" ,
44+ "description" : " Generate mermaid code and render diagram." ,
45+ "inputSchema" : {
46+ "type" : " object" ,
47+ "properties" : {
48+ "prompt" : {
49+ "type" : " string" ,
50+ "description" : " The natural language prompt describing the diagram to be generated."
51+ }
52+ },
53+ "required" : [
54+ " prompt"
55+ ]
56+ }
57+ }
58+ ],
59+ "resources" : [],
60+ "prompts" : [],
61+ "installations" : {
62+ "npm" : {
63+ "type" : " npm" ,
64+ "command" : " npx" ,
65+ "args" : [
66+ " -y" ,
67+ " @mcp/mermaid-server"
68+ ],
69+ "description" : " Run the server directly using npx." ,
70+ "recommended" : true
71+ },
72+ "docker" : {
73+ "type" : " docker" ,
74+ "command" : " docker" ,
75+ "args" : [
76+ " run" ,
77+ " -it" ,
78+ " --rm" ,
79+ " -p" ,
80+ " 2333:2333" ,
81+ " -e" ,
82+ " API_KEY=YOUR_API_KEY" ,
83+ " hustcc/mcp-mermaid"
84+ ],
85+ "description" : " Run the server using Docker."
86+ }
87+ },
88+ "examples" : [
89+ {
90+ "title" : " Flowchart Example" ,
91+ "description" : " Generate a flowchart for a login process with username and password." ,
92+ "prompt" : " flowchart for login with username and password"
93+ },
94+ {
95+ "title" : " Sequence Diagram Example" ,
96+ "description" : " Generate a sequence diagram showing the interaction between a user, a browser, and a server." ,
97+ "prompt" : " sequence diagram for user login in browser and server"
98+ }
99+ ],
100+ "is_official" : false ,
101+ "is_archived" : false ,
102+ "docker_url" : " https://hub.docker.com/r/hustcc/mcp-mermaid"
103+ }
0 commit comments