|
| 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" |
| 68 | + ], |
| 69 | + "description": "Run the server directly using npx.", |
| 70 | + "recommended": true |
| 71 | + } |
| 72 | + }, |
| 73 | + "examples": [ |
| 74 | + { |
| 75 | + "title": "Flowchart Example", |
| 76 | + "description": "Generate a flowchart for a login process with username and password.", |
| 77 | + "prompt": "flowchart for login with username and password" |
| 78 | + }, |
| 79 | + { |
| 80 | + "title": "Sequence Diagram Example", |
| 81 | + "description": "Generate a sequence diagram showing the interaction between a user, a browser, and a server.", |
| 82 | + "prompt": "sequence diagram for user login in browser and server" |
| 83 | + } |
| 84 | + ], |
| 85 | + "is_official": false, |
| 86 | + "is_archived": false, |
| 87 | + "docker_url": "https://hub.docker.com/r/hustcc/mcp-mermaid" |
| 88 | +} |
0 commit comments