Skip to main content
Glama
wwwzhouhui

Mermaid MCP Server

by wwwzhouhui

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoServer address (服务器地址)0.0.0.0
PORTNoServer port (服务器端口)8003
DEBUGNoDebug mode (调试模式)false
LOG_LEVELNoLog level (日志级别)INFO
REQUEST_TIMEOUTNoRequest timeout in seconds (请求超时时间(秒))30
DEVELOPMENT_MODENoDevelopment mode (开发模式)false
MERMAID_API_BASE_URLNoMermaid API address (Mermaid API 地址)https://mermaid.ink

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
convert_mermaid_to_image
将 Mermaid 图表代码转换为多种格式的图像(PNG、JPG、PDF、SVG)。 参数: mermaid_code: 要转换的 Mermaid 图表语法代码 output_format: 输出格式 - png、jpg、svg 或 pdf(默认:png) theme: 视觉主题 - default、dark、neutral 或 forest(默认:default) background_color: 背景颜色,十六进制代码(如 FF0000)或带 ! 前缀的命名颜色(如 !white) width: 图像宽度(像素,可选) height: 图像高度(像素,可选) 返回: 包含转换后图像数据和元数据的字典
validate_mermaid_syntax
通过尝试简单转换来验证 Mermaid 图表语法。 参数: mermaid_code: 要验证的 Mermaid 图表语法代码 返回: 包含验证结果的字典
get_supported_options
获取转换器支持的选项,如图表主题和输出格式。 返回: 一个包含支持的主题和格式列表的字典。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wwwzhouhui/mermaid_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server